Overview
Allergies and Intolerances Information addresses:- AllergyIntolerance HL7® FHIR® resource with US Core Profile 6.1.0
AllergyIntolerance.code = "1631000175102" (Patient not asked (contextual qualifier) (qualifier value))AllergyIntolerance.verificationStatus = "unconfirmed"or empty (element omitted)
AllergyIntolerance.code = "716186003" (No known allergy (situation))AllergyIntolerance.verificationStatus = "confirmed"
- a clinical status of the allergy (e.g., active or resolved)
- a code which tells you what the patient is allergic to
- a patient
- a verification status
- a reaction manifestation
| USCore Data Element | FHIR Resource Field |
|---|---|
| Substance(Drug class) | AllergyIntolerance.code(Snomed CT) |
| Substance(Medication) | AllergyIntolerance.code (RxNorm) |
| Reaction | AllergyIntolerance.reaction |
Must support elements, mandatory and optional search parameters
Allergy Intolerancemust support these elements:clinicalStatusverificationStatuscodepatientreactionmanifestation
codepatient
GET [base url]/AllergyIntolerance?patient={Type/}[id]
The following search parameter combinations SHOULD be supported (optional):
SHOULD support searching using the combination of the patient and clinical-status search parameters:
GET [base url]/AllergyIntolerance?patient={Type/}[id]&clinical-status={system|}[code]
The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.
Allergies By Patient Id
Search for allergies by patient. METHOD GETPatient/
[id] - Id for the Patient
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Allergies By Patient and Clinical Status
Search for allergies using the combination of the patient and clinical-status search parameters. METHOD GETPatient/
[id] - Reference to the patient
{system|} - Terminology system for allergy intolerance clinical status. FHIR search token parameter. See Search specification for more information. Example: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|
[code] - Clinical status code. Example: active, inactive, resolved
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |