Class: FHIR::NutritionOrder::EnteralFormula

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

Defined Under Namespace

Classes: Administration

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'EnteralFormula.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'EnteralFormula.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'EnteralFormula.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'baseFormulaType' => {'valid_codes'=>{'http://snomed.info/sct'=>['443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '443361000124100', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '442651000124102']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.baseFormulaType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/entformula-type'}},
  'baseFormulaProductName' => {'type'=>'string', 'path'=>'EnteralFormula.baseFormulaProductName', 'min'=>0, 'max'=>1},
  'additiveType' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/entformula-additive'=>['lipid', 'protein', 'carbohydrate', 'fiber', 'water']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.additiveType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/entformula-additive'}},
  'additiveProductName' => {'type'=>'string', 'path'=>'EnteralFormula.additiveProductName', 'min'=>0, 'max'=>1},
  'caloricDensity' => {'type'=>'Quantity', 'path'=>'EnteralFormula.caloricDensity', 'min'=>0, 'max'=>1},
  'routeofAdministration' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration'=>['PO', 'EFT', 'ENTINSTL', 'GT', 'NGT', 'OGT', 'GJT', 'JJTINSTL', 'OJJ']}, 'type'=>'CodeableConcept', 'path'=>'EnteralFormula.routeofAdministration', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/enteral-route'}},
  'administration' => {'type'=>'NutritionOrder::EnteralFormula::Administration', 'path'=>'EnteralFormula.administration', 'min'=>0, 'max'=>Float::INFINITY},
  'maxVolumeToDeliver' => {'type'=>'Quantity', 'path'=>'EnteralFormula.maxVolumeToDeliver', 'min'=>0, 'max'=>1},
  'administrationInstruction' => {'type'=>'string', 'path'=>'EnteralFormula.administrationInstruction', 'min'=>0, 'max'=>1}
}

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

#additiveProductNameObject

0-1 string



183
184
185
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 183

def additiveProductName
  @additiveProductName
end

#additiveTypeObject

0-1 CodeableConcept



182
183
184
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 182

def additiveType
  @additiveType
end

#administrationObject

0-* [ NutritionOrder::EnteralFormula::Administration ]



186
187
188
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 186

def administration
  @administration
end

#administrationInstructionObject

0-1 string



188
189
190
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 188

def administrationInstruction
  @administrationInstruction
end

#baseFormulaProductNameObject

0-1 string



181
182
183
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 181

def baseFormulaProductName
  @baseFormulaProductName
end

#baseFormulaTypeObject

0-1 CodeableConcept



180
181
182
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 180

def baseFormulaType
  @baseFormulaType
end

#caloricDensityObject

0-1 Quantity



184
185
186
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 184

def caloricDensity
  @caloricDensity
end

#extensionObject

0-* [ Extension ]



178
179
180
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 178

def extension
  @extension
end

#idObject

0-1 string



177
178
179
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 177

def id
  @id
end

#maxVolumeToDeliverObject

0-1 Quantity



187
188
189
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 187

def maxVolumeToDeliver
  @maxVolumeToDeliver
end

#modifierExtensionObject

0-* [ Extension ]



179
180
181
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 179

def modifierExtension
  @modifierExtension
end

#routeofAdministrationObject

0-1 CodeableConcept



185
186
187
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 185

def routeofAdministration
  @routeofAdministration
end