ATHENA PROD
Fetch active diagnoses
List a patient's active diagnoses.
POSThttps://preview.ontross.com/api/integrations/athena-prod/fetch-active-diagnoses
Request Fields
input.org_id
integer
requiredPractice context, shown in the athenanet portal URL.
Example
25910input.department_id
integer
requiredDepartment the session opens, shown in the portal URL.
Example
1input.patient_id
integer
requiredPatient whose chart is read or written, from the chart URL.
Example
1auth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
active_diagnoses
array
Patient conditions filtered to clinically active ones only.
Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/athena-prod/fetch-active-diagnoses \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"org_id":25910,"department_id":1,"patient_id":1},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"org_id": 25910,
"department_id": 1,
"patient_id": 1
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"active_diagnoses": [
{}
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}