Class: FHIR::DSTU2::Encounter::Hospitalization
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Encounter.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Hospitalization.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Hospitalization.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Hospitalization.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'preAdmissionIdentifier' => { 'type' => 'Identifier', 'path' => 'Hospitalization.preAdmissionIdentifier', 'min' => 0, 'max' => 1 }, 'origin' => { 'type' => 'Reference', 'path' => 'Hospitalization.origin', 'min' => 0, 'max' => 1 }, 'admitSource' => { 'valid_codes' => { 'http://hl7.org/fhir/admit-source' => ['hosp-trans', 'emd', 'outp', 'born', 'gp', 'mp', 'nursing', 'psych', 'rehab', 'other'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.admitSource', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-admit-source' } }, 'admittingDiagnosis' => { 'type' => 'Reference', 'path' => 'Hospitalization.admittingDiagnosis', 'min' => 0, 'max' => Float::INFINITY }, 'reAdmission' => { 'type' => 'CodeableConcept', 'path' => 'Hospitalization.reAdmission', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'dietPreference' => { 'valid_codes' => { 'http://hl7.org/fhir/diet' => ['vegetarian', 'dairy-free', 'nut-free', 'gluten-free', 'vegan', 'halal', 'kosher'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.dietPreference', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-diet' } }, 'specialCourtesy' => { 'valid_codes' => { 'http://hl7.org/fhir/v3/EncounterSpecialCourtesy' => ['EXT', 'NRM', 'PRF', 'STF', 'VIP'], 'http://hl7.org/fhir/v3/NullFlavor' => ['NI', 'INV', 'DER', 'OTH', 'NINF', 'PINF', 'UNC', 'MSK', 'NA', 'UNK', 'ASKU', 'NAV', 'NASK', 'QS', 'TRC', 'NP'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.specialCourtesy', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-special-courtesy' } }, 'specialArrangement' => { 'valid_codes' => { 'http://hl7.org/fhir/encounter-special-arrangements' => ['wheel', 'stret', 'int', 'att', 'dog'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.specialArrangement', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-special-arrangements' } }, 'destination' => { 'type' => 'Reference', 'path' => 'Hospitalization.destination', 'min' => 0, 'max' => 1 }, 'dischargeDisposition' => { 'valid_codes' => { 'http://hl7.org/fhir/discharge-disposition' => ['home', 'other-hcf', 'hosp', 'long', 'aadvice', 'exp', 'psy', 'rehab', 'oth'] }, 'type' => 'CodeableConcept', 'path' => 'Hospitalization.dischargeDisposition', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'preferred', 'uri' => 'http://hl7.org/fhir/ValueSet/encounter-discharge-disposition' } }, 'dischargeDiagnosis' => { 'type' => 'Reference', 'path' => 'Hospitalization.dischargeDiagnosis', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#admitSource ⇒ Object
0-1 CodeableConcept.
-
#admittingDiagnosis ⇒ Object
0-* [ Reference() ].
-
#destination ⇒ Object
0-1 Reference().
-
#dietPreference ⇒ Object
0-* [ CodeableConcept ].
-
#dischargeDiagnosis ⇒ Object
0-* [ Reference() ].
-
#dischargeDisposition ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#origin ⇒ Object
0-1 Reference().
-
#preAdmissionIdentifier ⇒ Object
0-1 Identifier.
-
#reAdmission ⇒ Object
0-1 CodeableConcept.
-
#specialArrangement ⇒ Object
0-* [ CodeableConcept ].
-
#specialCourtesy ⇒ 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?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#admitSource ⇒ Object
0-1 CodeableConcept
108 109 110 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 108 def admitSource @admitSource end |
#admittingDiagnosis ⇒ Object
0-* [ Reference() ]
109 110 111 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 109 def admittingDiagnosis @admittingDiagnosis end |
#destination ⇒ Object
0-1 Reference()
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 114 def destination @destination end |
#dietPreference ⇒ Object
0-* [ CodeableConcept ]
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 111 def dietPreference @dietPreference end |
#dischargeDiagnosis ⇒ Object
0-* [ Reference() ]
116 117 118 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 116 def dischargeDiagnosis @dischargeDiagnosis end |
#dischargeDisposition ⇒ Object
0-1 CodeableConcept
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 115 def dischargeDisposition @dischargeDisposition end |
#extension ⇒ Object
0-* [ Extension ]
104 105 106 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 104 def extension @extension end |
#id ⇒ Object
0-1 id
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 103 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
105 106 107 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 105 def modifierExtension @modifierExtension end |
#origin ⇒ Object
0-1 Reference()
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 107 def origin @origin end |
#preAdmissionIdentifier ⇒ Object
0-1 Identifier
106 107 108 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 106 def preAdmissionIdentifier @preAdmissionIdentifier end |
#reAdmission ⇒ Object
0-1 CodeableConcept
110 111 112 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 110 def reAdmission @reAdmission end |
#specialArrangement ⇒ Object
0-* [ CodeableConcept ]
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 113 def specialArrangement @specialArrangement end |
#specialCourtesy ⇒ Object
0-* [ CodeableConcept ]
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/Encounter.rb', line 112 def specialCourtesy @specialCourtesy end |