ATHENA PROD
Upload document
Upload document in Athena Prod
POSThttps://api.ontross.com/api/integrations/athena-prod/upload-document
Request Fields
No fields available
Output Fields
outcome
string
Outcome
phase
string
Phase
document
object
Output object.
document.document_id
string
Source identifiers remain strings.
document.patient_id
string
Source identifiers remain strings.
document.chart_id
string
Source identifiers remain strings.
document.department_id
string
Source identifiers remain strings.
document.document_class
string
Document class
document.label_id
string
Source identifiers remain strings.
document.label_name
string
Label name
document.provider_username
string
Provider username
document.source_status
string
Source status
document.actual_assignee_username
string
Actual assignee username
document.document_date
string
Document date
document.pin_action_note_to_top
boolean
Pin action note to top
document.version_token
string
Version token
document.action_note_id
string
Action note id
document.edit_context_token
string
Edit context token
document.allowed_actions
array
List of allowed actions.
document.action_context_expires_at
string
Action context expires at
document.pin_semantics
string
Pin semantics
document.chart_top_visibility_verified
boolean
Chart top visibility verified
file_sha256
string
File sha256
file_verified
boolean
File verified
warnings
array
List of warnings.
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/athena-prod/upload-document \
--header 'X-API-Key: REPLACE_KEY_VALUE'Request BODY
{
"input": {},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"outcome": "created",
"phase": "validated",
"document": {
"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
},
"file_sha256": "string",
"file_verified": true,
"warnings": [
"string"
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}