Class: FHIR::NutritionOrder::OralDiet::Nutrient

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'=>'Nutrient.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Nutrient.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Nutrient.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifier' => {'valid_codes'=>{'http://snomed.info/sct'=>['33463005', '39972003', '88480006', '925002', '1025008', '1057009', '1368003', '1381005', '1603001', '2264001', '2331003', '2942001', '3161008', '3212004', '3325005', '3342004', '3617004', '3829006', '3932008', '3945007', '5167005', '5312000', '5405008', '6083003', '6881002', '6910009', '6927001', '6952004', '7156005', '7774008', '7791007', '8143001', '8534003', '8919000', '9396007', '9797000', '9992001', '10466005', '10644005', '10767000', '10790005', '10796004', '11121002', '11202003', '11320009', '11331001', '11984007', '12597001', '12689001', '12930006', '12970004', '13235001', '13342004', '13863008', '14125007', '14139007', '14312008', '14399003', '14564001', '14645000', '14971004', '15331006', '15472007', '16850006', '18039003', '18414002', '19160003', '19427006', '19622008', '19839007', '21075006', '21239003', '21559000', '21572004', '21706000', '22038003', '22362000', '22555008', '22559002', '22606007', '23433006', '23459009', '23692005', '25128000', '25183006', '25205007', '25710007', '25761002', '26327007', '26645004', '26766001', '27054007', '27122000', '27378009', '29011006', '29531004', '30094001', '30178006', '30179003', '30324001', '30589007', '30820000', '31731008', '32505007', '32714004', '32741009', '33396006', '33922005', '34274009', '34471003', '35321007', '35344005', '35733004', '35883004', '36397007', '36434002', '36816009', '36998008', '37123002', '37225000', '37237003', '38182007', '38595007', '38623000', '38794009', '38839009', '39292004', '39360003', '39546001', '40479008', '40924008', '40937006', '41441005', '41464007', '41503000', '42146005', '42180008', '42193003', '42730005', '42841002', '43239002', '43289005', '43431002', '43613009', '43706004', '43728004', '43835003', '43897008', '43909000', '44044007', '44262008', '44588005', '44970006', '45158004', '45962009', '46075000', '46257009', '47192000', '47703008', '48736006', '48861002', '49506005', '50233008', '50374006', '50479000', '51224002', '51774004', '52130006', '52625008', '52717004', '52736009', '52745005', '52860004', '53499005', '53560004', '53646005', '53700003', '53834009', '54045000', '54083004', '54517000', '54808007', '54821000', '55328009', '55495002', '55946005', '56158000', '56383006', '56740002', '57272005', '57273000', '57279001', '58202007', '58279004', '58292001', '58753009', '60244003', '60260004', '60764009', '60908004', '61025005', '61045002', '61244006', '62174006', '62442005', '62754006', '62763008', '63004003', '63089006', '63330006', '63349005', '63383003', '63718003', '63793008', '64179000', '64538009', '65054007', '65183007', '65586005', '66656000', '66781008', '66925006', '66945003', '66956003', '67060008', '67079006', '67154005', '67266008', '67377000', '67517005', '67535001', '67690002', '67719005', '68024001', '68077006', '68334004', '68580003', '68630002', '68992005', '69089000', '69169004', '69324000', '69750003', '69770009', '69783005', '70203000', '70288006', '70319005', '70496003', '70587000', '70706009', '70726008', '71128006', '71425003', '71544008', '72164009', '72309009', '72717003', '72835003', '72840006', '73131003', '73353008', '73722009', '73916008', '74718007', '74801000', '75665004', '75799006', '75815006', '75871008', '75876003', '75951003', '77004003', '77404006', '77454000', '77923008', '78481003', '78527003', '78529000', '78671009', '78686003', '78870008', '80393001', '80582002', '80916004', '81100008', '82224005', '82481002', '82622003', '83797003', '83873000', '83912003', '84553006', '84987009', '85214009', '85369009', '85668006', '85958004', '86399009', '86431009', '86739005', '86865003', '86953001', '87116002', '87136001', '87371008', '87437000', '87445005', '87708000', '87802005', '87869004', '88166005', '88236008', '88262004', '88546006', '88617009', '88954003', '89272005', '89351005', '89702005', '89867007', '90150007', '90544008', '90567005', '90664008', '90733003', '91166002', '91255004', '95970003', '96277001', '96335004', '102258003', '102658006', '102661007', '102663005', '102747008', '102750006', '103067001', '103068006', '103069003', '103070002', '103072005', '103074006', '105824007', '108946001', '109064002', '109224005', '109240008', '111039007', '111065006', '111066007', '111069000', '111070004', '111071000', '111078006', '112000000', '112121003', '115599005', '116094003', '116119005', '116120004', '116123002', '116124008', '116128006', '116256008', '116257004', '116258009', '116259001', '116260006', '116261005', '116262003', '116263008', '116264002', '116265001', '116266000', '116267009', '116268004', '116269007', '116271007', '116272000', '116776001', '116777005', '116778000', '116934003', '117634005', '126076005', '126077001', '126078006', '126079003', '126080000', '126081001', '126082008', '126224002', '126225001', '126226000', '126227009', '126228004', '126229007', '126230002', '126231003', '126235007', '126237004', '126238009', '126239001', '129497004', '173196005', '226356005', '226358006', '226369009', '226370005', '226371009', '226372002', '226373007', '226374001', '226375000', '226781005', '226793001', '226842001', '226880000', '226911007', '227365007', '227366008', '227367004', '227368009', '227537006', '227948007', '227991002', '227992009', '227993004', '227994005', '227995006', '227996007', '229941008', '229949005', '255673007', '255954005', '256227006', '256579008', '259333003', '259336006', '259337002', '259382003', '259403006', '259406003', '259411001', '259509008', '259512006', '259651009', '259655000', '259656004', '259659006', '259660001', '259661002', '259662009', '259663004', '259665006', '259666007', '261353004', '273943001', '277951002', '277953004', '277954005', '284460001', '290131005', '301862003', '304051003', '311719002', '312184007', '312276003', '372601001', '372639009', '386927006', '386932007', '386989006', '387021003', '387030006', '387082008', '387131008', '387206004', '387367007', '387415009', '391734004', '395750001', '395751002', '395752009', '395753004', '395754005', '395756007', '395757003', '395758008', '395759000', '395760005', '395766004', '395769006', '395775002', '395782003', '395787009', '395789007', '395791004', '395792006', '395815002', '395830006', '395838004', '395839007', '395840009', '395875009', '395877001', '395878006', '395879003', '395894004', '395925008', '395941009', '395951005', '395952003', '395981002', '395982009', '396003009', '396020008', '396056006', '396065004', '398939009', '409093004', '409094005', '409257009', '409258004', '409871008', '411332009', '412135003', '412203006', '412227008', '412228003', '412230001', '412244007', '412250002', '412410003', '412415008', '412512009', '412595005', '413483001', '414506003', '415543009', '415562007', '417955006', '418346004', '418407000', '418692007', '418929008', '418990001', '419297002', '419382002', '419432008', '419508004', '419679002', '420075002', '421289007', '421526004', '421621000', '421881000', '422073002', '422160004', '422934004', '423061008', '423071005', '423249007', '423373002', '423388007', '423432002', '423725005', '423795001', '423809007', '425329004', '425364008', '425702007', '425867009', '425874004', '426722004', '427638006', '428732003', '429592005', '429990006', '430469009', '430632000', '430633005', '430634004', '430926008', '432165000', '432219009', '432884004', '433468002', '438901003', '442247006', '442330008', '442340006', '442346000', '443148002', '446531006', '447134003', '449236003', '456992002', '456995000', '456997008', '456999006', '457000009', '699182008', '702796008', '703391005', '703394002', '703395001', '703399007', '703402008', '704384003', '704430002', '706927001', '706929003', '706930008', '706936002', '706938001', '706941005', '706942003', '706943008', '706978008', '706980002', '707019004', '707020005', '707053000', '707070008', '707071007', '707184000', '707244004', '707614005', '707661006', '707677007', '708047003', '708053003', '708259008', '708264007', '708267000', '708272009', '708276007', '708280002', '708290005', '708296004', '708303001', '708310007', '708316001', '708348002', '708351009', '708354001', '708356004', '708562005', '708565007', '708600008', '708658008', '708665000', '708703004', '708704005', '708715000', '708748000', '708846006', '708850004', '708864004', '709050009', '709131007', '709610005', '709844000', '710051007', '710208001', '710238007', '711264008', '712565006', '712587002', '712590008', '712594004', '712681009', '712684001', '712686004', '712698009', '712713006', '712736002', '712800005', '712801009', '712808003', '712847001', '713311003', '713332006', '713337000', '713357001', '713365003', '713366002', '713393004', '713664008', '715884006', '715885007', '716119001', '5811000122108', '669361000168106', '737661000168109', '999486711000087109', '999487121000087103']}, 'type'=>'CodeableConcept', 'path'=>'Nutrient.modifier', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/nutrient-code'}},
  'amount' => {'type'=>'Quantity', 'path'=>'Nutrient.amount', '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

#amountObject

0-1 Quantity



70
71
72
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 70

def amount
  @amount
end

#extensionObject

0-* [ Extension ]



67
68
69
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 67

def extension
  @extension
end

#idObject

0-1 string



66
67
68
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 66

def id
  @id
end

#modifierObject

0-1 CodeableConcept



69
70
71
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 69

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



68
69
70
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 68

def modifierExtension
  @modifierExtension
end