scribe:generate for all three endpoints, including GET requests.
Retrieve or start clinical coding
202 while pending and 200 afterward. Check status
for success or failure. Responses use Cache-Control: no-store.
Choose code systems or request a new run
POST /sessions/{session_id}/clinical-codes
code_systems requires 1–15 identifiers. The example requires a provider enabled
for icd10cm-outpatient; use the system identifiers confirmed for your integration.
The 202 response contains job_id and status. Poll the job and retrieve
the coding result with the GET above.
Assess an E/M level
First generate a consult note and wait for it to complete. Then request:patient_type is required: choose new_patient or established_patient.
Assessment uses the latest completed consult note produced through the
consult-note endpoint and the current document version.
At least two supported MDM elements must meet the selected level. Insufficient
documented evidence produces
insufficient_documentation and a null code.
Editing the source note invalidates its cached assessment; retrieve an assessment
for the new version before relying on it.
Supported scope
E/M covers US office/outpatient MDM-based assessment for new and established patients. It does not cover time-based billing or facility-specific levels. No completed consult note returns409 CONSULT_NOTE_REQUIRED. A provider failure
or unsupported code system must be resolved before using the result.