ATHENA
Fetch document
Fetch document in Athena
POSThttps://api.ontross.com/api/integrations/athena/fetch-document
Request Fields
input.org_id
integer
requiredOrg id
Example
25910input.department_id
integer
requiredDepartment id
Example
3input.patient_id
integer
requiredPatient id
Example
596input.document_id
string
requiredSource identifiers remain strings.
Example
"61248"auth_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
document_id
string
Source identifiers remain strings.
patient_id
string
Source identifiers remain strings.
chart_id
string
Source identifiers remain strings.
department_id
string
Source identifiers remain strings.
document_class
string
Document class
label_id
string
Source identifiers remain strings.
label_name
string
Label name
provider_username
string
Provider username
source_status
string
Source status
actual_assignee_username
string
Actual assignee username
document_date
string
Document date
pin_action_note_to_top
boolean
Pin action note to top
version_token
string
Version token
action_note_id
string
Action note id
edit_context_token
string
Edit context token
allowed_actions
array
List of allowed actions.
action_context_expires_at
string
Action context expires at
pin_semantics
string
Pin semantics
chart_top_visibility_verified
boolean
Chart top visibility verified
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/athena/fetch-document \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"org_id":25910,"department_id":3,"patient_id":596,"document_id":"61248"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"org_id": 25910,
"department_id": 3,
"patient_id": 596,
"document_id": "61248"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"document_id": "string",
"patient_id": "string",
"chart_id": "string",
"department_id": "string",
"document_class": "string",
"label_id": "string",
"label_name": "string",
"provider_username": "string",
"source_status": "string",
"actual_assignee_username": "string",
"document_date": "2019-08-24",
"pin_action_note_to_top": true,
"version_token": "string",
"action_note_id": "string",
"edit_context_token": "string",
"allowed_actions": [
"string"
],
"action_context_expires_at": "2019-08-24T14:15:22Z",
"pin_semantics": "action_note",
"chart_top_visibility_verified": true
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}