curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/conditions/{condition_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/conditions/{condition_id}', 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}/conditions/{condition_id}"
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",
"title": "<string>",
"clinical_status": "active",
"verification_status": "confirmed",
"review_status": "confirmed",
"code": {
"system": "icd-10-cm",
"code": "<string>"
},
"onset_date": "2023-12-25",
"resolved_date": "2023-12-25",
"notes": "<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"
}
}{
"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>"
}
]
}Get a condition
Permission: conditions:read
Get one condition from the problem list.
With Accept: application/fhir+json the answer is a FHIR R4 Condition.
curl --request GET \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/conditions/{condition_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/conditions/{condition_id}', 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}/conditions/{condition_id}"
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",
"title": "<string>",
"clinical_status": "active",
"verification_status": "confirmed",
"review_status": "confirmed",
"code": {
"system": "icd-10-cm",
"code": "<string>"
},
"onset_date": "2023-12-25",
"resolved_date": "2023-12-25",
"notes": "<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"
}
}{
"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.
Response
OK.
A diagnosis or problem-list entry — the exposed-field allow-list, field by field. review_status says where the record stands: confirmed is a row in the clinic's problem list (clinic truth; verification_status: confirmed, or unconfirmed while an item the clinic accepted automatically has not been reviewed by a clinician: see accepted_by); pending is an outside submission still waiting for a clinician (verification_status: unconfirmed); rejected and withdrawn are this key's own submissions that did not become chart truth. Only the submitting key or organization ever sees its own pending, rejected or withdrawn records.
Show child attributes
Show child attributes