ECLINICALWORKS
Get patient problems
Get a patient's problem list: diagnoses with ICD-10 and SNOMED codes.
POSThttps://api.ontross.com/api/integrations/ecw/get-patient-problems
Request Fields
input.patientId
string
requiredPatient chart whose problem list is read, from fetch-patients.
Example
"407069"auth_id
string
requiredSaved 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
patientId
string
Patient chart the problem list was read for.
Example
"407069"problems
array
Problem-list entries, in the order ECW returns them.
problems[].problemId
string
ECW identifier of this problem-list entry.
Example
"297649"problems[].code
string
Diagnosis code as recorded, ICD-10 unless icdVersion says otherwise.
Example
"H52.13"problems[].name
string
Diagnosis description shown on the problem list.
Example
"Myopia, bilateral"problems[].icdVersion
string
ICD edition of the code as ECW records it.
Example
"10"problems[].snomedCode
string
SNOMED CT concept mapped to this problem, when ECW holds one.
Example
"345061000119109"problems[].problemType
string
Whether the entry is a diagnosis or a condition.
Example
"diagnosis"problems[].workupStatus
string
Work-up status of the problem.
Example
"confirmed"problems[].inactive
string
Raw flag: "1" when the problem is inactive.
Example
"0"problems[].severity
string
Severity as recorded, when set.
Example
"2"problems[].risk
string
Risk annotation, when set.
Example
"Elevated cardiovascular risk"problems[].condition
string
Condition annotation, when set.
Example
"Stable"problems[].onsetDate
string
Onset date as recorded, when set.
Example
"01/15/2024"problems[].resolvedOn
string
Date the problem was resolved, when it has been.
Example
"09/20/2026"problems[].addedOn
string
Date the problem was added to the list.
Example
"02/24/2026"problems[].modifiedOn
string
Date the entry was last changed.
Example
"02/24/2026"problems[].modifiedBy
string
User who last changed the entry.
Example
"Klein, Solomon"problems[].encounterId
string
Encounter in which the problem was recorded.
Example
"4764784"problems[].notes
string
Free-text note attached to the problem.
Example
"Continue routine blood pressure monitoring."problems[].specify
string
Free-text qualifier attached to the problem.
Example
"Without complications"problems[].icdValid
string
ECW's validity verdict on the code for orders and claims, when provided.
Example
"Valid"Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ecw/get-patient-problems \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patientId":"407069"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patientId": "407069"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"patientId": "407069",
"problems": [
{
"problemId": "297649",
"code": "H52.13",
"name": "Myopia, bilateral",
"icdVersion": "10",
"snomedCode": "345061000119109",
"problemType": "diagnosis",
"workupStatus": "confirmed",
"inactive": "0",
"severity": "2",
"risk": "Elevated cardiovascular risk",
"condition": "Stable",
"onsetDate": "01/15/2024",
"resolvedOn": "09/20/2026",
"addedOn": "02/24/2026",
"modifiedOn": "02/24/2026",
"modifiedBy": "Klein, Solomon",
"encounterId": "4764784",
"notes": "Continue routine blood pressure monitoring.",
"specify": "Without complications",
"icdValid": "Valid"
}
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}