Production-ready API for MS-DRG calculation with ICD-10 validation, HAC logic, and instant results
curl -X POST https://api.revenuecycle.works/api/drg/group \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"grouperVersion": "430",
"principalDiagnosis": {
"code": "I2510",
"poa": "Y"
},
"secondaryDiagnoses": [
{"code": "E119", "poa": "Y"},
{"code": "I10", "poa": "Y"}
],
"procedures": ["021109W"],
"ageInYears": 65,
"sex": "MALE",
"dischargeStatus": "HOME_SELFCARE_ROUTINE"
}'
{
"finalDrg": "236",
"finalBaseDrg": "235",
"finalMdc": "5",
"finalSeverity": "NON_CC",
"finalGrouperReturnCode": "OK",
"diagnosisValidation": {
"E119": true,
"I2510": true,
"I10": true
},
"procedureValidation": {
"021109W": true
},
"diagnosisSeverityFlags": {
"E119": "NEITHER",
"I2510": "NEITHER",
"I10": "NEITHER"
},
"diagnosisAffectsDrg": {
"E119": false,
"I2510": true,
"I10": false
},
"procedureAffectsDrg": {
"021109W": true
},
"procedureIsOperatingRoom": {
"021109W": true
},
"hacStatus": "NOT_APPLICABLE"
}
Support for versions 40.0 through 43.0 (FY2024-FY2026), with automatic updates for new fiscal years
Average API response time under 200ms for fast, real-time integrations
Built-in validation for diagnosis and procedure codes with detailed error messages
Hospital-Acquired Condition detection and Present on Admission indicator processing
Medicare Code Editor validation including age/sex conflicts and discharge status edits
Production-grade infrastructure with high availability and reliability
Pre-populate expected reimbursement amounts and validate coding accuracy before claim submission. Help providers understand financial impact during the care delivery process.
Validate claims before submission, identify coding errors early, and optimize reimbursement. Reduce claim denials with pre-submission validation.
Analyze case mix, track trends, and generate reports on DRG distribution. Build dashboards and business intelligence tools for healthcare organizations.
Show financial impact of diagnosis and procedure selection in real-time. Help clinicians make informed decisions about documentation and coding.
Fill out our contact form with your use case and estimated volume. We'll discuss pricing options and get you set up with an API key.
Use our comprehensive documentation and code examples to integrate in minutes. Support for Python, JavaScript, Ruby, PHP, and more.
Send patient demographics and ICD-10 codes, receive instant DRG assignments with validation. Start building with full access to all features.
" Powered by CMS-certified MS-DRG grouper software with the same logic used by Medicare Administrative Contractors. Maintained and updated annually with new fiscal year releases. "
Get your API key and start building today with full access to all features.
Questions? Email us at [email protected]
Want to try DRG grouping before integrating?
Use our free web tool →