Skip to main content
DELETE
Remove appointment codes
This is an asynchronous operation. The request returns a job_id immediately, and a webhook is sent when the operation completes. Codes that are not on the encounter are ignored. Currently available on eClinicalWorks.
The body is the same shape as Add Diagnosis Codes: each code is { "type": "icd10", "code": "..." }, and you can remove one or many in a single request.

Example Request

Example Response

Webhook

On completion we send a codes.removed event (or codes.failed on error). not_found lists codes that were not on the encounter.
See Operation Events for the failure payload and error codes.

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Path Parameters

appointment_id
string
required

Cobalt appointment ID.

Body

application/json
codes
object[]
required

ICD-10 diagnosis codes to add or remove. CPT/procedure codes are not yet supported.

callback_urls
string[]

URLs to receive the completion webhook for this operation, in addition to the account webhook.

Example:

Response

Operation queued for processing

success
boolean
required
message
string
required
job_id
integer
required