Class: FHIR::Encounter::ClassHistory
- Defined in:
- lib/fhir_models/fhir/resources/Encounter.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'ClassHistory.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ClassHistory.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ClassHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'class' => {'local_name'=>'local_class', 'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-ActCode'=>['AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'OBSENC', 'PRENC', 'SS', 'VR']}, 'type'=>'Coding', 'path'=>'ClassHistory.class', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'}}, 'period' => {'type'=>'Period', 'path'=>'ClassHistory.period', 'min'=>1, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#local_class ⇒ Object
1-1 Coding.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#period ⇒ Object
1-1 Period.
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 ]
76 77 78 |
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 76 def extension @extension end |
#id ⇒ Object
0-1 string
75 76 77 |
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 75 def id @id end |
#local_class ⇒ Object
1-1 Coding
78 79 80 |
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 78 def local_class @local_class end |
#modifierExtension ⇒ Object
0-* [ Extension ]
77 78 79 |
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 77 def modifierExtension @modifierExtension end |
#period ⇒ Object
1-1 Period
79 80 81 |
# File 'lib/fhir_models/fhir/resources/Encounter.rb', line 79 def period @period end |