ECLINICALWORKS
Write Hpi Notes
Write hpi notes in eClinicalWorks
POSThttps://api.ontross.com/api/integrations/ecw/write-hpi-notes
Request Fields
input
object
requiredInput object.
input.patientId
string
requiredPatient id
input.encounterId
string
requiredEncounter id
input.hpiData
string
requiredHpi data
input.categoryId
string
Numeric HPI category id from fetch-chart-catalog (keyName=HPI). Preferred over category name.
Default
""input.category
string
HPI category name fallback used only when categoryId is not provided.
Default
""input.append_input
boolean
Append input
Default
falseinput.prepend_input
boolean
When true, prepend hpiData to the existing HPI note for the selected category. Cannot be used with append_input.
Default
falseauth_id
string
requiredAuth id
Output Fields
writeSuccess
boolean
Write success
Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ecw/write-hpi-notes \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patientId":"string_id","encounterId":"string_id","hpiData":"string","categoryId":"540017","category":"General","append_input":false,"prepend_input":false},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patientId": "string_id",
"encounterId": "string_id",
"hpiData": "string",
"categoryId": "540017",
"category": "General",
"append_input": false,
"prepend_input": false
},
"auth_id": "auth_uuid_here"
}