ATHENA PROD
Create prescription order
Create prescription order in Athena Prod
POSThttps://api.ontross.com/api/integrations/athena-prod/create-prescription-order
Request Fields
input.org_id
integer
requiredAthena practice ID.
Example
32817input.department_id
integer
requiredOrdering department ID.
Example
4input.patient_id
integer
requiredPractice patient ID.
Example
1133input.provider_id
integer
requiredOrdering provider ID for the order group.
Example
7input.order_type_id
integer
requiredClinicalOrderType ID of the medication.
Example
191220input.medication_name
string
requiredMedication name as the ClinicalOrderType.
Example
"atorvastatin 10 mg tablet"input.order_code
string
Source medication code (e.g. FDB_MEDID).
Example
"170427"input.perform_date
string
Order perform date (YYYY-MM-DD); defaults to today.
Example
"2026-10-14"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
order_id
string
Created order document ID.
Example
"31057"clinical_prescription_id
string
Clinical prescription ID, when assigned.
Example
"8812"order_group_id
string
Order group / encounter ID the order belongs to.
Example
"10722"status
string
Order status returned by Athena.
Example
"REVIEW"signed
boolean
Always false: this operation creates an unsigned order.
Example
falsetransmitted
boolean
Always false: transmit requires a prescriber sign-off.
Example
falseCode
curl --request POST \
--url https://api.ontross.com/api/integrations/athena-prod/create-prescription-order \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"department_id":4,"medication_name":"atorvastatin 10 mg tablet","order_code":"170427","order_type_id":191220,"org_id":32817,"patient_id":1133,"provider_id":7},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"department_id": 4,
"medication_name": "atorvastatin 10 mg tablet",
"order_code": "170427",
"order_type_id": 191220,
"org_id": 32817,
"patient_id": 1133,
"provider_id": 7
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"order_id": "31057",
"clinical_prescription_id": "8812",
"order_group_id": "10722",
"status": "REVIEW",
"signed": false,
"transmitted": false
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}