Class: FHIR::Immunization::Explanation
- Defined in:
- lib/fhir_models/fhir/resources/Immunization.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Explanation.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Explanation.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Explanation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'reason' => {'valid_codes'=>{'http://snomed.info/sct'=>['429060002', '281657000']}, 'type'=>'CodeableConcept', 'path'=>'Explanation.reason', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-reason'}}, 'reasonNotGiven' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActReason'=>['IMMUNE', 'MEDPREC', 'OSTOCK', 'PATOBJ'], 'http://snomed.info/sct'=>['171257003', '171265000', '171266004', '171267008', '171268003', '171269006', '171270007', '171271006', '171272004', '171280006', '171283008', '171285001', '171286000', '171291004', '171292006', '171293001', '268559007', '310839003', '310840001', '314768003', '314769006', '314936001', '407598009']}, 'type'=>'CodeableConcept', 'path'=>'Explanation.reasonNotGiven', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/no-immunization-reason'}} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#reason ⇒ Object
0-* [ CodeableConcept ].
-
#reasonNotGiven ⇒ 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, #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 ]
74 75 76 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 74 def extension @extension end |
#id ⇒ Object
0-1 string
73 74 75 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 73 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
75 76 77 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 75 def modifierExtension @modifierExtension end |
#reason ⇒ Object
0-* [ CodeableConcept ]
76 77 78 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 76 def reason @reason end |
#reasonNotGiven ⇒ Object
0-* [ CodeableConcept ]
77 78 79 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 77 def reasonNotGiven @reasonNotGiven end |