Case mix: Synthetic Community Hospital (fictional)

As of 2026-12-01 · 2024-12 to 2026-11 · 8 service lines · 3,632 discharges read

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.

Discharges counted
3,607
Case mix index
1.160
LOS index
1.043
Excess days
2,052
Cost per case
$8,891
Cost per CMI case
$7,662
CMI change
+0.020
CC/MCC capture
36.2% to 42.9%
Outlier cases
18
Flags
46

Case mix index by month

baseline windowcurrent window0.9851.0631.1401.2181.29524-1225-0325-0625-0925-1226-0326-0626-092024-12: 1.1782025-01: 1.1842025-02: 1.1792025-03: 1.1602025-04: 1.0212025-05: 1.2602025-06: 1.0852025-07: 1.2472025-08: 1.1622025-09: 1.1152025-10: 1.0962025-11: 1.1092025-12: 1.1292026-01: 1.1462026-02: 1.1772026-03: 1.1192026-04: 1.2322026-05: 1.1832026-06: 1.1622026-07: 1.1592026-08: 1.2132026-09: 1.1322026-10: 1.1702026-11: 1.219case mix index (axis does not start at zero)
baseline windowcurrent window

By service line

Service lineCasesShareCMIALOSGMLOSLOS indexCost/caseCost/CMI case
Cardiology70519.5%0.9343.413.191.068$7,317$7,839
Gastroenterology41611.5%1.1073.193.250.982$8,330$7,522
General surgery2075.7%1.8394.514.650.969$13,869$7,524
Medicine65018.0%0.9544.183.651.146$7,422$7,782
Neurology2888.0%0.9603.423.241.058$7,618$7,927
Obstetrics3138.7%0.7362.492.590.962$5,498$7,469
Orthopedics39611.0%2.3333.343.640.918$17,425$7,468
Pulmonary63217.5%1.0033.963.661.081$7,809$7,781

CMI by service line

Baseline window against current window. The axis starts at zero.

CardiologyCardiology baseline: 0.916Cardiology current: 0.9520.916 to 0.952GastroenterologyGastroenterology baseline: 1.093Gastroenterology current: 1.1201.093 to 1.120General surgeryGeneral surgery baseline: 1.707General surgery current: 1.9721.707 to 1.972MedicineMedicine baseline: 0.966Medicine current: 0.9420.966 to 0.942NeurologyNeurology baseline: 0.930Neurology current: 0.9870.930 to 0.987ObstetricsObstetrics baseline: 0.735Obstetrics current: 0.7370.735 to 0.737OrthopedicsOrthopedics baseline: 2.333Orthopedics current: 2.3342.333 to 2.334PulmonaryPulmonary baseline: 0.986Pulmonary current: 1.0200.986 to 1.020

By month

MonthCasesShareCMIALOSGMLOSLOS indexCost/caseCost/CMI case
2024-121584.4%1.1783.403.291.033$9,222$7,825
2025-011564.3%1.1843.743.431.092$9,125$7,705
2025-021584.4%1.1793.693.451.069$9,125$7,729
2025-031574.4%1.1603.733.371.109$8,561$7,378
2025-041514.2%1.0213.483.201.088$7,673$7,515
2025-051474.1%1.2603.633.541.025$9,316$7,396
2025-061353.7%1.0853.513.301.063$8,077$7,438
2025-071423.9%1.2473.713.421.085$9,335$7,483
2025-081353.7%1.1623.713.491.062$9,204$7,919
2025-091474.1%1.1153.443.470.991$8,319$7,459
2025-101524.2%1.0963.433.301.041$8,642$7,885
2025-111514.2%1.1093.523.421.028$8,491$7,646
2025-121654.6%1.1293.453.371.022$8,505$7,535
2026-011624.5%1.1463.503.550.987$8,653$7,548
2026-021584.4%1.1773.653.561.025$8,930$7,567
2026-031494.1%1.1193.623.541.022$8,581$7,670
2026-041564.3%1.2323.533.501.009$9,252$7,509
2026-051474.1%1.1833.583.371.062$9,048$7,646
2026-061444.0%1.1623.693.531.047$9,293$7,994
2026-071413.9%1.1593.703.421.081$9,123$7,875
2026-081403.9%1.2133.743.681.016$9,559$7,878
2026-091474.1%1.1323.653.451.058$8,790$7,763
2026-101494.1%1.1703.513.451.017$8,946$7,649
2026-111604.4%1.2193.733.621.030$9,625$7,895

