Building on the Platform
...
Solutions
Access to Clinical Data

Retrieve Allergy Intolerance

4min
retrieve a patient's allergies and intolerances directly from the ehr essential for understanding sensitivities, this data aids applications in ensuring patient safety and tailored care plans to access this clinical data you'll need the patient identifier, obtainable through the retrieve patient docid 8opknnbmtaz47rk5hkdd3 interaction clinical warning founda can only retrieve the allergies and/or intolerances that are registered for this patient at the integrated healthcare provider if there is an empty response, that does not always mean that the patient doesn't have any allergies and/or intolerances it only means that there are none registered at this healthcare provider interaction retrieving the list of allergies and/or intolerances can be done by sending a get request the request is sent to the allergyintolerance endpoint https //api \<region> founda com/1/health/organizations/\<org x>/fhir/4/allergyintolerance?\<parameters> where \<region> should be defined according to the different founda sandbox testing docid\ ncff15xnu1wglst2wnm p and \<org x> should be replaced with the healthcare provider's organization id that you are integrated with the response contains a bundle with 0, 1 or n matching allergyintolerances the full allergyintolerance resource can be retrieved with the identifier of the selected allergyintolerance from the result set profile founda adheres to recognized standards (ihe, hl7 fhir) to ensure compatibility and harmonization among diverse systems if there is a profile available for an interaction, it is recommended and preferred to follow the prescribed transactions the retrieve allergy intolerance interaction with the founda platform is based on the ihe qedm profile to indicate that the request and response should comply with pcc 44, the profile parameter should be included to the search set /allergyintolerance? profile=https //profiles ihe net/iti/qedm parameters in order to comply with the pcc 44 transaction, the interaction should at least support the parameter in the table below additional search parameters, as defined in the fhir allergyintolerance resource, can be used as well parameter type required description patient reference y the patient to retrieve the allergy and intolerance overview for example api call curl location 'https //api eu founda com/1/health/organizations/org 4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/allergyintolerance?patient=2078& profile=https%3a%2f%2fprofiles ihe net%2fiti%2fqedm%2f' \\ \ header 'authorization bearer ory at t sx5ceqgi37wtaptekgav9ggsg4uczrzoc4xe29sto jfqrulkteevvwumpd6djkd2lawdh5vrmfif0pkpnqsu' \\ \ data ''{ "resourcetype" "bundle", "id" "9c4e3368 4b80 4bbf 968f 4d8056060fd0", "meta" { "lastupdated" "2023 10 17t09 13 41 632+00 00" }, "type" "searchset", "total" 1, "link" \[ { "relation" "self", "url" "https //api eu founda com/1/health/organizations/org 4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/allergyintolerance?patient=2078& profile=https //profiles ihe net/iti/qedm/" } ], "entry" \[ { "fullurl" "https //api eu founda com/1/health/organizations/org 4c5739ba994d4ce9b5255d3f84a2d367/fhir/4/allergyintolerance/2156", "resource" { "resourcetype" "allergyintolerance", "id" "2156", "meta" { "versionid" "1", "lastupdated" "2023 10 05t14 29 18 114+00 00", "source" "#tv3rouoimbgqv1s0", "tag" \[ { "system" "http //terminology hl7 org/codesystem/v3 actreason", "code" "htest", "display" "test health data" } ] }, "text" { "status" "generated", "div" "\<div xmlns=\\"http //www w3 org/1999/xhtml\\">\<p>\<b>generated narrative with details\</b>\</p>\<p>\<b>id\</b> example\</p>\<p>\<b>identifier\</b> 49476534\</p>\<p>\<b>clinicalstatus\</b> active \<span>(details {http //terminology hl7 org/codesystem/allergyintolerance clinical code 'active' = 'active', given as 'active'})\</span>\</p>\<p>\<b>verificationstatus\</b> confirmed \<span>(details {http //terminology hl7 org/codesystem/allergyintolerance verification code 'confirmed' = 'confirmed', given as 'confirmed'})\</span>\</p>\<p>\<b>type\</b> allergy\</p>\<p>\<b>category\</b> food\</p>\<p>\<b>criticality\</b> high\</p>\<p>\<b>code\</b> cashew nuts \<span>(details {snomed ct code '227493005' = 'cashew nuts', given as 'cashew nuts'})\</span>\</p>\<p>\<b>patient\</b> \<a>patient/example\</a>\</p>\<p>\<b>onset\</b> 01/01/2004\</p>\<p>\<b>recordeddate\</b> 09/10/2014 2 58 00 pm\</p>\<p>\<b>recorder\</b> \<a>practitioner/example\</a>\</p>\<p>\<b>asserter\</b> \<a>patient/example\</a>\</p>\<p>\<b>lastoccurrence\</b> 01/06/2012\</p>\<p>\<b>note\</b> the criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract \</p>\<blockquote>\<p>\<b>reaction\</b>\</p>\<p>\<b>substance\</b> cashew nut allergenic extract injectable product \<span>(details {rxnorm code '1160593' = 'cashew nut allergenic extract injectable product', given as 'cashew nut allergenic extract injectable product'})\</span>\</p>\<p>\<b>manifestation\</b> anaphylactic reaction \<span>(details {snomed ct code '39579001' = 'anaphylaxis', given as 'anaphylactic reaction'})\</span>\</p>\<p>\<b>description\</b> challenge protocol severe reaction to subcutaneous cashew extract epinephrine administered\</p>\<p>\<b>onset\</b> 12/06/2012\</p>\<p>\<b>severity\</b> severe\</p>\<p>\<b>exposureroute\</b> subcutaneous route \<span>(details {snomed ct code '34206005' = 'subcutaneous route', given as 'subcutaneous route'})\</span>\</p>\</blockquote>\<blockquote>\<p>\<b>reaction\</b>\</p>\<p>\<b>manifestation\</b> urticaria \<span>(details {snomed ct code '64305001' = 'urticaria', given as 'urticaria'})\</span>\</p>\<p>\<b>onset\</b> 01/01/2004\</p>\<p>\<b>severity\</b> moderate\</p>\<p>\<b>note\</b> the patient reports that the onset of urticaria was within 15 minutes of eating cashews \</p>\</blockquote>\</div>" }, "identifier" \[ { "system" "http //acme com/ids/patients/risks", "value" "49476534" } ], "clinicalstatus" { "coding" \[ { "system" "http //terminology hl7 org/codesystem/allergyintolerance clinical", "code" "active", "display" "active" } ] }, "verificationstatus" { "coding" \[ { "system" "http //terminology hl7 org/codesystem/allergyintolerance verification", "code" "confirmed", "display" "confirmed" } ] }, "type" "allergy", "category" \[ "food" ], "criticality" "high", "code" { "coding" \[ { "system" "http //snomed info/sct", "code" "227493005", "display" "cashew nuts" } ] }, "patient" { "reference" "patient/2078" }, "onsetdatetime" "2004", "recordeddate" "2014 10 09t14 58 00+11 00", "recorder" { "reference" "practitioner/2079" }, "asserter" { "reference" "patient/2078" }, "lastoccurrence" "2012 06", "note" \[ { "text" "the criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract " } ], "reaction" \[ { "substance" { "coding" \[ { "system" "http //www nlm nih gov/research/umls/rxnorm", "code" "1160593", "display" "cashew nut allergenic extract injectable product" } ] }, "manifestation" \[ { "coding" \[ { "system" "http //snomed info/sct", "code" "39579001", "display" "anaphylactic reaction" } ] } ], "description" "challenge protocol severe reaction to subcutaneous cashew extract epinephrine administered", "onset" "2012 06 12", "severity" "severe", "exposureroute" { "coding" \[ { "system" "http //snomed info/sct", "code" "34206005", "display" "subcutaneous route" } ] } }, { "manifestation" \[ { "coding" \[ { "system" "http //snomed info/sct", "code" "64305001", "display" "urticaria" } ] } ], "onset" "2004", "severity" "moderate", "note" \[ { "text" "the patient reports that the onset of urticaria was within 15 minutes of eating cashews " } ] } ] }, "search" { "mode" "match" } } ] }