Class: FHIR::DSTU2::Observation::Related
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Observation.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Related.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Related.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Related.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'type' => { 'valid_codes' => { 'http://hl7.org/fhir/observation-relationshiptypes' => ['has-member', 'derived-from', 'sequel-to', 'replaces', 'qualified-by', 'interfered-by'] }, 'type' => 'code', 'path' => 'Related.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/observation-relationshiptypes' } }, 'target' => { 'type' => 'Reference', 'path' => 'Related.target', 'min' => 1, 'max' => 1 } }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#target ⇒ Object
1-1 Reference().
-
#type ⇒ Object
0-1 code.
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
#extension ⇒ Object
0-* [ Extension ]
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/Observation.rb', line 94 def extension @extension end |
#id ⇒ Object
0-1 id
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/Observation.rb', line 93 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/Observation.rb', line 95 def modifierExtension @modifierExtension end |
#target ⇒ Object
1-1 Reference()
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/Observation.rb', line 97 def target @target end |
#type ⇒ Object
0-1 code
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/Observation.rb', line 96 def type @type end |