Skip to main content
DELETE
Remove Diagnosis 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). notFound 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

The Cobalt appointment ID.

Body

application/json
codes
object[]
required

Codes to remove. Accepts one or many.

callback_urls
string[]

Optional per-request webhook URLs to notify on completion.

Response

Operation queued.

success
boolean
message
string
job_id
string

Job execution identifier for tracking the async operation.