Tross
Demo dataBook a demo
ECLINICALWORKS

Fetch hpi notes

Get history of present illness text.

POSThttps://preview.ontross.com/api/integrations/ecw/fetch-hpi-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"
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
hpiData
string
History of Present Illness text for the chosen HPI category.
Example
"Reports a dry cough for three days without fever or shortness of breath."
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ecw/fetch-hpi-notes \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patientId":"407069","date":"03/14/2026"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patientId": "407069",
    "date": "03/14/2026"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "hpiData": "Reports a dry cough for three days without fever or shortness of breath."
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}