By payer

PayerCasesShareCMIALOSGMLOSLOS indexCost/caseCost/CMI case
Medicare1,54342.8%1.2463.753.581.047$9,575$7,682
Medicaid75220.8%1.0663.433.331.028$8,079$7,581
Commercial95626.5%1.1083.433.301.039$8,456$7,629
Self-pay1845.1%1.0553.523.361.048$8,243$7,816
Other1654.6%1.2103.963.621.093$9,415$7,778
Unknown70.2%1.0993.293.271.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.

1.1201.1361.1511.1671.183Baseline CMI: 1.1501.150Baseline CMIVolume mix: -0.017-0.017Volume mixSeverity (CC/MCC): +0.037+0.037Severity (CC/MCC)Current CMI: 1.1701.170Current CMIcase mix index (axis does not start at zero)

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 lineCMI baseCMI nowMixSeverityTotalCapture baseCapture now
Cardiology0.9160.952-0.006+0.006+0.00047.5%54.7%
Gastroenterology1.0931.120+0.005+0.006+0.01135.5%40.7%
General surgery1.7071.972+0.003+0.009+0.01238.5%46.6%
Medicine0.9660.942-0.001-0.002-0.00330.8%33.7%
Neurology0.9300.987+0.004+0.005+0.01030.4%36.7%
Obstetrics0.7350.737+0.004+0.000+0.004--
Orthopedics2.3332.334-0.022+0.005-0.01721.2%30.1%
Pulmonary0.9861.020-0.005+0.007+0.00241.5%52.1%

DRG families that moved CMI the most

FamilyService lineShare baseShare nowMean wt baseMean wt nowMixSeverityTotal
O410Orthopedics6.3%5.4%2.1952.208-0.019+0.001-0.018
S520General surgery2.7%3.1%2.3562.593+0.009+0.007+0.017
G310Gastroenterology4.6%5.9%0.8930.937+0.012+0.003+0.015
O420Orthopedics2.7%3.2%1.8141.948+0.009+0.004+0.014
O430Orthopedics2.3%2.0%3.3073.307-0.012+0.000-0.012
M710Medicine9.1%8.6%1.1731.141-0.006-0.003-0.008
N620Neurology2.5%3.4%0.8700.841+0.008-0.001+0.007
P220Pulmonary7.7%8.0%0.8660.928+0.002+0.005+0.007
M720Medicine6.0%6.5%0.7760.795+0.004+0.001+0.005
S510General surgery3.1%2.5%1.1301.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.

CardiologyCardiology: 412412GastroenterologyGastroenterology: 169169General surgeryGeneral surgery: 115115MedicineMedicine: 550550NeurologyNeurology: 164164ObstetricsObstetrics: 8989OrthopedicsOrthopedics: 126126PulmonaryPulmonary: 427427

Length of stay by service line

Service lineCasesALOSGMLOSVariance daysExcess daysLOS index
Cardiology7053.413.191534121.068
Gastroenterology4163.193.25-241690.982
General surgery2074.514.65-301150.969
Medicine6504.183.653465501.146
Neurology2883.423.24541641.058
Obstetrics3132.492.59-31890.962
Orthopedics3963.343.64-1181260.918
Pulmonary6323.963.661874271.081

DRGs with the most excess days

