Class: FHIR::DSTU2::NutritionOrder::OralDiet
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb
Defined Under Namespace
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', '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' => [] }, '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 id.
-
#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, #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
#extension ⇒ Object
0-* [ Extension ]
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 90 def extension @extension end |
#fluidConsistencyType ⇒ Object
0-* [ CodeableConcept ]
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 96 def fluidConsistencyType @fluidConsistencyType end |
#id ⇒ Object
0-1 id
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 89 def id @id end |
#instruction ⇒ Object
0-1 string
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 97 def instruction @instruction end |
#modifierExtension ⇒ Object
0-* [ Extension ]
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 91 def modifierExtension @modifierExtension end |
#nutrient ⇒ Object
0-* [ NutritionOrder::OralDiet::Nutrient ]
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 94 def nutrient @nutrient end |
#schedule ⇒ Object
0-* [ Timing ]
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 93 def schedule @schedule end |
#texture ⇒ Object
0-* [ NutritionOrder::OralDiet::Texture ]
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 95 def texture @texture end |
#type ⇒ Object
0-* [ CodeableConcept ]
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/NutritionOrder.rb', line 92 def type @type end |