Class: FHIR::Specimen::Container
- Defined in:
- lib/fhir_models/fhir/resources/Specimen.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'additive' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => {'type'=>'string', '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'=>['22566001', '463568005', '464527005', '464573007', '464784003', '464946000', '465046006', '465091002', '465141003', '465487000', '466164006', '466421006', '466447002', '466623002', '466637006', '466704003', '466844004', '466898000', '466930006', '467030004', '467131002', '467132009', '467141004', '467182004', '467330006', '467431009', '467499008', '467647004', '467697000', '467743009', '467967005', '467989009', '468076003', '468131000', '468200003', '468981005', '468999002', '469287008', '469322002', '469454007', '469822008', '470114007', '470547006', '470597005', '700855008', '700905004', '700906003', '700945008', '700955007', '700956008', '700957004', '701394007', '701516009', '701720006', '702120003', '702223006', '702224000', '702232008', '702244006', '702256007', '702264001', '702268003', '702269006', '702275002', '702276001', '702277005', '702278000', '702279008', '702280006', '702281005', '702282003', '702283008', '702284002', '702285001', '702286000', '702287009', '702288004', '702289007', '702290003', '702292006', '702293001', '702294007', '702295008', '702296009', '702297000', '702298005', '702299002', '702300005', '702301009', '702302002', '702303007', '702304001', '702305000', '702306004', '702307008', '702308003', '702309006', '702310001', '704866005', '704921002', '706042001', '706044000', '706045004', '706046003', '706047007', '706048002', '706049005', '706050005', '706051009', '706052002', '706053007', '706054001', '706055000', '706056004', '706057008', '706058003', '706067003', '706070004', '706071000', '712485008', '713951005', '714731008', '718301008', '718302001']}, '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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/ValueSet/v2-0371'}}, 'additiveReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Substance'], 'type'=>'Reference', 'path'=>'Container.additive[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#additiveCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#additiveReference ⇒ Object
0-1 Reference(Substance).
-
#capacity ⇒ Object
0-1 Quantity.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#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, #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
#additiveCodeableConcept ⇒ Object
0-1 CodeableConcept
128 129 130 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 128 def additiveCodeableConcept @additiveCodeableConcept end |
#additiveReference ⇒ Object
0-1 Reference(Substance)
129 130 131 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 129 def additiveReference @additiveReference end |
#capacity ⇒ Object
0-1 Quantity
126 127 128 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 126 def capacity @capacity end |
#description ⇒ Object
0-1 string
124 125 126 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 124 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
121 122 123 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 121 def extension @extension end |
#id ⇒ Object
0-1 string
120 121 122 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 120 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
123 124 125 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 123 def identifier @identifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
122 123 124 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 122 def modifierExtension @modifierExtension end |
#specimenQuantity ⇒ Object
0-1 Quantity
127 128 129 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 127 def specimenQuantity @specimenQuantity end |
#type ⇒ Object
0-1 CodeableConcept
125 126 127 |
# File 'lib/fhir_models/fhir/resources/Specimen.rb', line 125 def type @type end |