Tross
Demo dataBook a demo
ATHENA PROD

Create treatment plan concern

Add a concern to a behavioral plan.

POSThttps://preview.ontross.com/api/integrations/athena-prod/create-treatment-plan-concern
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.concern
object
required
One search-health-concerns result, passed through unchanged.
Example
{"snomed_concept_id":"48694002","title":"Anxiety"}
input.concern.title
string
required
Display name of the concern, saved as the problem's description.
Example
"Anxiety"
input.concern.snomed_concept_id
string
required
SNOMED concept ID stored as the problem's medical code.
Example
"48694002"
input.diagnoses
array
required
Active diagnoses to attach, from fetch-active-diagnoses.
Example
[{"icd10_code":"F41.1","id":"81702660"}]
input.diagnoses[].id
string
required
FHIR condition resource identifier from fetched active diagnoses.
Example
"90817263"
input.diagnoses[].icd10_code
string
required
ICD-10 code of the chosen active diagnosis.
Example
"F41.1"
input.as_evidenced_by
string
required
Evidence for the concern, saved as the problem's Symptom field.
Example
"Patient-reported symptoms"
input.goals
array
Existing goals to link to the new concern.
Example
[{"goal_id":"4216"}]
input.goals[].goal_id
string
Goal receiving this change, returned as created_goal_id.
Example
"9086"
input.concern_status
string
Achievement state on the new problem, NotAchieved when omitted.
Example
"NotAchieved"
Default
"NotAchieved"
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_concern_problem_id
string
Problem Athena created under the behavioral health concern.
Example
"909107"
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
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/athena-prod/create-treatment-plan-concern \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"org_id":47902,"department_id":1,"patient_id":4044,"concern":{"snomed_concept_id":"48694002","title":"Anxiety"},"diagnoses":[{"icd10_code":"F41.1","id":"81702660"}],"goals":[{"goal_id":"4216"}],"as_evidenced_by":"Patient-reported symptoms","concern_status":"NotAchieved"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "org_id": 47902,
    "department_id": 1,
    "patient_id": 4044,
    "concern": {
      "snomed_concept_id": "48694002",
      "title": "Anxiety"
    },
    "diagnoses": [
      {
        "icd10_code": "F41.1",
        "id": "81702660"
      }
    ],
    "goals": [
      {
        "goal_id": "4216"
      }
    ],
    "as_evidenced_by": "Patient-reported symptoms",
    "concern_status": "NotAchieved"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "created_concern_problem_id": "909107",
    "health_concern_id": "9064",
    "patient_id": 9074621
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}