Class: FHIR::STU3::Contract::Agent
- Defined in:
- lib/fhir_stu3_models/fhir/resources/Contract.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Agent.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Agent.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Agent.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'actor' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Contract', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Substance'], 'type'=>'Reference', 'path'=>'Agent.actor', 'min'=>1, 'max'=>1}, 'role' => {'valid_codes'=>{'http://www.hl7.org/fhir/contractactorrole'=>['practitioner', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'Agent.role', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-actorrole'}} }
Instance Attribute Summary collapse
-
#actor ⇒ Object
1-1 Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|Substance).
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#role ⇒ Object
0-* [ CodeableConcept ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::STU3::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model
Instance Attribute Details
#actor ⇒ Object
1-1 Reference(Contract|Device|Group|Location|Organization|Patient|Practitioner|RelatedPerson|Substance)
63 64 65 |
# File 'lib/fhir_stu3_models/fhir/resources/Contract.rb', line 63 def actor @actor end |
#extension ⇒ Object
0-* [ Extension ]
61 62 63 |
# File 'lib/fhir_stu3_models/fhir/resources/Contract.rb', line 61 def extension @extension end |
#id ⇒ Object
0-1 string
60 61 62 |
# File 'lib/fhir_stu3_models/fhir/resources/Contract.rb', line 60 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
62 63 64 |
# File 'lib/fhir_stu3_models/fhir/resources/Contract.rb', line 62 def modifierExtension @modifierExtension end |
#role ⇒ Object
0-* [ CodeableConcept ]
64 65 66 |
# File 'lib/fhir_stu3_models/fhir/resources/Contract.rb', line 64 def role @role end |