Class: FHIR::DSTU2::Specimen::Container
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Specimen.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'additive' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Container.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Container.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Container.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'Container.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'description' => { 'type' => 'string', 'path' => 'Container.description', 'min' => 0, 'max' => 1 }, 'type' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Container.type', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/specimen-container-type' } }, 'capacity' => { 'type' => 'Quantity', 'path' => 'Container.capacity', 'min' => 0, 'max' => 1 }, 'specimenQuantity' => { 'type' => 'Quantity', 'path' => 'Container.specimenQuantity', 'min' => 0, 'max' => 1 }, 'additiveCodeableConcept' => { 'valid_codes' => { 'http://hl7.org/fhir/v2/0371' => ['ACDA', 'ACDB', 'ACET', 'AMIES', 'BACTM', 'BF10', 'BOR', 'BOUIN', 'BSKM', 'C32', 'C38', 'CARS', 'CARY', 'CHLTM', 'CTAD', 'EDTK', 'EDTK15', 'EDTK75', 'EDTN', 'ENT', 'ENT+', 'F10', 'FDP', 'FL10', 'FL100', 'HCL6', 'HEPA', 'HEPL', 'HEPN', 'HNO3', 'JKM', 'KARN', 'KOX', 'LIA', 'M4', 'M4RT', 'M5', 'MICHTM', 'MMDTM', 'NAF', 'NAPS', 'NONE', 'PAGE', 'PHENOL', 'PVA', 'RLM', 'SILICA', 'SPS', 'SST', 'STUTM', 'THROM', 'THYMOL', 'THYO', 'TOLU', 'URETM', 'VIRTM', 'WEST'] }, 'type' => 'CodeableConcept', 'path' => 'Container.additive[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/v2-0371' } }, 'additiveReference' => { 'type' => 'Reference', 'path' => 'Container.additive[x]', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#additiveCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#additiveReference ⇒ Object
0-1 Reference().
-
#capacity ⇒ Object
0-1 Quantity.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#specimenQuantity ⇒ Object
0-1 Quantity.
-
#type ⇒ 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?, #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
#additiveCodeableConcept ⇒ Object
0-1 CodeableConcept
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 114 def additiveCodeableConcept @additiveCodeableConcept end |
#additiveReference ⇒ Object
0-1 Reference()
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 115 def additiveReference @additiveReference end |
#capacity ⇒ Object
0-1 Quantity
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 112 def capacity @capacity end |
#description ⇒ Object
0-1 string
110 111 112 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 110 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 107 def extension @extension end |
#id ⇒ Object
0-1 id
106 107 108 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 106 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
109 110 111 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 109 def identifier @identifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
108 109 110 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 108 def modifierExtension @modifierExtension end |
#specimenQuantity ⇒ Object
0-1 Quantity
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 113 def specimenQuantity @specimenQuantity end |
#type ⇒ Object
0-1 CodeableConcept
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 111 def type @type end |