Class: FHIR::DSTU2::FamilyMemberHistory::Condition
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'onset' => ['Quantity', 'Range', 'Period', 'string'] }
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Condition.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Condition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Condition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-code'}}, 'outcome' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Condition.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/condition-outcome'}}, 'onsetQuantity' => {'type'=>'Quantity', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, 'onsetRange' => {'type'=>'Range', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, 'onsetPeriod' => {'type'=>'Period', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, 'onsetString' => {'type'=>'string', 'path'=>'Condition.onset[x]', 'min'=>0, 'max'=>1}, 'note' => {'type'=>'Annotation', 'path'=>'Condition.note', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#code ⇒ Object
1-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-1 Annotation.
-
#onsetPeriod ⇒ Object
0-1 Period.
-
#onsetQuantity ⇒ Object
0-1 Quantity.
-
#onsetRange ⇒ Object
0-1 Range.
-
#onsetString ⇒ Object
0-1 string.
-
#outcome ⇒ 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
#code ⇒ Object
1-1 CodeableConcept
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 69 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 67 def extension @extension end |
#id ⇒ Object
0-1 id
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 66 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 68 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-1 Annotation
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 75 def note @note end |
#onsetPeriod ⇒ Object
0-1 Period
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 73 def onsetPeriod @onsetPeriod end |
#onsetQuantity ⇒ Object
0-1 Quantity
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 71 def onsetQuantity @onsetQuantity end |
#onsetRange ⇒ Object
0-1 Range
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 72 def onsetRange @onsetRange end |
#onsetString ⇒ Object
0-1 string
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 74 def onsetString @onsetString end |
#outcome ⇒ Object
0-1 CodeableConcept
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 70 def outcome @outcome end |