Classify ICD-10 codes to a DRG
Classify ICD-10-CM diagnosis codes and ICD-10-PCS procedure codes into an MS-DRG code using the vhdrg classification engine.
No LLM cost — this endpoint uses deterministic rule-based classification.
Supported MS-DRG versions: v36 (FY2019) through v40 (FY2023), and v43 (FY2026). CMS grouper data for v41/v42 is not shipped by the vhdrg engine.
Authorizations
API key for organization authentication. Obtain from the organization settings or API key management endpoint.
Body
Request serializer for direct DRG classification endpoint.
ICD-10-CM diagnosis codes. First code is principal diagnosis.
11 - 10ICD-10-PCS procedure codes (7 characters each).
1 - 10Patient gender: "F" (female) or "M" (male)
F- FM- M
F, M Whether the patient was discharged alive
MS-DRG version (default: v40, FY 2023)
v36- v36v37- v37v38- v38v39- v39v40- v40v43- v43
v36, v37, v38, v39, v40, v43 Response
DRG classification result
Response serializer for direct DRG classification endpoint.
Primary DRG code (3-digit string)
DRG description
Major Diagnostic Category
DRG type: M (Medical) or P (Procedural)
All candidate DRG codes
MS-DRG version used
Fiscal year for the version
Echo of the input parameters
Response time in milliseconds

