Class: FHIR::Immunization::Reaction
- Defined in:
- lib/fhir_models/fhir/resources/Immunization.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Reaction.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Reaction.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Reaction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'date' => {'type'=>'dateTime', 'path'=>'Reaction.date', 'min'=>0, 'max'=>1}, 'detail' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Observation'], 'type'=>'Reference', 'path'=>'Reaction.detail', 'min'=>0, 'max'=>1}, 'reported' => {'type'=>'boolean', 'path'=>'Reaction.reported', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#date ⇒ Object
0-1 dateTime.
-
#detail ⇒ Object
0-1 Reference(Observation).
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#reported ⇒ Object
0-1 boolean.
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
#date ⇒ Object
0-1 dateTime
112 113 114 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 112 def date @date end |
#detail ⇒ Object
0-1 Reference(Observation)
113 114 115 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 113 def detail @detail end |
#extension ⇒ Object
0-* [ Extension ]
110 111 112 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 110 def extension @extension end |
#id ⇒ Object
0-1 string
109 110 111 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 109 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
111 112 113 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 111 def modifierExtension @modifierExtension end |
#reported ⇒ Object
0-1 boolean
114 115 116 |
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 114 def reported @reported end |