Tross
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
required
Athena practice ID.
Example
32817
input.department_id
integer
required
Ordering department ID.
Example
4
input.patient_id
integer
required
Practice patient ID.
Example
1133
input.provider_id
integer
required
Ordering provider ID for the order group.
Example
7
input.order_type_id
integer
required
ClinicalOrderType ID of the medication.
Example
191220
input.medication_name
string
required
Medication 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
required
Saved 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
false
transmitted
boolean
Always false: transmit requires a prescriber sign-off.
Example
false
Code
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"
}