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": "440",
"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 44.0 including mid-year patches (FY2023-FY2027), 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
Every response carries a grouper return code that flags sex conflicts, invalid discharge status, and principal diagnoses the grouper rejects
Grouping is checked end to end around the clock by an outside monitor. Availability reports on request.
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.
" Built to CMS’s MS-DRG specifications and checked against CMS’s published test claims. Maintained and updated annually with new fiscal year releases. See the results. "
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 →