Synthetic data only. Modeled on MS-DRG-style grouping, not the official CMS grouper. Weights and geometric mean lengths of stay are illustrative, not CMS values. Flags are for review.
Case mix index by month
By service line
| Service line | Cases | Share | CMI | ALOS | GMLOS | LOS index | Cost/case | Cost/CMI case |
|---|---|---|---|---|---|---|---|---|
| Cardiology | 705 | 19.5% | 0.934 | 3.41 | 3.19 | 1.068 | $7,317 | $7,839 |
| Gastroenterology | 416 | 11.5% | 1.107 | 3.19 | 3.25 | 0.982 | $8,330 | $7,522 |
| General surgery | 207 | 5.7% | 1.839 | 4.51 | 4.65 | 0.969 | $13,869 | $7,524 |
| Medicine | 650 | 18.0% | 0.954 | 4.18 | 3.65 | 1.146 | $7,422 | $7,782 |
| Neurology | 288 | 8.0% | 0.960 | 3.42 | 3.24 | 1.058 | $7,618 | $7,927 |
| Obstetrics | 313 | 8.7% | 0.736 | 2.49 | 2.59 | 0.962 | $5,498 | $7,469 |
| Orthopedics | 396 | 11.0% | 2.333 | 3.34 | 3.64 | 0.918 | $17,425 | $7,468 |
| Pulmonary | 632 | 17.5% | 1.003 | 3.96 | 3.66 | 1.081 | $7,809 | $7,781 |
CMI by service line
Baseline window against current window. The axis starts at zero.
By month
| Month | Cases | Share | CMI | ALOS | GMLOS | LOS index | Cost/case | Cost/CMI case |
|---|---|---|---|---|---|---|---|---|
| 2024-12 | 158 | 4.4% | 1.178 | 3.40 | 3.29 | 1.033 | $9,222 | $7,825 |
| 2025-01 | 156 | 4.3% | 1.184 | 3.74 | 3.43 | 1.092 | $9,125 | $7,705 |
| 2025-02 | 158 | 4.4% | 1.179 | 3.69 | 3.45 | 1.069 | $9,125 | $7,729 |
| 2025-03 | 157 | 4.4% | 1.160 | 3.73 | 3.37 | 1.109 | $8,561 | $7,378 |
| 2025-04 | 151 | 4.2% | 1.021 | 3.48 | 3.20 | 1.088 | $7,673 | $7,515 |
| 2025-05 | 147 | 4.1% | 1.260 | 3.63 | 3.54 | 1.025 | $9,316 | $7,396 |
| 2025-06 | 135 | 3.7% | 1.085 | 3.51 | 3.30 | 1.063 | $8,077 | $7,438 |
| 2025-07 | 142 | 3.9% | 1.247 | 3.71 | 3.42 | 1.085 | $9,335 | $7,483 |
| 2025-08 | 135 | 3.7% | 1.162 | 3.71 | 3.49 | 1.062 | $9,204 | $7,919 |
| 2025-09 | 147 | 4.1% | 1.115 | 3.44 | 3.47 | 0.991 | $8,319 | $7,459 |
| 2025-10 | 152 | 4.2% | 1.096 | 3.43 | 3.30 | 1.041 | $8,642 | $7,885 |
| 2025-11 | 151 | 4.2% | 1.109 | 3.52 | 3.42 | 1.028 | $8,491 | $7,646 |
| 2025-12 | 165 | 4.6% | 1.129 | 3.45 | 3.37 | 1.022 | $8,505 | $7,535 |
| 2026-01 | 162 | 4.5% | 1.146 | 3.50 | 3.55 | 0.987 | $8,653 | $7,548 |
| 2026-02 | 158 | 4.4% | 1.177 | 3.65 | 3.56 | 1.025 | $8,930 | $7,567 |
| 2026-03 | 149 | 4.1% | 1.119 | 3.62 | 3.54 | 1.022 | $8,581 | $7,670 |
| 2026-04 | 156 | 4.3% | 1.232 | 3.53 | 3.50 | 1.009 | $9,252 | $7,509 |
| 2026-05 | 147 | 4.1% | 1.183 | 3.58 | 3.37 | 1.062 | $9,048 | $7,646 |
| 2026-06 | 144 | 4.0% | 1.162 | 3.69 | 3.53 | 1.047 | $9,293 | $7,994 |
| 2026-07 | 141 | 3.9% | 1.159 | 3.70 | 3.42 | 1.081 | $9,123 | $7,875 |
| 2026-08 | 140 | 3.9% | 1.213 | 3.74 | 3.68 | 1.016 | $9,559 | $7,878 |
| 2026-09 | 147 | 4.1% | 1.132 | 3.65 | 3.45 | 1.058 | $8,790 | $7,763 |
| 2026-10 | 149 | 4.1% | 1.170 | 3.51 | 3.45 | 1.017 | $8,946 | $7,649 |
| 2026-11 | 160 | 4.4% | 1.219 | 3.73 | 3.62 | 1.030 | $9,625 | $7,895 |
By payer
| Payer | Cases | Share | CMI | ALOS | GMLOS | LOS index | Cost/case | Cost/CMI case |
|---|---|---|---|---|---|---|---|---|
| Medicare | 1,543 | 42.8% | 1.246 | 3.75 | 3.58 | 1.047 | $9,575 | $7,682 |
| Medicaid | 752 | 20.8% | 1.066 | 3.43 | 3.33 | 1.028 | $8,079 | $7,581 |
| Commercial | 956 | 26.5% | 1.108 | 3.43 | 3.30 | 1.039 | $8,456 | $7,629 |
| Self-pay | 184 | 5.1% | 1.055 | 3.52 | 3.36 | 1.048 | $8,243 | $7,816 |
| Other | 165 | 4.6% | 1.210 | 3.96 | 3.62 | 1.093 | $9,415 | $7,778 |
| Unknown | 7 | 0.2% | 1.099 | 3.29 | 3.27 | 1.004 | $9,230 | $8,402 |
CMI drift: baseline 2024-12 to 2025-11, current 2025-12 to 2026-11
CMI went from 1.150 to 1.170 (+0.020, 1.7%). The change splits exactly into a volume mix effect (-0.017: the family shares moved, valued at baseline mean weights) and a severity effect (+0.037: the mean weight inside each family moved, valued at current shares). CC/MCC capture rate (the share of discharges in severity-split families that land in a CC or MCC DRG) moved from 36.2% to 42.9%; the MCC rate from 12.2% to 15.5%. A higher capture rate can reflect sicker patients or better documentation; only a chart review can tell.
By service line
Effects are contributions to the hospital CMI change, so they add up to it. CMI columns are each service line's own CMI.
| Service line | CMI base | CMI now | Mix | Severity | Total | Capture base | Capture now |
|---|---|---|---|---|---|---|---|
| Cardiology | 0.916 | 0.952 | -0.006 | +0.006 | +0.000 | 47.5% | 54.7% |
| Gastroenterology | 1.093 | 1.120 | +0.005 | +0.006 | +0.011 | 35.5% | 40.7% |
| General surgery | 1.707 | 1.972 | +0.003 | +0.009 | +0.012 | 38.5% | 46.6% |
| Medicine | 0.966 | 0.942 | -0.001 | -0.002 | -0.003 | 30.8% | 33.7% |
| Neurology | 0.930 | 0.987 | +0.004 | +0.005 | +0.010 | 30.4% | 36.7% |
| Obstetrics | 0.735 | 0.737 | +0.004 | +0.000 | +0.004 | - | - |
| Orthopedics | 2.333 | 2.334 | -0.022 | +0.005 | -0.017 | 21.2% | 30.1% |
| Pulmonary | 0.986 | 1.020 | -0.005 | +0.007 | +0.002 | 41.5% | 52.1% |
DRG families that moved CMI the most
| Family | Service line | Share base | Share now | Mean wt base | Mean wt now | Mix | Severity | Total |
|---|---|---|---|---|---|---|---|---|
| O410 | Orthopedics | 6.3% | 5.4% | 2.195 | 2.208 | -0.019 | +0.001 | -0.018 |
| S520 | General surgery | 2.7% | 3.1% | 2.356 | 2.593 | +0.009 | +0.007 | +0.017 |
| G310 | Gastroenterology | 4.6% | 5.9% | 0.893 | 0.937 | +0.012 | +0.003 | +0.015 |
| O420 | Orthopedics | 2.7% | 3.2% | 1.814 | 1.948 | +0.009 | +0.004 | +0.014 |
| O430 | Orthopedics | 2.3% | 2.0% | 3.307 | 3.307 | -0.012 | +0.000 | -0.012 |
| M710 | Medicine | 9.1% | 8.6% | 1.173 | 1.141 | -0.006 | -0.003 | -0.008 |
| N620 | Neurology | 2.5% | 3.4% | 0.870 | 0.841 | +0.008 | -0.001 | +0.007 |
| P220 | Pulmonary | 7.7% | 8.0% | 0.866 | 0.928 | +0.002 | +0.005 | +0.007 |
| M720 | Medicine | 6.0% | 6.5% | 0.776 | 0.795 | +0.004 | +0.001 | +0.005 |
| S510 | General surgery | 3.1% | 2.5% | 1.130 | 1.202 | -0.006 | +0.002 | -0.004 |
Excess days by service line
Days above each DRG's geometric mean length of stay, summed over cases (a stay shorter than the geometric mean adds nothing). Geometric means here are illustrative.
Length of stay by service line
| Service line | Cases | ALOS | GMLOS | Variance days | Excess days | LOS index |
|---|---|---|---|---|---|---|
| Cardiology | 705 | 3.41 | 3.19 | 153 | 412 | 1.068 |
| Gastroenterology | 416 | 3.19 | 3.25 | -24 | 169 | 0.982 |
| General surgery | 207 | 4.51 | 4.65 | -30 | 115 | 0.969 |
| Medicine | 650 | 4.18 | 3.65 | 346 | 550 | 1.146 |
| Neurology | 288 | 3.42 | 3.24 | 54 | 164 | 1.058 |
| Obstetrics | 313 | 2.49 | 2.59 | -31 | 89 | 0.962 |
| Orthopedics | 396 | 3.34 | 3.64 | -118 | 126 | 0.918 |
| Pulmonary | 632 | 3.96 | 3.66 | 187 | 427 | 1.081 |
DRGs with the most excess days
| DRG | Description | Cases | ALOS | GMLOS | Variance days | Excess days | LOS index |
|---|---|---|---|---|---|---|---|
| M711 | Sepsis, without MCC | 263 | 4.65 | 4.10 | 145 | 237 | 1.134 |
| P230 | Respiratory failure | 100 | 5.30 | 4.70 | 60 | 105 | 1.128 |
| M722 | Kidney and urinary infection, without CC or MCC | 125 | 3.10 | 2.60 | 63 | 90 | 1.194 |
| C112 | Heart failure, without CC or MCC | 152 | 3.24 | 2.90 | 52 | 88 | 1.118 |
| P222 | Pneumonia, without CC or MCC | 155 | 3.15 | 3.00 | 24 | 73 | 1.052 |
| C111 | Heart failure, with CC | 124 | 3.85 | 3.80 | 7 | 71 | 1.014 |
| P211 | Chronic lung disease flare, with CC | 87 | 4.03 | 3.60 | 38 | 70 | 1.121 |
| M721 | Kidney and urinary infection, with CC | 73 | 3.97 | 3.30 | 49 | 68 | 1.204 |
| P221 | Pneumonia, with CC | 96 | 4.15 | 3.90 | 24 | 63 | 1.063 |
| N612 | Stroke, without CC or MCC | 103 | 3.05 | 2.80 | 26 | 60 | 1.089 |
| M710 | Sepsis, with MCC | 55 | 6.44 | 5.80 | 35 | 58 | 1.110 |
| O411 | Joint replacement, without MCC | 177 | 2.35 | 2.40 | -9 | 58 | 0.979 |
| P212 | Chronic lung disease flare, without CC or MCC | 128 | 2.88 | 2.80 | 10 | 55 | 1.027 |
| B810 | Vaginal delivery | 212 | 2.11 | 2.20 | -19 | 51 | 0.958 |
| C122 | Arrhythmia and chest pain, without CC or MCC | 111 | 2.39 | 2.10 | 32 | 50 | 1.137 |
Cost per CMI-adjusted case by month
Total cost divided by the summed DRG weights of the cases with a usable cost.
Cost by service line
| Service line | Cases | Share | CMI | ALOS | GMLOS | LOS index | Cost/case | Cost/CMI case |
|---|---|---|---|---|---|---|---|---|
| Cardiology | 705 | 19.5% | 0.934 | 3.41 | 3.19 | 1.068 | $7,317 | $7,839 |
| Gastroenterology | 416 | 11.5% | 1.107 | 3.19 | 3.25 | 0.982 | $8,330 | $7,522 |
| General surgery | 207 | 5.7% | 1.839 | 4.51 | 4.65 | 0.969 | $13,869 | $7,524 |
| Medicine | 650 | 18.0% | 0.954 | 4.18 | 3.65 | 1.146 | $7,422 | $7,782 |
| Neurology | 288 | 8.0% | 0.960 | 3.42 | 3.24 | 1.058 | $7,618 | $7,927 |
| Obstetrics | 313 | 8.7% | 0.736 | 2.49 | 2.59 | 0.962 | $5,498 | $7,469 |
| Orthopedics | 396 | 11.0% | 2.333 | 3.34 | 3.64 | 0.918 | $17,425 | $7,468 |
| Pulmonary | 632 | 17.5% | 1.003 | 3.96 | 3.66 | 1.081 | $7,809 | $7,781 |
Payer mix
Share of counted discharges. Unknown is a payer that was blank or not recognized (CM009).
Payer mix shift
| Payer | Share base | Share now | Shift (pts) | CMI base | CMI now |
|---|---|---|---|---|---|
| Medicare | 42.4% | 43.1% | +0.7 | 1.224 | 1.268 |
| Medicaid | 20.0% | 21.7% | +1.8 | 1.045 | 1.084 |
| Commercial | 28.8% | 24.2% | -4.6 | 1.114 | 1.100 |
| Self-pay | 4.3% | 5.9% | +1.6 | 1.004 | 1.091 |
| Other | 4.4% | 4.8% | +0.4 | 1.296 | 1.134 |
| Unknown | 0.1% | 0.3% | +0.2 | 1.100 | 1.098 |
By payer
| Payer | Cases | Share | CMI | ALOS | GMLOS | LOS index | Cost/case | Cost/CMI case |
|---|---|---|---|---|---|---|---|---|
| Medicare | 1,543 | 42.8% | 1.246 | 3.75 | 3.58 | 1.047 | $9,575 | $7,682 |
| Medicaid | 752 | 20.8% | 1.066 | 3.43 | 3.33 | 1.028 | $8,079 | $7,581 |
| Commercial | 956 | 26.5% | 1.108 | 3.43 | 3.30 | 1.039 | $8,456 | $7,629 |
| Self-pay | 184 | 5.1% | 1.055 | 3.52 | 3.36 | 1.048 | $8,243 | $7,816 |
| Other | 165 | 4.6% | 1.210 | 3.96 | 3.62 | 1.093 | $9,415 | $7,778 |
| Unknown | 7 | 0.2% | 1.099 | 3.29 | 3.27 | 1.004 | $9,230 | $8,402 |
Length of stay outliers
Above Q3 + 3 x IQR of the same DRG and at least 2.5 x its median; DRGs with fewer than 12 cases are not screened.
| Encounter | Kind | DRG | Service line | Month | Value | Peer median | Fence | x median |
|---|---|---|---|---|---|---|---|---|
| ENC000227 | LOS | C122 | Cardiology | 2025-01 | 14 | 2 | 6 | 7.0 |
| ENC000350 | LOS | P221 | Pulmonary | 2025-02 | 21 | 4 | 11 | 5.2 |
| ENC003022 | LOS | M711 | Medicine | 2026-07 | 21 | 4 | 11 | 5.2 |
| ENC001648 | LOS | M731 | Medicine | 2025-10 | 15 | 3 | 7 | 5.0 |
| ENC001763 | LOS | N612 | Neurology | 2025-11 | 15 | 3 | 6 | 5.0 |
| ENC000287 | LOS | P230 | Pulmonary | 2025-01 | 23 | 5 | 12 | 4.6 |
| ENC001549 | LOS | M711 | Medicine | 2025-10 | 12 | 4 | 11 | 3.0 |
| ENC001869 | LOS | B810 | Obstetrics | 2025-12 | 6 | 2 | 2 | 3.0 |
| ENC002208 | LOS | C132 | Cardiology | 2026-02 | 7 | 2 | 6 | 2.8 |
| ENC001037 | LOS | P212 | Pulmonary | 2025-06 | 8 | 3 | 6 | 2.7 |
| ENC002335 | LOS | N612 | Neurology | 2026-03 | 8 | 3 | 6 | 2.7 |
Cost outliers
| Encounter | Kind | DRG | Service line | Month | Value | Peer median | Fence | x median |
|---|---|---|---|---|---|---|---|---|
| ENC002814 | COST | N612 | Neurology | 2026-06 | $51,409 | $6,162 | $14,110 | 8.3 |
| ENC000120 | COST | M711 | Medicine | 2024-12 | $53,308 | $7,518 | $16,283 | 7.1 |
| ENC000057 | COST | O431 | Orthopedics | 2024-12 | $126,671 | $21,222 | $41,467 | 6.0 |
| ENC000414 | COST | C110 | Cardiology | 2025-02 | $65,482 | $11,518 | $24,568 | 5.7 |
| ENC001511 | COST | C110 | Cardiology | 2025-10 | $57,225 | $11,518 | $24,568 | 5.0 |
| ENC001232 | COST | P220 | Pulmonary | 2025-08 | $52,612 | $11,024 | $22,988 | 4.8 |
| ENC001648 | COST | M731 | Medicine | 2025-10 | $20,725 | $5,998 | $11,183 | 3.5 |
Data-quality flags (46)
| Rule | What | Severity | Flags |
|---|---|---|---|
| CM001 | DRG missing | error | 4 |
| CM002 | DRG not in the weight table | error | 3 |
| CM003 | Discharge date before admit date | error | 3 |
| CM004 | Duplicate encounter id | warning | 3 |
| CM005 | Total cost missing, zero or negative | error | 5 |
| CM006 | Reported length of stay does not match the dates | warning | 6 |
| CM007 | Admit or discharge date after the as-of date | error | 3 |
| CM008 | Value could not be read | error | 5 |
| CM009 | Payer unknown | warning | 7 |
| CM010 | Admit or discharge date missing | error | 4 |
| CM011 | Weight table row unusable | error | 2 |
| CM012 | Duplicate DRG in the weight table | warning | 1 |
Flagged rows
| ID | Severity | Flag | Where | Subject | Detail |
|---|---|---|---|---|---|
| CM001-001 | error | DRG missing | discharges:2220 | ENC002219 | no DRG; this row is left out |
| CM001-002 | error | DRG missing | discharges:2707 | ENC002706 | no DRG; this row is left out |
| CM001-003 | error | DRG missing | discharges:3004 | ENC003003 | no DRG; this row is left out |
| CM001-004 | error | DRG missing | discharges:3460 | ENC003459 | no DRG; this row is left out |
| CM002-001 | error | DRG not in the weight table | discharges:354 | ENC000353 | DRG Q404 is not in the usable weight table; this row is left out |
| CM002-002 | error | DRG not in the weight table | discharges:1053 | ENC001052 | DRG Z999 is not in the usable weight table; this row is left out |
| CM002-003 | error | DRG not in the weight table | discharges:1360 | ENC001359 | DRG C119 is not in the usable weight table; this row is left out |
| CM003-001 | error | Discharge date before admit date | discharges:649 | ENC000648 | discharge 2025-04-03 is before admit 2025-04-05; this row is left out |
| CM003-002 | error | Discharge date before admit date | discharges:1248 | ENC001247 | discharge 2025-08-08 is before admit 2025-08-13; this row is left out |
| CM003-003 | error | Discharge date before admit date | discharges:3089 | ENC003088 | discharge 2026-08-14 is before admit 2026-08-17; this row is left out |
| CM004-001 | warning | Duplicate encounter id | discharges:3631 | ENC001214 | encounter id already used on line 1215; this row is left out |
| CM004-002 | warning | Duplicate encounter id | discharges:3632 | ENC002140 | encounter id already used on line 2141; this row is left out |
| CM004-003 | warning | Duplicate encounter id | discharges:3633 | ENC001341 | encounter id already used on line 1342; this row is left out |
| CM005-001 | error | Total cost missing, zero or negative | discharges:444 | ENC000443 | total cost is missing; kept for CMI and length of stay, left out of cost measures |
| CM005-002 | error | Total cost missing, zero or negative | discharges:1047 | ENC001046 | total cost is 0.00; kept for CMI and length of stay, left out of cost measures |
| CM005-003 | error | Total cost missing, zero or negative | discharges:1058 | ENC001057 | total cost is -1,840.50; kept for CMI and length of stay, left out of cost measures |
| CM005-004 | error | Total cost missing, zero or negative | discharges:1662 | ENC001661 | total cost is -312.00; kept for CMI and length of stay, left out of cost measures |
| CM005-005 | error | Total cost missing, zero or negative | discharges:2181 | ENC002180 | total cost is 0.00; kept for CMI and length of stay, left out of cost measures |
| CM006-001 | warning | Reported length of stay does not match the dates | discharges:566 | ENC000565 | reported 7 days but the dates give 4; the dates are used |
| CM006-002 | warning | Reported length of stay does not match the dates | discharges:1079 | ENC001078 | reported 3 days but the dates give 4; the dates are used |
| CM006-003 | warning | Reported length of stay does not match the dates | discharges:1490 | ENC001489 | reported 4 days but the dates give 2; the dates are used |
| CM006-004 | warning | Reported length of stay does not match the dates | discharges:1744 | ENC001743 | reported 3 days but the dates give 2; the dates are used |
| CM006-005 | warning | Reported length of stay does not match the dates | discharges:1935 | ENC001934 | reported 4 days but the dates give 2; the dates are used |
| CM006-006 | warning | Reported length of stay does not match the dates | discharges:3334 | ENC003333 | reported 1 days but the dates give 2; the dates are used |
| CM007-001 | error | Admit or discharge date after the as-of date | discharges:1337 | ENC001336 | date 2026-12-14 is after the as-of date 2026-12-01; this row is left out |
| CM007-002 | error | Admit or discharge date after the as-of date | discharges:1626 | ENC001625 | date 2027-02-02 is after the as-of date 2026-12-01; this row is left out |
| CM007-003 | error | Admit or discharge date after the as-of date | discharges:2393 | ENC002392 | date 2027-01-09 is after the as-of date 2026-12-01; this row is left out |
| CM008-001 | error | Value could not be read | discharges:426 | ENC000425 | could not read: discharge_date |
| CM008-002 | error | Value could not be read | discharges:659 | ENC000658 | could not read: admit_date |
| CM008-003 | error | Value could not be read | discharges:897 | ENC000896 | could not read: los_days |
| CM008-004 | error | Value could not be read | discharges:2323 | ENC002322 | could not read: total_cost |
| CM008-005 | error | Value could not be read | discharges:3069 | ENC003068 | could not read: total_cost |
| CM009-001 | warning | Payer unknown | discharges:711 | ENC000710 | payer is blank; counted as Unknown |
| CM009-002 | warning | Payer unknown | discharges:1273 | ENC001272 | payer is blank; counted as Unknown |
| CM009-003 | warning | Payer unknown | discharges:1929 | ENC001928 | payer 'Unknown' is blank or not recognized; counted as Unknown |
| CM009-004 | warning | Payer unknown | discharges:2200 | ENC002199 | payer 'UNK-99' is blank or not recognized; counted as Unknown |
| CM009-005 | warning | Payer unknown | discharges:3037 | ENC003036 | payer 'Unknown' is blank or not recognized; counted as Unknown |
| CM009-006 | warning | Payer unknown | discharges:3453 | ENC003452 | payer '???' is blank or not recognized; counted as Unknown |
| CM009-007 | warning | Payer unknown | discharges:3507 | ENC003506 | payer is blank; counted as Unknown |
| CM010-001 | error | Admit or discharge date missing | discharges:292 | ENC000291 | missing: admit_date |
| CM010-002 | error | Admit or discharge date missing | discharges:508 | ENC000507 | missing: discharge_date |
| CM010-003 | error | Admit or discharge date missing | discharges:1677 | ENC001676 | missing: admit_date |
| CM010-004 | error | Admit or discharge date missing | discharges:3566 | ENC003565 | missing: discharge_date |
| CM011-001 | error | Weight table row unusable | weights:54 | X900 | unreadable or not positive: weight; row left out |
| CM011-002 | error | Weight table row unusable | weights:55 | X901 | unreadable or not positive: gmlos; row left out |
| CM012-001 | warning | Duplicate DRG in the weight table | weights:56 | C112 | C112 already has a row on line 4; this row is left out |