Class: FHIR::DSTU2::AllergyIntolerance::Reaction
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'id', '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}, 'substance' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.substance', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/substance-code'}}, 'certainty' => {'valid_codes'=>{'http://hl7.org/fhir/reaction-event-certainty'=>['unlikely', 'likely', 'confirmed']}, 'type'=>'code', 'path'=>'Reaction.certainty', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/reaction-event-certainty'}}, 'manifestation' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.manifestation', 'min'=>1, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/manifestation-codes'}}, 'description' => {'type'=>'string', 'path'=>'Reaction.description', 'min'=>0, 'max'=>1}, 'onset' => {'type'=>'dateTime', 'path'=>'Reaction.onset', 'min'=>0, 'max'=>1}, 'severity' => {'valid_codes'=>{'http://hl7.org/fhir/reaction-event-severity'=>['mild', 'moderate', 'severe']}, 'type'=>'code', 'path'=>'Reaction.severity', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/reaction-event-severity'}}, 'exposureRoute' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Reaction.exposureRoute', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/route-codes'}}, 'note' => {'type'=>'Annotation', 'path'=>'Reaction.note', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#certainty ⇒ Object
0-1 code.
-
#description ⇒ Object
0-1 string.
-
#exposureRoute ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#manifestation ⇒ Object
1-* [ CodeableConcept ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-1 Annotation.
-
#onset ⇒ Object
0-1 dateTime.
-
#severity ⇒ Object
0-1 code.
-
#substance ⇒ 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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #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
#certainty ⇒ Object
0-1 code
57 58 59 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 57 def certainty @certainty end |
#description ⇒ Object
0-1 string
59 60 61 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 59 def description @description end |
#exposureRoute ⇒ Object
0-1 CodeableConcept
62 63 64 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 62 def exposureRoute @exposureRoute end |
#extension ⇒ Object
0-* [ Extension ]
54 55 56 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 54 def extension @extension end |
#id ⇒ Object
0-1 id
53 54 55 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 53 def id @id end |
#manifestation ⇒ Object
1-* [ CodeableConcept ]
58 59 60 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 58 def manifestation @manifestation end |
#modifierExtension ⇒ Object
0-* [ Extension ]
55 56 57 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 55 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-1 Annotation
63 64 65 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 63 def note @note end |
#onset ⇒ Object
0-1 dateTime
60 61 62 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 60 def onset @onset end |
#severity ⇒ Object
0-1 code
61 62 63 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 61 def severity @severity end |
#substance ⇒ Object
0-1 CodeableConcept
56 57 58 |
# File 'lib/fhir_dstu2_models/fhir/resources/AllergyIntolerance.rb', line 56 def substance @substance end |