Read all the latest records for a given AllergyIntolerance-type, e.g. DrugReaction, OtherAllergen, for a patient.
A HelseId token is required to authorize the user.
Curl example: Read all the latest AllergyIntolerance records of type DrugReaction for a patient
curl --location --request GET 'https://test1.critical-information.hit.nhn.no/api/critical-information/v1/AllergyIntolerance?criticalInfoType=DrugReaction' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiI......<HelseId token>' \
--header 'Content-Type: application/fhir+json; charset=UTF-8' \
--header 'Accept: application/fhir+json' \
--header 'nhn-user-role: %7B%0A++++%22system%22%3A+%22urn%3Aoid%3A2.16.578.1.12.4.1.1.9060%22%2C%0A++++%22code%22%3A+%22LE%22%0A%7D' \
--header 'nhn-access-basis: SAMTYKKE' \
--header 'nhn-source-system: My system name' \
--header 'nhn-patient-nin: 48882807579'
Response example
{
"resourceType" : "Bundle",
"type" : "searchset",
"entry" : [ {
"resource" : {
"resourceType" : "AllergyIntolerance",
"id" : "3649d4e6-c8d4-4f58-b943-44d7c360acc3",
"meta" : {
"versionId" : "1",
"lastUpdated" : "2025-01-31T14:35:09.993+00:00",
"profile" : [ "http://nhn.no/kj/fhir/StructureDefinition/KjAllergyIntolerance" ]
},
"contained" : [ {
"resourceType" : "PractitionerRole",
"id" : "recorderRef",
"practitioner" : {
"identifier" : {
"system" : "urn:oid:2.16.578.1.12.4.1.4.4",
"value" : "222200063"
},
"display" : "Tandberg, Gard"
},
"organization" : {
"identifier" : {
"system" : "urn:oid:2.16.578.1.12.4.1.4.101",
"value" : "998570328"
},
"display" : "Munkholmen Legesenter"
},
"code" : [ {
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/CategoriesOfHealthProfessionals",
"code" : "LE",
"display" : "Lege"
} ]
} ]
} ],
"extension" : [ {
"url" : "http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation",
"valueCoding" : {
"system" : "http://nhn.no/kj/fhir/CodeSystem/SourceOfInformation",
"code" : "1",
"display" : "Resultat av tester / analyser"
}
} ],
"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"
} ]
},
"category" : [ "medication" ],
"criticality" : "low",
"code" : {
"extension" : [ {
"url" : "http://nhn.no/kj/fhir/StructureDefinition/KjInactiveIngredient",
"valueBoolean" : true
} ],
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/DrugTradeName",
"code" : "ID_6EBD25FE-5E86-4733-B4BA-8810D010876E",
"display" : "Ibuprox tab",
"userSelected" : true
}, {
"system" : "http://nhn.no/kj/fhir/CodeSystem/ActiveSubstance",
"code" : "ID_ECA56300-5E51-4152-913D-A2EA6E83AD72",
"display" : "Ibuprofen",
"userSelected" : false
}, {
"system" : "http://nhn.no/kj/fhir/CodeSystem/ATC",
"code" : "M01AE01",
"display" : "Ibuprofen",
"userSelected" : false
} ]
},
"patient" : {
"reference" : "Patient/48882807579"
},
"onsetAge" : {
"value" : 97,
"system" : "http://unitsofmeasure.org",
"code" : "a"
},
"recordedDate" : "1928-08-09T02:00:00+02:00",
"recorder" : {
"reference" : "#recorderRef"
},
"note" : [ {
"text" : "Periodisk hendelse basert på månesyklus og tidevannskrefter."
} ],
"reaction" : [ {
"manifestation" : [ {
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/TypeOfReaction",
"code" : "2",
"display" : "Blodtrykksfall"
} ]
} ]
} ]
}
}, {
"resource" : {
"resourceType" : "AllergyIntolerance",
"id" : "b9db66d0-f193-43a5-9b9c-18cfd27d869b",
"meta" : {
"versionId" : "1",
"lastUpdated" : "2025-01-31T14:35:10.038+00:00",
"profile" : [ "http://nhn.no/kj/fhir/StructureDefinition/KjAllergyIntolerance" ]
},
"contained" : [ {
"resourceType" : "PractitionerRole",
"id" : "recorderRef",
"practitioner" : {
"identifier" : {
"system" : "urn:oid:2.16.578.1.12.4.1.4.4",
"value" : "222200068"
},
"display" : "Ben Psa Reddik"
},
"organization" : {
"identifier" : {
"system" : "urn:oid:2.16.578.1.12.4.1.4.101",
"value" : "996374653"
},
"display" : "GLØSHAUGEN LEGESENTER DA"
},
"code" : [ {
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/CategoriesOfHealthProfessionals",
"code" : "LE",
"display" : "Lege"
} ]
} ]
} ],
"extension" : [ {
"url" : "http://nhn.no/kj/fhir/StructureDefinition/KjSourceOfInformation",
"valueCoding" : {
"system" : "http://nhn.no/kj/fhir/CodeSystem/SourceOfInformation",
"code" : "1",
"display" : "Resultat av tester / analyser"
}
} ],
"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"
} ]
},
"category" : [ "medication" ],
"criticality" : "high",
"code" : {
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/ATC",
"code" : "A11DA02",
"display" : "Sulbutiamin"
} ]
},
"patient" : {
"reference" : "Patient/48882807579"
},
"onsetAge" : {
"value" : 97,
"system" : "http://unitsofmeasure.org",
"code" : "a"
},
"recordedDate" : "1928-08-09T01:00:00+01:00",
"recorder" : {
"reference" : "#recorderRef"
},
"reaction" : [ {
"manifestation" : [ {
"coding" : [ {
"system" : "http://nhn.no/kj/fhir/CodeSystem/TypeOfReaction",
"code" : "10",
"display" : "Hudreaksjon INA"
} ]
} ]
} ]
}
} ]
}