DRGDescriptionCasesALOSGMLOSVariance daysExcess daysLOS index
M711Sepsis, without MCC2634.654.101452371.134
P230Respiratory failure1005.304.70601051.128
M722Kidney and urinary infection, without CC or MCC1253.102.6063901.194
C112Heart failure, without CC or MCC1523.242.9052881.118
P222Pneumonia, without CC or MCC1553.153.0024731.052
C111Heart failure, with CC1243.853.807711.014
P211Chronic lung disease flare, with CC874.033.6038701.121
M721Kidney and urinary infection, with CC733.973.3049681.204
P221Pneumonia, with CC964.153.9024631.063
N612Stroke, without CC or MCC1033.052.8026601.089
M710Sepsis, with MCC556.445.8035581.110
O411Joint replacement, without MCC1772.352.40-9580.979
P212Chronic lung disease flare, without CC or MCC1282.882.8010551.027
B810Vaginal delivery2122.112.20-19510.958
C122Arrhythmia and chest pain, without CC or MCC1112.392.1032501.137

Cost per CMI-adjusted case by month

Total cost divided by the summed DRG weights of the cases with a usable cost.

baseline windowcurrent window7,2857,4867,6867,8868,08724-1225-0325-0625-0925-1226-0326-0626-092024-12: 7,8252025-01: 7,7052025-02: 7,7292025-03: 7,3782025-04: 7,5152025-05: 7,3962025-06: 7,4382025-07: 7,4832025-08: 7,9192025-09: 7,4592025-10: 7,8852025-11: 7,6462025-12: 7,5352026-01: 7,5482026-02: 7,5672026-03: 7,6702026-04: 7,5092026-05: 7,6462026-06: 7,9942026-07: 7,8752026-08: 7,8782026-09: 7,7632026-10: 7,6492026-11: 7,895dollars per CMI case (axis does not start at zero)
baseline windowcurrent window

Cost by service line

Service lineCasesShareCMIALOSGMLOSLOS indexCost/caseCost/CMI case
Cardiology70519.5%0.9343.413.191.068$7,317$7,839
Gastroenterology41611.5%1.1073.193.250.982$8,330$7,522
General surgery2075.7%1.8394.514.650.969$13,869$7,524
Medicine65018.0%0.9544.183.651.146$7,422$7,782
Neurology2888.0%0.9603.423.241.058$7,618$7,927
Obstetrics3138.7%0.7362.492.590.962$5,498$7,469
Orthopedics39611.0%2.3333.343.640.918$17,425$7,468
Pulmonary63217.5%1.0033.963.661.081$7,809$7,781

Payer mix

Share of counted discharges. Unknown is a payer that was blank or not recognized (CM009).

All dischargesMedicare: 42.8%43%Medicaid: 20.8%21%Commercial: 26.5%27%Self-pay: 5.1%Other: 4.6%Unknown: 0.2%
MedicareMedicaidCommercialSelf-payOtherUnknown

Payer mix shift

Baseline 2024-12Medicare: 42.4%42%Medicaid: 20.0%20%Commercial: 28.8%29%Self-pay: 4.3%Other: 4.4%Unknown: 0.1%Current 2025-12Medicare: 43.1%43%Medicaid: 21.7%22%Commercial: 24.2%24%Self-pay: 5.9%Other: 4.8%Unknown: 0.3%
MedicareMedicaidCommercialSelf-payOtherUnknown
PayerShare baseShare nowShift (pts)CMI baseCMI now
Medicare42.4%43.1%+0.71.2241.268
Medicaid20.0%21.7%+1.81.0451.084
Commercial28.8%24.2%-4.61.1141.100
Self-pay4.3%5.9%+1.61.0041.091
Other4.4%4.8%+0.41.2961.134
Unknown0.1%0.3%+0.21.1001.098

By payer

