Tross
Demo dataBook a demo
ATHENA PROD

Create treatment plan

Create a behavioral treatment plan.

POSThttps://preview.ontross.com/api/integrations/athena-prod/create-treatment-plan
Request Fields
input.org_id
integer
required
Practice context, shown in the athenanet portal URL.
Example
47902
input.department_id
integer
required
Department the session opens, shown in the portal URL.
Example
1
input.patient_id
integer
required
Patient whose chart is read or written, from the chart URL.
Example
4044
input.plan_name
string
Treatment plan name. Athena's dashboard default is used when omitted: 'Treatment Plan created on MM-DD-YYYY'.
Example
"Behavioral Health Plan"
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
created_treatment_plan_id
string
New behavioral health concern identifier serving as the plan identifier.
Example
"9064"
health_concern_id
string
Parent behavioral concern, which doubles as the treatment plan id.
Example
"9064"
patient_id
integer
Patient whose chart is read or written, from the chart URL.
Example
9074621
plan_name
string
Name for the treatment plan container, defaulted when blank.
Example
"Treatment Plan created on 10-09-2026"
health_concern_type
string
Fixed Behavioral classification assigned to the new container.
Example
"Behavioral"
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/athena-prod/create-treatment-plan \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"org_id":47902,"department_id":1,"patient_id":4044,"plan_name":"Behavioral Health Plan"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "org_id": 47902,
    "department_id": 1,
    "patient_id": 4044,
    "plan_name": "Behavioral Health Plan"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "created_treatment_plan_id": "9064",
    "health_concern_id": "9064",
    "patient_id": 9074621,
    "plan_name": "Treatment Plan created on 10-09-2026",
    "health_concern_type": "Behavioral"
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}