Class: FHIR::R4B::AllergyIntolerance

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

Defined Under Namespace

Classes: Reaction

Constant Summary collapse

MULTIPLE_TYPES =
{
  'onset' => ['dateTime', 'Age', 'Period', 'Range', 'string']
}
SEARCH_PARAMS =
['asserter', 'category', 'clinical-status', 'code', 'criticality', 'date', 'identifier', 'last-date', 'manifestation', 'onset', 'patient', 'recorder', 'route', 'severity', 'type', 'verification-status']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'AllergyIntolerance.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'AllergyIntolerance.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'AllergyIntolerance.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'AllergyIntolerance.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'AllergyIntolerance.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'AllergyIntolerance.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'AllergyIntolerance.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'AllergyIntolerance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'AllergyIntolerance.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'clinicalStatus' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'=>['active', 'inactive', 'resolved']}, 'type'=>'CodeableConcept', 'path'=>'AllergyIntolerance.clinicalStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergyintolerance-clinical'}},
  'verificationStatus' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'=>['unconfirmed', 'confirmed', 'refuted', 'entered-in-error']}, 'type'=>'CodeableConcept', 'path'=>'AllergyIntolerance.verificationStatus', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergyintolerance-verification'}},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-type'=>['allergy', 'intolerance']}, 'type'=>'code', 'path'=>'AllergyIntolerance.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-type'}},
  'category' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-category'=>['food', 'medication', 'environment', 'biologic']}, 'type'=>'code', 'path'=>'AllergyIntolerance.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-category'}},
  'criticality' => {'valid_codes'=>{'http://hl7.org/fhir/allergy-intolerance-criticality'=>['low', 'high', 'unable-to-assess']}, 'type'=>'code', 'path'=>'AllergyIntolerance.criticality', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality'}},
  'code' => {'valid_codes'=>{'http://snomed.info/sct'=>['105590001', '102002', '120006', '125001', '126000', '130002', '131003', '159002', '164003', '178002', '186002', '187006', '200001', '217008', '231008', '238002', '261000', '296000', '322006', '327000', '329002', '336001', '340005', '363000', '370000', '371001', '377002', '392001', '395004', '412004', '424006', '425007', '432003', '438004', '462009', '472007', '476005', '498001', '501001', '505005', '506006', '515004', '519005', '521000', '529003', '538001', '566009', '576007', '578008', '584006', '585007', '591009', '593007', '594001', '597008', '604000', '611001', '620005', '648005', '662003', '668004', '683009', '686001', '693002', '698006', '699003', '704006', '732002', '735000', '747006', '773001', '785009', '804003', '819002', '850000', '859004', '860009', '873008', '876000', '877009', '889006', '896008', '905001', '923009', '925002', '963005', '974001', '979006', '993004', '1002007', '1010008', '1018001', '1025008', '1047008', '1050006', '1065007', '1080001', '1091008', '1097007', '1105007', '1113008', '1137008', '1149009', '1160000', '1166006', '1169004', '1171004', '1185009', '1189003', '1190007', '1219001', '1223009', '1244009', '1248007', '1269009', '1272002', '1273007', '1313002', '1319003', '1320009', '1325004', '1331001', '1334009', '1336006', '1341003', '1346008', '1355006', '1368003', '1371006', '1373009', '1381005', '1394007', '1396009', '1405004', '1408002', '1416006', '1450002', '1466000', '1471007', '1472000', '1476002', '1477006', '1496005', '1506001', '1517000', '1530004', '1535009', '1536005', '1540001', '1545006', '1557002', '1565004', '1575001', '1603001', '1607000', '1609002', '1634002', '1649005', '1656004', '1660001', '1668008', '1672007', '1673002', '1675009', '1676005', '1681001', '1696002', '1701009', '1710001', '1726000', '1727009', '1740004', '1764003', '1768000', '1786002', '1793003', '1795005', '1798007', '1799004', '1823002', '1827001', '1886008', '1904005', '1914001', '1916004', '1940007', '1944003', '1956002', '1971003', '1975007', '1978009', '1985008', '1991005', '2000001', '2006007', '2008008', '2009000', '2017008', '2027002', '2029004', '2038002', '2039005', '2050008', '2064008', '2082006', '2085008', '2088005', '2096000', '2100004', '2101000', '2125008', '2130007', '2141009', '2147008', '2151005', '2154002', '2159007', '2163000', '2168009', '2179004', '2189000', '2194000', '2195004', '2201007', '2208001', '2212007', '2215009', '2240002', '2249001', '2254005', '2260005', '2262002', '2264001', '2309006', '2311002', '2329007', '2331003', '2338009', '2343002', '2346005', '2354007', '2358005', '2369008', '2370009', '2376003', '2384004', '2404002', '2405001', '2414006', '2430003', '2431004', '2441001', '2444009', '2450004', '2462000', '2466002', '2500009', '2509005', '2522002', '2529006', '2537003', '2568004', '2573005', '2575003', '2595009', '2597001', '2611008', '2637006', '2648004', '2649007', '2660003', '2671002', '2674005', '2676007', '2678008', '2680002', '2698003', '2705002', '2706001', '2719002', '2721007', '2728001', '2753003', '2754009', '2765004', '2778004', '2796008', '2799001', '2823004', '2832002', '2846002', '2869004', '2878005', '2880004', '2883002', '2913009', '2916001', '2925007', '2927004', '2938004', '2942001', '2950005', '2958003', '2964005', '2974008', '2988007', '2991007', '2995003', '3027009', '3031003', '3040004', '3045009', '3052006', '3066001', '3070009', '3087006', '3107005', '3108000', '3131000', '3136005', '3142009', '3145006', '3150000', '3151001', '3155005', '3161008', '3167007', '3187008', '3193000', '3197004', '3209002', '3212004', '3225007', '3232003', '3271000', '3273002', '3300001', '3318003', '3325005', '3339005', '3340007', '3342004', '3346001', '3378009', '3379001', '3392003', '3405005', '3411008', '3437006', '3440006', '3455002', '3463001', '3465008', '3466009', '3492002', '3493007', '3495000', '3501003', '3523004', '3532002', '3555004', '3579002', '3581000', '3587001', '3588006', '3597005', '3601005', '3602003', '3610002', '3617004', '3648007', '3655009', '3672002', '3684000', '3689005', '3692009', '3693004', '3702007', '3710008', '3718001', '3726009', '3727000', '3730007', '3737005', '3742002', '3757009', '3771001', '3775005', '3776006', '3792001', '3800009', '3807007', '3811001', '3812008', '3816006', '3823007', '3829006', '3834005', '3836007', '3844007', '3848005', '3849002', '3854006', '3874004', '3892007', '3896005', '3897001', '3906002', '3920009', '3930000', '3932008', '3941003', '3945007', '3958008', '3961009', '3976001', '3982003', '3983008', '3990003', '3994007', '4014000', '4024008', '4025009', '4043008', '4047009', '4048004', '4067000', '4076007', '4077003', '4080002', '4091009', '4097008', '4104007', '4105008', '4115002', '4137009', '4153007', '4167003', '4169000', '4177001', '4182008', '4188007', '4200007', '4201006', '4203009', '4207005', '4217000', '4218005', '4231000', '4239003', '4255005', '4289006', '4290002', '4314009', '4334005', '4342006', '4353000', '4355007', '4362003', '4370008', '4393002', '4401009', '4413004', '4422003', '4423008', '4425001', '4435007', '4437004', '4471008', '4479005', '4480008', '4509009', '4534009', '4540002', '4546008', '4555006', '4560005', '4561009', '4564001', '4567008', '4582003', '4591004', '4610008', '4616002', '4629002', '4635002', '4643007', '4656000', '4674009', '4681002', '4693006', '4700006', '4706000', '4714006', '4728000', '4732006', '4746006', '4761007', '4762000', '4777008', '4780009', '4786003', '4789005', '4793004', '4814001', '4824009', '4825005', '4831008', '4832001', '4833006', '4844003', '4864008', '4872005', '4878009', '4882006', '4889002', '4901003', '4925006', '4933007', '4940008', '4955004', '4962008', '4963003', '4965005', '4968007', '4986005', '5003005', '5004004', '5007006', '5024000', '5031001', '5040002', '5043000', '5045007', '5059000', '5060005', '5061009', '5064001', '5081005', '5086000', '5094007', '5098005', '5109006', '5142007', '5160007', '5163009', '5167005', '5172001', '5179005', '5200001', '5206007', '5220000', '5226006', '5250008', '5252000', '5253005', '5259009', '5289002', '5303002', '5305009', '5307001', '5312000', '5323001', '5330007', '5339008', '5340005', '5392001', '5395004', '5404007', '5405008', '5406009', '5420002', '5439007', '5442001', '5453007', '5471000', '5474008', '5477001', '5483003', '5504009', '5511008', '5513006', '5515004', '5533005', '5537006', '5540006', '5547009', '5548004', '5568005', '5573004', '5589001', '5590005', '5628003', '5629006', '5637003', '5641004', '5647000', '5656008', '5659001', '5670008', '5681006', '5691000', '5692007', '5699003', '5700002', '5702005', '5704006', '5705007', '5739006', '5746002', '5757007', '5762008', '5764009', '5767002', '5774007', '5800007', '5813001', '5826002', '5827006', '5829009', '5830004', '5840001', '5858007', '5863006', '5896008', '5899001', '5907009', '5910002', '5915007', '5927005', '5931004', '5932006', '5950004', '5955009', '5977008', '5989005', '5991002', '6021003', '6038004', '6043006', '6044000', '6054001', '6056004', '6068008', '6083003', '6085005', '6088007', '6089004', '6091007', '6107003', '6109000', '6115000', '6135004', '6138002', '6162007', '6170002', '6172005', '6178009', '6179001', '6182006', '6197009', '6237004', '6249003', '6256009', '6257000', '6260007', '6261006', '6263009', '6264003', '6287006', '6291001', '6301006', '6310003', '6314007', '6333002', '6338006', '6356006', '6360009', '6367007', '6386004', '6394006', '6401007', '6409009', '6411000', '6422001', '6451002', '6455006', '6469006', '6478000', '6495008', '6507009', '6513000', '6516008', '6524003', '6529008', '6532006', '6590001', '6592009', '6602005', '6611005', '6612003', '6619007', '6642000', '6644004', '6671004', '6672006', '6699008', '6701008', '6702001', '6709005', '6710000', '6713003', '6717002', '6725000', '6730001', '6741004', '6755007', '6786001', '6790004', '6792007', '6808006', '6809003', '6814004', '6817006', '6826009', '6837005', '6854002', '6865007', '6873003', '6879004', '6881002', '6884005', '6890009', '6896003', '6910009', '6911008', '6916003', '6924008', '6925009', '6927001', '6937006', '6945001', '6952004', '6958000', '6961004', '6970001', '6973004', '6983000', '6992002', '6993007', '6999006', '7008002', '7018007', '7029006', '7030001', '7034005', '7045008', '7047000', '7049002', '7054006', '7056008', '7059001', '7061005', '7070008', '7084003', '7110002', '7120007', '7132006', '7139002', '7146006', '7152007', '7156005', '7158006', '7161007', '7179006', '7191002', '7208009', '7211005', '7237008', '7243005', '7269004', '7271004', '7280004', '7281000', '7284008', '7294003', '7302008', '7318002', '7321000', '7325009', '7327001', '7328006', '7330008', '7337006', '7348004', '7382005', '7401000', '7411007', '7427000', '7434003', '7446004', '7460002', '7470000', '7489000', '7503004', '7509000', '7515000', '7537007', '7547005', '7549008', '7588005', '7608003', '7616007', '7648006', '7661006', '7670009', '7675004', '7685003', '7696006', '7716001', '7737009', '7738004', '7761002', '7770004', '7774008', '7779003', '7785005', '7790008', '7791007', '7795003', '7801007', '7816005', '7834009', '7846008', '7848009', '7868003', '7879008', '7900007', '7904003', '7909008', '7924004', '7938006', '7945006', '7948008', '7953003', '7957002', '7961008', '7970006', '7974002', '7975001', '7979007', '7983007', '7985000', '7997004', '8000007', '8002004', '8025003', '8029009', '8030004', '8035009', '8048008', '8054009', '8055005', '8105004', '8108002', '8123007', '8132009', '8143001', '8153000', '8156008', '8164002', '8168004', '8179009', '8184003', '8190004', '8202008', '8203003', '8204009', '8222007', '8227001', '8230008', '8237006', '8252004', '8257005', '8261004', '8268005', '8270001', '8275006', '8295000', '8300003', '8310007', '8313009', '8340009', '8342001', '8343006', '8354001', '8355000', '8362009', '8365006', '8368008', '8376005', '8385005', '8397006', '8406008', '8429000', '8450009', '8452001', '8456003', '8460000', '8473001', '8474007', '8484008', '8485009', '8486005', '8487001', '8491006', '8492004', '8498000', '8507001', '8514004', '8520003', '8525008', '8529002', '8534003', '8537005', '8578007', '8591008', '8612007', '8620009', '8631001', '8653004', '8660005', '8687009', '8689007', '8701002', '8705006', '8731008', '8740007', '8761000', '8767001', '8785008', '8786009', '8795001', '8817004', '8818009', '8822004', '8830003', '8836009', '8844009', '8858006', '8865003', '8878003', '8882001', '8886003', '8908003', '8914005', '8919000', '8926000', '8945009', '8953001', '8963009', '8969008', '8977007', '8982000', '8987006', '8991001', '9010006', '9013008', '9021002', '9024005', '9045003', '9052001', '9054000', '9103003', '9110009', '9125009', '9159008', '9172009', '9174005', '9183000', '9189001', '9195000', '9197008', '9205004', '9220005', '9223007', '9234005', '9246009', '9253000', '9270008', '9271007', '9301005', '9302003', '9315007', '9319001', '9334007', '9349004', '9351000', '9355009', '9392009', '418038007', '25744000', '54250004', '59037007', '61712006', '72354005', '91931000', '91932007', '91934008', '91935009', '91936005', '91937001', '91938006', '91939003', '91940001', '190751001', '213020009', '232346004', '232347008', '232348003', '232349006', '232350006', '235719002', '293584003', '293585002', '293586001', '293588000', '293589008', '293590004', '293591000', '293592007', '293593002', '293594008', '293595009', '293596005', '293597001', '293598006', '293599003', '293600000', '293601001', '293602008', '293603003', '293604009', '293605005', '293606006', '293607002', '293608007', '293609004', '293610009', '293611008', '293612001', '293613006', '293614000', '293615004', '293616003', '293617007', '293618002', '293619005', '293620004', '293621000', '293622007', '293623002', '293624008', '293625009', '293626005', '293627001', '293628006', '293629003', '293630008', '293631007', '293632000', '293633005', '293635003', '293636002', '293637006', '293645001', '293646000', '293647009', '293648004', '293649007', '293650007', '293651006', '293652004', '293653009', '293654003', '293655002', '293656001', '293657005', '293658000', '293659008', '293660003', '293662006', '293663001', '293665008', '293666009', '293668005', '293669002', '293671002', '293673004', '293674005', '293675006', '293676007', '293678008', '293679000', '293680002', '293681003', '293682005', '293685007', '293686008', '293687004', '293690005', '293691009', '293692002', '293693007', '293694001', '293695000', '293696004', '293697008', '293699006', '293700007', '293701006', '293706001', '293707005', '293708000', '293709008', '293710003', '293712006', '293714007', '293715008', '293716009', '293717000', '293718005', '293719002', '293720008', '293721007', '293722000', '293723005', '293724004', '293725003', '293726002', '293727006', '293728001', '293732007', '293733002', '293735009', '293736005', '293737001', '293738006', '293740001', '293741002', '293742009', '293743004', '293745006', '293746007', '293747003', '293748008', '293749000', '293750000', '293751001', '293752008', '293753003', '293754009', '293755005', '293756006', '293758007', '293760009', '293761008', '293762001', '293763006', '293764000', '293765004', '293766003', '293767007', '293768002', '293770006', '293771005', '293772003', '293773008', '293774002', '293775001', '293776000', '293777009', '293778004', '293779007', '293780005', '293781009', '293782002', '293783007', '293784001', '293785000', '293786004', '293787008', '293788003', '293789006', '293790002', '293791003', '293792005', '293793000', '293794006', '293795007', '293796008', '293798009', '293799001', '293802005', '293803000', '293804006', '293805007', '293806008', '293808009', '293811005', '293812003', '293813008', '293814002', '293815001', '293818004', '293819007', '293822009', '293823004', '293824005', '293825006', '293826007', '293827003', '293828008', '293829000', '293830005', '293831009', '293832002', '293833007', '293834001', '293835000', '293836004', '293837008', '293838003', '293839006', '293840008', '293842000', '293843005', '293844004', '293845003', '293847006', '293848001', '293849009', '293850009', '293851008', '293853006', '293854000', '293855004', '293856003', '293858002', '293859005', '293860000', '293861001', '293864009', '293865005', '293866006', '293867002', '293868007', '293869004', '293870003', '293871004', '293874007', '293875008', '293876009', '293877000', '293878005', '293880004', '293881000', '293882007', '293884008', '293886005', '293887001', '293888006', '293889003', '293890007', '293891006', '293892004', '293893009', '293894003', '293895002', '293897005', '293898000', '293899008', '293900003', '293901004', '293902006', '293903001', '293904007', '293906009', '293908005', '293909002', '293911006', '293912004', '293914003', '293915002', '293916001', '293917005', '293918000', '293919008', '293920002', '293921003', '293923000', '293924006', '293925007', '293926008', '293927004', '293928009', '293929001', '293930006', '293933008', '293934002', '293935001', '293936000', '293937009', '293938004', '293939007', '293940009', '293941008', '293942001', '293943006', '293946003', '293948002', '293949005', '293950005', '293952002', '293954001', '293955000', '293956004', '293957008', '293958003', '293960001', '293962009', '293963004', '293964005', '293965006', '293966007', '293967003', '293968008', '293969000', '293970004', '293972007', '293973002', '293974008', '293975009', '293976005', '293977001', '293978006', '293979003', '293980000', '293981001', '293982008', '293983003', '293984009', '293985005', '293986006', '293987002', '293988007', '293989004', '293990008', '293991007', '293992000', '293993005', '293994004', '293995003', '293996002', '293997006', '293998001', '293999009', '294000006', '294001005', '294002003', '294003008', '294004002', '294005001', '294007009', '294009007', '294011003', '294012005', '294013000', '294014006', '294015007', '294016008', '294017004', '294018009', '294019001', '294023009', '294024003', '294026001', '294027005', '294028000', '294029008', '294030003', '294031004', '294033001', '294035008', '294036009', '294037000', '294038005', '294039002', '294040000', '294041001', '294042008', '294043003', '294044009', '294045005', '294047002', '294048007', '294050004', '294055009', '294057001', '294058006', '294059003', '294060008', '294061007', '294062000', '294063005', '294064004', '294067006', '294069009', '294073007', '294074001', '294076004', '294077008', '294078003', '294079006', '294080009', '294081008', '294082001', '294083006', '294084000', '294087007', '294088002', '294089005', '294091002', '294093004', '294095006', '294096007', '294097003', '294099000', '294100008', '294101007', '294103005', '294105003', '294106002', '294109009', '294111000', '294112007', '294113002', '294114008', '294115009', '294116005', '294118006', '294119003', '294120009', '294121008', '294122001', '294123006', '294125004', '294126003', '294127007', '294128002', '294129005', '294130000', '294131001', '294132008', '294133003', '294134009', '294135005', '294136006', '294137002', '294138007', '294139004', '294140002', '294142005', '294144006', '294145007', '294148009', '294152009', '294153004', '294157003', '294158008', '294160005', '294168003', '294169006', '294172004', '294173009', '294177005', '294178000', '294180006', '294182003', '294183008', '294189007', '294190003', '294191004', '294200004', '294203002', '294204008', '294206005', '294207001', '294208006', '294209003', '294210008', '294211007', '294214004', '294215003', '294217006', '294218001', '294219009', '294220003', '294224007', '294225008', '294226009', '294227000', '294228005', '294229002', '294230007', '294231006', '294232004', '294233009', '294234003', '294235002', '294236001', '294237005', '294238000', '294239008', '294240005', '294242002', '294243007', '294245000', '294246004', '294247008', '294248003', '294249006', '294250006', '294252003', '294253008', '294254002', '294255001', '294256000', '294257009', '294258004', '294259007', '294260002', '294261003', '294264006', '294265007', '294266008', '294268009', '294269001', '294270000', '294271001', '294273003', '294275005', '294276006', '294277002', '294278007', '294280001', '294281002', '294283004', '294284005', '294285006', '294290009', '294291008', '294298002', '294299005', '294306008', '294316000', '294317009', '294318004', '294320001', '294324005', '294327003', '294328008', '294329000', '294330005', '294332002', '294333007', '294335000', '294337008', '294339006', '294341007', '294342000', '294343005', '294344004', '294346002', '294348001', '294349009', '294350009', '294351008', '294354000', '294356003', '294357007', '294358002', '294359005', '294360000', '294361001', '294362008', '294363003', '294365005', '294366006', '294368007', '294369004', '294370003', '294371004', '294372006', '294373001', '294374007', '294375008', '294376009', '294377000', '294378005', '294379002', '294380004', '294381000', '294382007', '294383002', '294384008', '294385009', '294388006', '294390007', '294391006', '294392004', '294393009', '294394003', '294396001', '294398000', '294399008', '294400001', '294404005', '294405006', '294406007', '294407003', '294408008', '294413007', '294415000', '294416004', '294417008', '294418003', '294421001', '294423003', '294425005', '294426006', '294431008', '294433006', '294434000', '294436003', '294437007', '294438002', '294439005', '294440007', '294441006', '294442004', '294443009', '294447005', '294448000', '294449008', '294451007', '294452000', '294453005', '294455003', '294456002', '294458001', '294459009', '294460004', '294462007', '294463002', '294464008', '294465009', '294466005', '294467001', '294468006', '294469003', '294470002', '294471003', '294472005', '294474006', '294475007', '294476008', '294477004', '294478009', '294480003', '294481004', '294482006', '294484007', '294485008', '294486009', '294487000', '294488005', '294489002', '294490006', '294491005', '294494002', '294496000', '294497009', '294499007', '294501004', '294502006', '294503001', '294505008', '294506009', '294507000', '294508005', '294509002', '294510007', '294511006', '294512004', '294514003', '294515002', '294516001', '294517005', '294518000', '294519008', '294520002', '294528009', '294529001', '294530006', '294531005', '294532003', '294534002', '294535001', '294536000', '294537009', '294538004', '294539007', '294541008', '294542001', '294543006', '294545004', '294546003', '294547007', '294548002', '294549005', '294550005', '294551009', '294552002', '294554001', '294556004', '294557008', '294558003', '294559006', '294561002', '294562009', '294563004', '294564005', '294565006', '294566007', '294567003', '294568008', '294569000', '294570004', '294571000', '294572007', '294573002', '294574008', '294575009', '294576005', '294577001', '294578006', '294579003', '294582008', '294584009', '294585005', '294586006', '294587002', '294588007', '294590008', '294591007', '294592000', '294593005', '294596002', '294598001', '294600007', '294602004', '294604003', '294607005', '294609008', '294610003', '294611004', '294612006', '294614007', '294615008', '294617000', '294618005', '294620008', '294621007', '294623005', '294625003', '294627006', '294629009', '294630004', '294633002', '294636005', '294638006', '294639003', '294667007', '294668002', '294669005', '294671005', '294674002', '294676000', '294677009', '294678004', '294679007', '294682002', '294683007', '294684001', '294685000', '294686004', '294687008', '294688003', '294689006', '294690002', '294691003', '294692005', '294693000', '294694006', '294695007', '294696008', '294697004', '294698009', '294699001', '294700000', '294701001', '294702008', '294706006', '294707002', '294711008', '294712001', '294714000', '294717007', '294720004', '294721000', '294723002', '294728006', '294729003', '294730008', '294731007', '294732000', '294733005', '294734004', '294735003', '294736002', '294737006', '294738001', '294739009', '294740006', '294741005', '294742003', '294745001', '294746000', '294747009', '294748004', '294749007', '294750007', '294751006', '294752004', '294754003', '294755002', '294757005', '294758000', '294760003', '294761004', '294762006', '294763001', '294764007', '294765008', '294767000', '294768005', '294769002', '294771002', '294773004', '294774005', '294775006', '294776007', '294781003', '294782005', '294787004', '294788009', '294789001', '294790005', '294792002', '294793007', '294794001', '294795000', '294796004', '294798003', '294799006', '294800005', '294801009', '294803007', '294804001', '294807008', '294809006', '294810001', '294811002', '294813004', '294814005', '294815006', '294816007', '294817003', '294818008', '294819000', '294820006', '294821005', '294823008', '294825001', '294826000', '294828004', '294829007', '294830002', '294833000', '294838009', '294839001', '294840004', '294841000', '294843002', '294844008', '294845009', '294847001', '294851004', '294855008', '294865002', '294871008', '294872001', '294873006', '294874000', '294875004', '294876003', '294880008', '294881007', '294883005', '294885003', '294886002', '294887006', '294888001', '294889009', '294893003', '294894009', '294896006', '294897002', '294898007', '294899004', '294900009', '294901008', '294902001', '294903006', '294912008', '294913003', '294915005', '294916006', '294923007', '294924001', '294925000', '294926004', '294929006', '294930001', '294931002', '294933004', '294934005', '294937003', '294940003', '294945008', '294951003', '294956008', '294957004', '294958009', '294961005', '294962003', '294964002', '294965001', '294966000', '294967009', '294968004', '294969007', '294970008', '294971007', '294972000', '294973005', '294975003', '294977006', '294978001', '294979009', '294980007', '294981006', '294982004', '294983009', '294984003', '294986001', '294988000', '294992007', '294993002', '294994008', '294995009', '294996005', '294997001', '294998006', '295000003', '295001004', '295002006', '295003001', '295004007', '267425008', '29736007', '29512005', '52070001', '237978005', '340519003', '190753003', '413427002', '716186003', '409137002', '428197003', '428607008', '429625007', '716184000', '716220001']}, 'type'=>'CodeableConcept', 'path'=>'AllergyIntolerance.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/allergyintolerance-code'}},
  'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'AllergyIntolerance.patient', 'min'=>1, 'max'=>1},
  'encounter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Encounter'], 'type'=>'Reference', 'path'=>'AllergyIntolerance.encounter', 'min'=>0, 'max'=>1},
  'onsetDateTime' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.onset[x]', 'min'=>0, 'max'=>1},
  'onsetAge' => {'type'=>'Age', 'path'=>'AllergyIntolerance.onset[x]', 'min'=>0, 'max'=>1},
  'onsetPeriod' => {'type'=>'Period', 'path'=>'AllergyIntolerance.onset[x]', 'min'=>0, 'max'=>1},
  'onsetRange' => {'type'=>'Range', 'path'=>'AllergyIntolerance.onset[x]', 'min'=>0, 'max'=>1},
  'onsetString' => {'type'=>'string', 'path'=>'AllergyIntolerance.onset[x]', 'min'=>0, 'max'=>1},
  'recordedDate' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.recordedDate', 'min'=>0, 'max'=>1},
  'recorder' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'AllergyIntolerance.recorder', 'min'=>0, 'max'=>1},
  'asserter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'AllergyIntolerance.asserter', 'min'=>0, 'max'=>1},
  'lastOccurrence' => {'type'=>'dateTime', 'path'=>'AllergyIntolerance.lastOccurrence', 'min'=>0, 'max'=>1},
  'note' => {'type'=>'Annotation', 'path'=>'AllergyIntolerance.note', 'min'=>0, 'max'=>Float::INFINITY},
  'reaction' => {'type'=>'AllergyIntolerance::Reaction', 'path'=>'AllergyIntolerance.reaction', 'min'=>0, 'max'=>Float::INFINITY}
}

