Class: FHIR::NutritionOrder::OralDiet
- Defined in:
- lib/fhir_models/fhir/resources/NutritionOrder.rb
Defined Under Namespace
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'OralDiet.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'OralDiet.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'OralDiet.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['38903004', '50712000', '56948003', '61420007', '182954008', '182955009', '182956005', '182957001', '182958006', '182959003', '182960008', '183028005', '223456000', '225373002', '225374008', '229912004', '229913009', '229914003', '229915002', '229916001', '229917005', '284071006', '289133003', '310244003', '361231003', '386261001', '404919001', '422972009', '425458000', '1151000175103']}, 'type'=>'CodeableConcept', 'path'=>'OralDiet.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diet-type'}}, 'schedule' => {'type'=>'Timing', 'path'=>'OralDiet.schedule', 'min'=>0, 'max'=>Float::INFINITY}, 'nutrient' => {'type'=>'NutritionOrder::OralDiet::Nutrient', 'path'=>'OralDiet.nutrient', 'min'=>0, 'max'=>Float::INFINITY}, 'texture' => {'type'=>'NutritionOrder::OralDiet::Texture', 'path'=>'OralDiet.texture', 'min'=>0, 'max'=>Float::INFINITY}, 'fluidConsistencyType' => {'valid_codes'=>{'http://snomed.info/sct'=>['439031000124108', '439021000124105', '439041000124103', '439081000124109']}, 'type'=>'CodeableConcept', 'path'=>'OralDiet.fluidConsistencyType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/consistency-type'}}, 'instruction' => {'type'=>'string', 'path'=>'OralDiet.instruction', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#fluidConsistencyType ⇒ Object
0-* [ CodeableConcept ].
-
#id ⇒ Object
0-1 string.
-
#instruction ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#nutrient ⇒ Object
0-* [ NutritionOrder::OralDiet::Nutrient ].
-
#schedule ⇒ Object
0-* [ Timing ].
-
#texture ⇒ Object
0-* [ NutritionOrder::OralDiet::Texture ].
-
#type ⇒ Object
0-* [ CodeableConcept ].
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#extension ⇒ Object
0-* [ Extension ]
94 95 96 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 94 def extension @extension end |
#fluidConsistencyType ⇒ Object
0-* [ CodeableConcept ]
100 101 102 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 100 def fluidConsistencyType @fluidConsistencyType end |
#id ⇒ Object
0-1 string
93 94 95 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 93 def id @id end |
#instruction ⇒ Object
0-1 string
101 102 103 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 101 def instruction @instruction end |
#modifierExtension ⇒ Object
0-* [ Extension ]
95 96 97 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 95 def modifierExtension @modifierExtension end |
#nutrient ⇒ Object
0-* [ NutritionOrder::OralDiet::Nutrient ]
98 99 100 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 98 def nutrient @nutrient end |
#schedule ⇒ Object
0-* [ Timing ]
97 98 99 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 97 def schedule @schedule end |
#texture ⇒ Object
0-* [ NutritionOrder::OralDiet::Texture ]
99 100 101 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 99 def texture @texture end |
#type ⇒ Object
0-* [ CodeableConcept ]
96 97 98 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 96 def type @type end |