Class: FHIR::Contract::Term::Action::Subject
- Defined in:
- lib/fhir_models/fhir/resources/Contract.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Subject.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Subject.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Subject.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'=>'Subject.reference', 'min'=>1, 'max'=>Float::INFINITY}, 'role' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/contractactorrole'=>['practitioner', 'patient']}, 'type'=>'CodeableConcept', 'path'=>'Subject.role', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/contract-actorrole'}} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#reference ⇒ Object
1-* [ Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Device|Group|Organization) ].
-
#role ⇒ Object
0-1 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, #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
#extension ⇒ Object
0-* [ Extension ]
404 405 406 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 404 def extension @extension end |
#id ⇒ Object
0-1 string
403 404 405 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 403 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
405 406 407 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 405 def modifierExtension @modifierExtension end |
#reference ⇒ Object
1-* [ Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Device|Group|Organization) ]
406 407 408 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 406 def reference @reference end |
#role ⇒ Object
0-1 CodeableConcept
407 408 409 |
# File 'lib/fhir_models/fhir/resources/Contract.rb', line 407 def role @role end |