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

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', '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, #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 ]



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

def extension
  @extension
end

#foodTypeObject

0-1 CodeableConcept



90
91
92
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 90

def foodType
  @foodType
end

#idObject

0-1 string



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

def id
  @id
end

#modifierObject

0-1 CodeableConcept



89
90
91
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 89

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



88
89
90
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 88

def modifierExtension
  @modifierExtension
end