Class: FHIR::SpecimenDefinition::TypeTested::Handling

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Handling.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Handling.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Handling.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'temperatureQualifier' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/handling-condition'=>['room', 'refrigerated', 'frozen']}, 'type'=>'CodeableConcept', 'path'=>'Handling.temperatureQualifier', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/handling-condition'}},
  'temperatureRange' => {'type'=>'Range', 'path'=>'Handling.temperatureRange', 'min'=>0, 'max'=>1},
  'maxDuration' => {'type'=>'Duration', 'path'=>'Handling.maxDuration', 'min'=>0, 'max'=>1},
  'instruction' => {'type'=>'string', 'path'=>'Handling.instruction', 'min'=>0, '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

#extensionObject

0-* [ Extension ]



120
121
122
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 120

def extension
  @extension
end

#idObject

0-1 string



119
120
121
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 119

def id
  @id
end

#instructionObject

0-1 string



125
126
127
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 125

def instruction
  @instruction
end

#maxDurationObject

0-1 Duration



124
125
126
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 124

def maxDuration
  @maxDuration
end

#modifierExtensionObject

0-* [ Extension ]



121
122
123
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 121

def modifierExtension
  @modifierExtension
end

#temperatureQualifierObject

0-1 CodeableConcept



122
123
124
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 122

def temperatureQualifier
  @temperatureQualifier
end

#temperatureRangeObject

0-1 Range



123
124
125
# File 'lib/fhir_models/fhir/resources/SpecimenDefinition.rb', line 123

def temperatureRange
  @temperatureRange
end