Class: FHIR::DSTU2::NutritionOrder::OralDiet::Texture

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Texture.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Texture.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Texture.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'modifier' => { 'valid_codes' => { 'http://snomed.info/sct' => ['228053002', '439091000124107', '228049004', '441881000124103', '441761000124103', '441751000124100', '228059003', '441791000124106', '228055009', '228056005', '441771000124105', '228057001', '228058006', '228060008'] }, 'type' => 'CodeableConcept', 'path' => 'Texture.modifier', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/texture-code' } },
  'foodType' => { 'valid_codes' => { 'http://snomed.info/sct' => ['255620007', '28647000', '22836000', '72511004', '226760005', '226887002', '102263004', '74242007', '227415002', '264331002', '227518002', '44027008', '226529007', '227210005'] }, 'type' => 'CodeableConcept', 'path' => 'Texture.foodType', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/modified-foodtype' } }
}

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, #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

#extensionObject

0-* [ Extension ]



83
84
85
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 83

def extension
  @extension
end

#foodTypeObject

0-1 CodeableConcept



86
87
88
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 86

def foodType
  @foodType
end

#idObject

0-1 id



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

def id
  @id
end

#modifierObject

0-1 CodeableConcept



85
86
87
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 85

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



84
85
86
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 84

def modifierExtension
  @modifierExtension
end