Skip to main content
Corrective CDSS (“clinical decision support”) reviews a completed consultation against clinical guidelines and flags actionable issues in the record — an omitted medication, an incorrect dosage, a non-pertinent order. Each finding is an alert. Alerts are attached to the medical record: read them from the cdssAlerts field on the medical record documents endpoint. cdssAlerts is null when clinical decision support is disabled for the session or no alerts were generated, and [] when it ran and produced none.

The alert model

Use id as the alert’s identifier — it is a stable, opaque token. elementId is the clinical element key (e.g. ASPIRIN); it is human-readable but can repeat across documents, so never use it as an identifier.

Field reference

Acting on an alert

Record the doctor’s decision with the alert’s id. Accepting an alert applies its proposed change to the medical record; rejecting one leaves the record unchanged. Both require an API key carrying scribe:write or scribe:cdss.
Response:
Use the same request against /reject to reject the alert.
A success response means the decision was recorded. An accepted alert is applied to the medical record in the background, so re-reading the record immediately afterwards may still show its previous content. The alert’s own status is updated right away.
Recording the same decision twice is safe — the decision is stored per alert, so a retry produces the same result.

Several alerts at once

Send one request per consultation review instead of one per alert. Every alert is validated before any decision is recorded, so a batch containing an alert you cannot act on records nothing.
Response:
Each decision is accepted or rejected. The response lists one entry per submitted alert, in the order received. An alert may appear only once per request.

Errors