Class: FHIR::SpecimenDefinition::TypeTested::Container::Additive

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/SpecimenDefinition.rb

Constant Summary collapse

MULTIPLE_TYPES =
{
  'additive' => ['CodeableConcept', 'Reference']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Additive.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Additive.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Additive.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  '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'=>'Additive.additive[x]', 'min'=>1, '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'=>'Additive.additive[x]', 'min'=>1, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#additiveCodeableConceptObject

1-1 CodeableConcept



86
87
88
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 86

def additiveCodeableConcept
  @additiveCodeableConcept
end

#additiveReferenceObject

1-1 Reference(Substance)



87
88
89
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 87

def additiveReference
  @additiveReference
end

#extensionObject

0-* [ Extension ]



84
85
86
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 84

def extension
  @extension
end

#idObject

0-1 string



83
84
85
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 83

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



85
86
87
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 85

def modifierExtension
  @modifierExtension
end