Tross
Demo dataBook a demo
ECLINICALWORKS

Write assessments icd10 notes

Add ICD-10 codes to an encounter assessment.

POSThttps://preview.ontross.com/api/integrations/ecw/write-assessments-icd10-notes
Request Fields
input.patientId
string
required
Patient chart being read or written, from fetch-patients.
Example
"407069"
input.date
string
required
Picks the encounter or schedule day when encounterId is omitted.
Example
"03/14/2026"
input.icd10
array
required
ICD-10 codes added to or looked up in the Assessment section.
Example
["E11.00","J30.9"]
input.encounterId
string
Encounter being read or written, from fetch-appointments.
Example
"1870494"
input.icd10_options
object
Refinement answers per code, keyed by the modifier popup's header.
Default
{}
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
assessmentDataWritten
string
Assessment text eCW held after the ICD-10 codes were added.
Example
"1. Allergic rhinitis, unspecified - J30.9"
icd10CodeMap
object
Maps each requested code to the refined code eCW actually stored.
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ecw/write-assessments-icd10-notes \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patientId":"407069","date":"03/14/2026","icd10":["E11.00","J30.9"],"encounterId":"1870494","icd10_options":{"J30.9":{"Allergic rhinitis seasonality":"seasonal","Allergic rhinitis trigger":"pollen"}}},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patientId": "407069",
    "date": "03/14/2026",
    "icd10": [
      "E11.00",
      "J30.9"
    ],
    "encounterId": "1870494",
    "icd10_options": {
      "J30.9": {
        "Allergic rhinitis seasonality": "seasonal",
        "Allergic rhinitis trigger": "pollen"
      }
    }
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "assessmentDataWritten": "1. Allergic rhinitis, unspecified - J30.9",
    "icd10CodeMap": {}
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}