PayerCasesShareCMIALOSGMLOSLOS indexCost/caseCost/CMI case
Medicare1,54342.8%1.2463.753.581.047$9,575$7,682
Medicaid75220.8%1.0663.433.331.028$8,079$7,581
Commercial95626.5%1.1083.433.301.039$8,456$7,629
Self-pay1845.1%1.0553.523.361.048$8,243$7,816
Other1654.6%1.2103.963.621.093$9,415$7,778
Unknown70.2%1.0993.293.271.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.

EncounterKindDRGService lineMonthValuePeer medianFencex median
ENC000227LOSC122Cardiology2025-0114267.0
ENC000350LOSP221Pulmonary2025-02214115.2
ENC003022LOSM711Medicine2026-07214115.2
ENC001648LOSM731Medicine2025-1015375.0
ENC001763LOSN612Neurology2025-1115365.0
ENC000287LOSP230Pulmonary2025-01235124.6
ENC001549LOSM711Medicine2025-10124113.0
ENC001869LOSB810Obstetrics2025-126223.0
ENC002208LOSC132Cardiology2026-027262.8
ENC001037LOSP212Pulmonary2025-068362.7
ENC002335LOSN612Neurology2026-038362.7

Cost outliers

EncounterKindDRGService lineMonthValuePeer medianFencex median
ENC002814COSTN612Neurology2026-06$51,409$6,162$14,1108.3
ENC000120COSTM711Medicine2024-12$53,308$7,518$16,2837.1
ENC000057COSTO431Orthopedics2024-12$126,671$21,222$41,4676.0
ENC000414COSTC110Cardiology2025-02$65,482$11,518$24,5685.7
ENC001511COSTC110Cardiology2025-10$57,225$11,518$24,5685.0
ENC001232COSTP220Pulmonary2025-08$52,612$11,024$22,9884.8
ENC001648COSTM731Medicine2025-10$20,725$5,998$11,1833.5

Data-quality flags (46)

RuleWhatSeverityFlags
CM001DRG missingerror4
CM002DRG not in the weight tableerror3
CM003Discharge date before admit dateerror3
CM004Duplicate encounter idwarning3
CM005Total cost missing, zero or negativeerror5
CM006Reported length of stay does not match the dateswarning6
CM007Admit or discharge date after the as-of dateerror3
CM008Value could not be readerror5
CM009Payer unknownwarning7
CM010Admit or discharge date missingerror4
CM011Weight table row unusableerror2
CM012Duplicate DRG in the weight tablewarning1

Flagged rows

