Class: FHIR::Contract::Term::Offer::Party

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/Contract.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Party.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Party.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Party.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'reference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Party.reference', 'min'=>1, 'max'=>Float::INFINITY},
  'role' => {'valid_codes'=>{'http://hl7.org/fhir/contract-party-role'=>['flunky']}, 'type'=>'CodeableConcept', 'path'=>'Party.role', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-party-role'}}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#extensionObject

0-* [ Extension ]



172
173
174
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 172

def extension
  @extension
end

#idObject

0-1 string



171
172
173
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 171

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



173
174
175
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 173

def modifierExtension
  @modifierExtension
end

#referenceObject

1-* [ Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Device|Group|Organization) ]



174
175
176
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 174

def reference
  @reference
end

#roleObject

1-1 CodeableConcept



175
176
177
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 175

def role
  @role
end