ECLINICALWORKS
Search surgical history
Search the surgical history catalog.
POSThttps://preview.ontross.com/api/integrations/ecw/search-surgical-history
Request Fields
input.searchText
string
requiredKeyword matched against the allergy, medication, or surgery catalog.
Example
"example"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
items
array
Historical procedure catalog entries matching the supplied query.
items[].catalogItemId
string
Surgical History catalog entry this surgery matched to.
Example
"60742"items[].name
string
Procedure display label returned by the keyword catalog.
Example
"Jane Doe"items[].notes
string
Source annotation accompanying the historical procedure catalog entry.
Example
"Removal of the gallbladder."Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/ecw/search-surgical-history \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"searchText":"example"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"searchText": "example"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"items": [
{
"catalogItemId": "60742",
"name": "Jane Doe",
"notes": "Removal of the gallbladder."
}
]
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}