Submit a batch of coded cases for DRG classification
Submit up to 1000 cases in one call; classification runs asynchronously.
Returns a job id immediately — poll GET /api/v1/drg/batch/{job_id}/ for
status and progressive per-case results.
Idempotency-Key header is required. Retrying a submission with the same key returns the same job (HTTP 200 instead of 201) and never re-processes or re-bills — safe to retry on any network failure.
Each case: case_ref (your identifier, unique within the batch), dx_codes
(ICD-10-CM, primary first), optional pr_codes (ICD-10-PCS), gender,
is_alive. source_dialect currently accepts icd10cm only — WHO ICD-10 /
ICD-11 batches are refused up front rather than mis-grouped.
Billing: one ledger row per case (service_type="drg_batch"), written exactly
once even across worker retries. A spend-capped organization’s submission is
refused at enqueue with a 429 and costs nothing.
Authorizations
API key for organization authentication. Obtain from the organization settings or API key management endpoint.
Headers
Caller-chosen key (8-128 chars) making the submission retry-safe.
Body
Request serializer for the async batch classification endpoint.
Up to 1000 cases per submission.
1 - 1000 elementsCode dialect of the submitted cases. Only icd10cm is accepted today; WHO ICD-10 / ICD-11 batches are refused up front rather than mis-grouped.
icd10cm- icd10cm
icd10cm MS-DRG version (default: v40, FY 2023)
v36- v36v37- v37v38- v38v39- v39v40- v40v43- v43
v36, v37, v38, v39, v40, v43 Response
Idempotent replay — existing job returned

