curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entry": "structured",
"substance": {
"text": "<string>",
"code": {
"system": "rxnorm",
"code": "<string>",
"display": "<string>"
}
},
"verification_status": "confirmed",
"review_status": "confirmed",
"category": [
"food"
],
"criticality": "low",
"type": "allergy",
"clinical_status": "active",
"reactions": [
{
"manifestation": [
"<string>"
],
"severity": "mild",
"description": "<string>"
}
],
"onset_date": "2023-12-25",
"note": "<string>",
"recorded_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "clinic",
"origin_assistant_name": "<string>",
"accepted_by": "clinic",
"reviewed_at": "2023-11-07T05:31:56Z",
"reviewed_by_staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"submission_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decision_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}List allergies
Permission: allergies:read
List one patient’s allergies (the confirmed chart, or what this key submitted).
patient_id is required. review_status picks the view: confirmed (default) is the clinic’s own allergy list; pending is this key’s own submissions still waiting for a clinician (and those a clinician rejected); all is both. clinical_status filters the confirmed records. The confirmed list also includes allergies that are only a name on the clinic’s simple allergy list, as entry: legacy_text items with no id. An empty list does NOT mean “no known allergies”. A restricted patient’s allergies are never returned. With Accept: application/fhir+json the answer is a searchset Bundle of FHIR R4 AllergyIntolerance resources.
curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/allergies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entry": "structured",
"substance": {
"text": "<string>",
"code": {
"system": "rxnorm",
"code": "<string>",
"display": "<string>"
}
},
"verification_status": "confirmed",
"review_status": "confirmed",
"category": [
"food"
],
"criticality": "low",
"type": "allergy",
"clinical_status": "active",
"reactions": [
{
"manifestation": [
"<string>"
],
"severity": "mild",
"description": "<string>"
}
],
"onset_date": "2023-12-25",
"note": "<string>",
"recorded_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "clinic",
"origin_assistant_name": "<string>",
"accepted_by": "clinic",
"reviewed_at": "2023-11-07T05:31:56Z",
"reviewed_by_staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"submission_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decision_reason": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"next_cursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
confirmed, pending, all active, inactive, resolved 1 <= x <= 100