Get a list of allergy intolerances
get
/AllergyIntolerance
Retrieves a list of allergy intolerances that meet supplied query parameters.
Authorization Types
This operation supports the following authorization types:
- Provider
- Patient
- System
Request
Query Parameters
-
_id(required): string
The logical resource ID associated with the resource.
- This parameter is required if the
patient
parameter is not used. - May not be provided with any other parameters.
Example:_id=12345
- This parameter is required if the
-
patient(required): string
Who the sensitivity is for. This parameter is required if the
_id
parameter is not used.
Example:patient=12345
-
status: string
Header Parameters
-
accept(required): string
The media type to be requested. See what the resource's operation produces for what is supported.
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
Response
Supported Media Types
- application/json+fhir
Default Response
Example search by patient.
Example Request:
Example Request:
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?patient=12742399
Example Response:
{
'resourceType': 'Bundle',
'id': '7c99ef7b-3d34-40af-a86e-426375329d7b',
'type': 'searchset',
'total': 2,
'link': [
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?patient=12742399'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/12760019',
'resource': {
'resourceType': 'AllergyIntolerance',
'id': '12760019',
'meta': {
'versionId': '12760019',
'lastUpdated': '2020-03-04T20:15:37.000Z'
},
'text': {
'status': 'generated',
'div': '<div><p><b>Allergy Intolerance</b></p><p><b>Patient</b>: SMART, SANDY A</p><p><b>Allergy</b>: acetaminophen</p><p><b>Status</b>: Active</p><p><b>Criticality</b>: High Risk</p><p><b>Reactions</b>: Rash</p><p><b>Onset</b>: Dec 2019</p></div>'
},
'onset': '2019-12',
'recordedDate': '2020-03-04T14:15:37.000-06:00',
'patient': {
'reference': 'Patient/12742399',
'display': 'SMART, SANDY A'
},
'substance': {
'coding': [
{
'system': 'http://www.nlm.nih.gov/research/umls/rxnorm',
'code': '161',
'display': 'Acetaminophen',
'userSelected': false
}
],
'text': 'acetaminophen'
},
'status': 'active',
'criticality': 'CRITH',
'reaction': [
{
'id': '12760021',
'manifestation': [
{
'coding': [
{
'system': 'http://snomed.info/sct',
'code': '271807003',
'display': 'Eruption of skin (disorder)',
'userSelected': false
}
],
'text': 'Rash'
}
]
}
]
}
},
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/12760025',
'resource': DSTU2_ALLERGY_INTOLERANCE_RESOURCE
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
x-with-_revinclude Response
Example search by
Example Request:
patient
with the status
.
Example Request:
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?patient=12742399&status=active
Example Response:
{
'resourceType': 'Bundle',
'id': 'fb2804ce-a379-4ae0-ae48-a608787f83f1',
'type': 'searchset',
'total': 2,
'link': [
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?patient=12742399&status=active'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/12760025',
'resource': DSTU2_ALLERGY_INTOLERANCE_RESOURCE
},
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/12760019',
'resource': {
'resourceType': 'AllergyIntolerance',
'id': '12760019',
'meta': {
'versionId': '12760019',
'lastUpdated': '2020-03-04T20:15:37.000Z'
},
'text': {
'status': 'generated',
'div': '<div><p><b>Allergy Intolerance</b></p><p><b>Patient</b>: SMART, SANDY A</p><p><b>Allergy</b>: acetaminophen</p><p><b>Status</b>: Active</p><p><b>Criticality</b>: High Risk</p><p><b>Reactions</b>: Rash</p><p><b>Onset</b>: Dec 2019</p></div>'
},
'onset': '2019-12',
'recordedDate': '2020-03-04T14:15:37.000-06:00',
'patient': {
'reference': 'Patient/12742399',
'display': 'SMART, SANDY A'
},
'substance': {
'coding': [
{
'system': 'http://www.nlm.nih.gov/research/umls/rxnorm',
'code': '161',
'display': 'Acetaminophen',
'userSelected': false
}
],
'text': 'acetaminophen'
},
'status': 'active',
'criticality': 'CRITH',
'reaction': [
{
'id': '12760021',
'manifestation': [
{
'coding': [
{
'system': 'http://snomed.info/sct',
'code': '271807003',
'display': 'Eruption of skin (disorder)',
'userSelected': false
}
],
'text': 'Rash'
}
]
}
]
}
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
x-with-patient-auth Response
Example search using
Example Request:
_id
.
Example Request:
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?_id=12760025
Example Response:
{
'resourceType': 'Bundle',
'id': 'f458542b-3e85-4930-949c-606f0941510e',
'type': 'searchset',
'total': 1,
'link': [
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance?_id=12760025'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/12760025',
'resource': DSTU2_ALLERGY_INTOLERANCE_RESOURCE
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.