Constants included from FHIR::R4

FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::TYPES

Constants included from FHIR

Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription

Constants included from FHIR::R4B

PRIMITIVES, RESOURCES, TYPES

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from FHIR::R4

#fhir_version_string, #versioned_fhir_module

Methods included from FHIR

default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module

Methods included from ClassMethods

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

Methods included from FHIR::R4B

#fhir_version_string, #versioned_fhir_module

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

Methods included from Deprecate

#deprecate

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

#asserterObject

0-1 Reference(Patient|RelatedPerson|Practitioner|PractitionerRole)



97
98
99
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 97

def asserter
  @asserter
end

#categoryObject

0-* [ code ]



85
86
87
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 85

def category
  @category
end

#clinicalStatusObject

0-1 CodeableConcept



82
83
84
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 82

def clinicalStatus
  @clinicalStatus
end

#codeObject

0-1 CodeableConcept



87
88
89
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 87

def code
  @code
end

#containedObject

0-* [ Resource ]



78
79
80
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 78

def contained
  @contained
end

#criticalityObject

0-1 code



86
87
88
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 86

def criticality
  @criticality
end

#encounterObject

0-1 Reference(Encounter)



89
90
91
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 89

def encounter
  @encounter
end

#extensionObject

0-* [ Extension ]



79
80
81
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 79

