ATHENA
Fetch patient lab results
Read one patient chart's lab-result documents from the preview Athena portal.
POSThttps://api.ontross.com/api/integrations/athena/fetch-patient-lab-results
Request Fields
input.org_id
integer
requiredAthena practice ID.
Example
32817input.department_id
integer
requiredChart department ID.
Example
4input.patient_id
integer
requiredPractice patient ID.
Example
913input.limit
integer
Maximum records from one bounded source response.
Example
10Default
25input.offset
integer
Local offset; pages refetch the source.
Example
0Default
0auth_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
patient_id
string
Requested practice patient ID.
Example
"913"chart_id
string
Resolved chart ID.
Example
"2346"results
array
Lab-result documents in source order.
results[].source_id
string
Result document ID.
Example
"24213"results[].clinical_result_id
string
Clinical result ID.
Example
"57021"results[].status
string
Document workflow status (NEW/REVIEW/CLOSED).
Example
"REVIEW"results[].result_status
string
Result status (final/preliminary).
Example
"final"results[].result_category
string
Abnormal/normal category as Athena labels it.
Example
"abnormal"results[].name
string
Result/order type name.
Example
"Urine drug screen"results[].code
string
Primary result code.
Example
"57021-8"results[].code_set
string
Coding system for the primary code.
Example
"LOINC"results[].order_type_id
string
Clinical order type ID.
Example
"643"results[].observation_date
string
Specimen collected date.
Example
"2026-09-24"results[].reported_date
string
Result reported date.
Example
"2026-09-25"results[].performing_lab
string
Performing lab / clinical provider name.
Example
"Example Regional Laboratory"results[].ordering_provider
string
Ordering provider username, when present.
Example
"jhale42"results[].tie_to_order_id
string
Order document the result ties to.
Example
"23905"results[].encounter_id
string
Encounter the result belongs to.
Example
"43129"results[].specimen_source
string
Specimen source, when present.
Example
"Urine"results[].has_attachment
boolean
Whether the result document has a scanned attachment.
Example
truetotal_matching
integer
Records in the one source response.
Example
7limit
integer
Requested local page size.
Example
10offset
integer
Requested local offset.
Example
0has_more
boolean
Whether that source response has more records.
Example
falsenext_offset
integer
Next local offset, when present.
Example
10Code
curl --request POST \
--url https://api.ontross.com/api/integrations/athena/fetch-patient-lab-results \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"department_id":4,"limit":10,"offset":0,"org_id":32817,"patient_id":913},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"department_id": 4,
"limit": 10,
"offset": 0,
"org_id": 32817,
"patient_id": 913
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"patient_id": "913",
"chart_id": "2346",
"results": [
{
"source_id": "24213",
"clinical_result_id": "57021",
"status": "REVIEW",
"result_status": "final",
"result_category": "abnormal",
"name": "Urine drug screen",
"code": "57021-8",
"code_set": "LOINC",
"order_type_id": "643",
"observation_date": "2026-09-24",
"reported_date": "2026-09-25",
"performing_lab": "Example Regional Laboratory",
"ordering_provider": "jhale42",
"tie_to_order_id": "23905",
"encounter_id": "43129",
"specimen_source": "Urine",
"has_attachment": true
}
],
"total_matching": 7,
"limit": 10,
"offset": 0,
"has_more": false,
"next_offset": 10
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}