IDSeverityFlagWhereSubjectDetail
CM001-001errorDRG missingdischarges:2220ENC002219no DRG; this row is left out
CM001-002errorDRG missingdischarges:2707ENC002706no DRG; this row is left out
CM001-003errorDRG missingdischarges:3004ENC003003no DRG; this row is left out
CM001-004errorDRG missingdischarges:3460ENC003459no DRG; this row is left out
CM002-001errorDRG not in the weight tabledischarges:354ENC000353DRG Q404 is not in the usable weight table; this row is left out
CM002-002errorDRG not in the weight tabledischarges:1053ENC001052DRG Z999 is not in the usable weight table; this row is left out
CM002-003errorDRG not in the weight tabledischarges:1360ENC001359DRG C119 is not in the usable weight table; this row is left out
CM003-001errorDischarge date before admit datedischarges:649ENC000648discharge 2025-04-03 is before admit 2025-04-05; this row is left out
CM003-002errorDischarge date before admit datedischarges:1248ENC001247discharge 2025-08-08 is before admit 2025-08-13; this row is left out
CM003-003errorDischarge date before admit datedischarges:3089ENC003088discharge 2026-08-14 is before admit 2026-08-17; this row is left out
CM004-001warningDuplicate encounter iddischarges:3631ENC001214encounter id already used on line 1215; this row is left out
CM004-002warningDuplicate encounter iddischarges:3632ENC002140encounter id already used on line 2141; this row is left out
CM004-003warningDuplicate encounter iddischarges:3633ENC001341encounter id already used on line 1342; this row is left out
CM005-001errorTotal cost missing, zero or negativedischarges:444ENC000443total cost is missing; kept for CMI and length of stay, left out of cost measures
CM005-002errorTotal cost missing, zero or negativedischarges:1047ENC001046total cost is 0.00; kept for CMI and length of stay, left out of cost measures
CM005-003errorTotal cost missing, zero or negativedischarges:1058ENC001057total cost is -1,840.50; kept for CMI and length of stay, left out of cost measures
CM005-004errorTotal cost missing, zero or negativedischarges:1662ENC001661total cost is -312.00; kept for CMI and length of stay, left out of cost measures
CM005-005errorTotal cost missing, zero or negativedischarges:2181ENC002180total cost is 0.00; kept for CMI and length of stay, left out of cost measures
CM006-001warningReported length of stay does not match the datesdischarges:566ENC000565reported 7 days but the dates give 4; the dates are used
CM006-002warningReported length of stay does not match the datesdischarges:1079ENC001078reported 3 days but the dates give 4; the dates are used
CM006-003warningReported length of stay does not match the datesdischarges:1490ENC001489reported 4 days but the dates give 2; the dates are used
CM006-004warningReported length of stay does not match the datesdischarges:1744ENC001743reported 3 days but the dates give 2; the dates are used
CM006-005warningReported length of stay does not match the datesdischarges:1935ENC001934reported 4 days but the dates give 2; the dates are used
CM006-006warningReported length of stay does not match the datesdischarges:3334ENC003333reported 1 days but the dates give 2; the dates are used
CM007-001errorAdmit or discharge date after the as-of datedischarges:1337ENC001336date 2026-12-14 is after the as-of date 2026-12-01; this row is left out
CM007-002errorAdmit or discharge date after the as-of datedischarges:1626ENC001625date 2027-02-02 is after the as-of date 2026-12-01; this row is left out
CM007-003errorAdmit or discharge date after the as-of datedischarges:2393ENC002392date 2027-01-09 is after the as-of date 2026-12-01; this row is left out
CM008-001errorValue could not be readdischarges:426ENC000425could not read: discharge_date
CM008-002errorValue could not be readdischarges:659ENC000658could not read: admit_date
CM008-003errorValue could not be readdischarges:897ENC000896could not read: los_days
CM008-004errorValue could not be readdischarges:2323ENC002322could not read: total_cost
CM008-005errorValue could not be readdischarges:3069ENC003068could not read: total_cost
CM009-001warningPayer unknowndischarges:711ENC000710payer is blank; counted as Unknown
CM009-002warningPayer unknowndischarges:1273ENC001272payer is blank; counted as Unknown
CM009-003warningPayer unknowndischarges:1929ENC001928payer 'Unknown' is blank or not recognized; counted as Unknown
CM009-004warningPayer unknowndischarges:2200ENC002199payer 'UNK-99' is blank or not recognized; counted as Unknown
CM009-005warningPayer unknowndischarges:3037ENC003036payer 'Unknown' is blank or not recognized; counted as Unknown
CM009-006warningPayer unknowndischarges:3453ENC003452payer '???' is blank or not recognized; counted as Unknown
CM009-007warningPayer unknowndischarges:3507ENC003506payer is blank; counted as Unknown
CM010-001errorAdmit or discharge date missingdischarges:292ENC000291missing: admit_date
CM010-002errorAdmit or discharge date missingdischarges:508ENC000507missing: discharge_date
CM010-003errorAdmit or discharge date missingdischarges:1677ENC001676missing: admit_date
CM010-004errorAdmit or discharge date missingdischarges:3566ENC003565missing: discharge_date
CM011-001errorWeight table row unusableweights:54X900unreadable or not positive: weight; row left out
CM011-002errorWeight table row unusableweights:55X901unreadable or not positive: gmlos; row left out
CM012-001warningDuplicate DRG in the weight tableweights:56C112C112 already has a row on line 4; this row is left out