def extension
  @extension
end

#idObject

0-1 id



73
74
75
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 73

def id
  @id
end

#identifierObject

0-* [ Identifier ]



81
82
83
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 81

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



75
76
77
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 75

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



76
77
78
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 76

def language
  @language
end

#lastOccurrenceObject

0-1 dateTime



98
99
100
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 98

def lastOccurrence
  @lastOccurrence
end

#metaObject

0-1 Meta



74
75
76
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 74

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



80
81
82
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 80

def modifierExtension
  @modifierExtension
end

#noteObject

0-* [ Annotation ]



99
100
101
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 99

def note
  @note
end

#onsetAgeObject

0-1 Age



91
92
93
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 91

def onsetAge
  @onsetAge
end

#onsetDateTimeObject

0-1 dateTime



90
91
92
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 90

def onsetDateTime
  @onsetDateTime
end

#onsetPeriodObject

0-1 Period



92
93
94
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 92

def onsetPeriod
  @onsetPeriod
end

#onsetRangeObject

0-1 Range



93
94
95
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 93

def onsetRange
  @onsetRange
end

#onsetStringObject

0-1 string



94
95
96
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 94

def onsetString
  @onsetString
end

#patientObject

1-1 Reference(Patient)



88
89
90
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 88

def patient
  @patient
end

#reactionObject

0-* [ AllergyIntolerance::Reaction ]



100
101
102
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 100

def reaction
  @reaction
end

#recordedDateObject

0-1 dateTime



95
96
97
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 95

def recordedDate
  @recordedDate
end

#recorderObject

0-1 Reference(Practitioner|PractitionerRole|Patient|RelatedPerson)



96
97
98
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 96

def recorder
  @recorder
end

#textObject

0-1 Narrative



77
78
79
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 77

def text
  @text
end

#typeObject

0-1 code



84
85
86
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 84

def type
  @type
end

#verificationStatusObject

0-1 CodeableConcept



83
84
85
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 83

def verificationStatus
  @verificationStatus
end

Instance Method Details

#resourceTypeObject



102
103
104
# File 'lib/fhir_models/r4b/generated/resources/AllergyIntolerance.rb', line 102

def resourceType
  'AllergyIntolerance'
end