Tross
Demo dataBook a demo
ECLINICALWORKS

Verify history sections

Mark an encounter history section verified.

POSThttps://preview.ontross.com/api/integrations/ecw/verify-history-sections
Request Fields
input.patientId
string
required
Patient identifier in eClinicalWorks.
Example
"407069"
input.encounterId
string
required
Encounter identifier containing the history section to verify.
Example
"1870494"
input.section
string
required
History section to verify. Possible values: current_medications, past_medical_history, allergies, surgical_history, family_history, social_history, hospitalization.
Example
"social_history"
Accepted values
current_medicationspast_medical_historyallergiessurgical_historyhospitalizationfamily_historysocial_history
input.date
string
Optional encounter date fallback. Use MM/DD/YYYY format.
Example
"03/14/2026"
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
verified
boolean
Whether every requested history section verified successfully.
Example
true
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ecw/verify-history-sections \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patientId":"PATIENT_ID","encounterId":"ENCOUNTER_ID","date":"MM/DD/YYYY","section":"social_history"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patientId": "PATIENT_ID",
    "encounterId": "ENCOUNTER_ID",
    "date": "MM/DD/YYYY",
    "section": "social_history"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "verified": true
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}