Class: FHIR::DSTU2::Specimen::Treatment

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Treatment.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Treatment.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Treatment.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'string', 'path'=>'Treatment.description', 'min'=>0, 'max'=>1},
  'procedure' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0373'=>['ACID', 'ALK', 'DEFB', 'FILT', 'LDLP', 'NEUT', 'RECA', 'UFIL']}, 'type'=>'CodeableConcept', 'path'=>'Treatment.procedure', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/specimen-treatment-procedure'}},
  'additive' => {'type'=>'Reference', 'path'=>'Treatment.additive', 'min'=>0, 'max'=>Float::INFINITY}
}

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::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#additiveObject

0-* [ Reference() ]



82
83
84
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 82

def additive
  @additive
end

#descriptionObject

0-1 string



80
81
82
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 80

def description
  @description
end

#extensionObject

0-* [ Extension ]



78
79
80
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 78

def extension
  @extension
end

#idObject

0-1 id



77
78
79
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 77

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



79
80
81
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 79

def modifierExtension
  @modifierExtension
end

#procedureObject

0-1 CodeableConcept



81
82
83
# File 'lib/fhir_dstu2_models/fhir/resources/Specimen.rb', line 81

def procedure
  @procedure
end