DRG assignment accuracy directly affects your hospital's revenue. When coders select the wrong principal diagnosis or miss a complication, your facility loses thousands per case. This guide explains how the MS-DRG grouper logic works, how the principal diagnosis drives base DRG assignment, and how CCs and MCCs shift cases into higher-paying categories. You'll see exactly where mistakes happen and what coders need to get right every time.
How the MS-DRG grouper determines your payment
The MS-DRG grouper is software that translates diagnosis and procedure codes into a single payment category. CMS uses this grouper to assign every inpatient claim to one of 747 MS-DRGs. Each DRG has a fixed payment weight.
The grouper follows a decision tree. It starts with the principal diagnosis, checks the procedure codes, evaluates secondary diagnoses for complications or comorbidities, then assigns a DRG. The entire process happens in sequence. Miss a step and you end up in the wrong DRG.
Here's the sequence the grouper follows:
- Principal diagnosis determines the Major Diagnostic Category (MDC). There are 25 MDCs, organized by body system.
- Procedure codes determine whether the case is medical or surgical within that MDC.
- Secondary diagnoses are checked against the CC/MCC exclusion list. Valid CCs or MCCs push the case into a higher-severity DRG.
- The grouper assigns the final MS-DRG based on all these inputs.
The principal diagnosis matters most. If you code pneumonia as the principal diagnosis when the patient was admitted for sepsis, the grouper sends the case to the wrong MDC. You can't fix that error downstream.
Major Diagnostic Categories and base DRG assignment
MDCs group clinically similar conditions. MDC 4 covers respiratory system diagnoses. MDC 5 covers circulatory system diagnoses. The principal diagnosis code determines which MDC the grouper uses.
Within each MDC, cases split into surgical and medical partitions. If the patient had a significant operating room procedure, the case goes to the surgical partition. If not, it stays medical.
Example: A patient admitted with chest pain undergoes coronary artery bypass grafting. The principal diagnosis might be coronary atherosclerosis (I25.10). That puts the case in MDC 5 (circulatory system). The CABG procedure code moves it to the surgical partition. From there, the grouper checks for CCs or MCCs to assign the final DRG.
Principal diagnosis selection rules that coders miss
The principal diagnosis is the condition established after study to be chiefly responsible for the admission. That's the CMS definition, and it's stricter than most coders think.
Two common mistakes drive DRG errors:
Sequencing a symptom instead of the underlying condition. If a patient presents with altered mental status and workup reveals sepsis, sepsis is the principal diagnosis. Altered mental status is a symptom. The grouper needs the definitive diagnosis.
Coding the chronic condition when an acute exacerbation caused the admission. A COPD patient admitted for acute exacerbation with respiratory failure needs the acute respiratory failure coded as principal if that's what drove the admission decision. The grouper will send the case to a higher-weighted DRG.
When multiple conditions meet the principal diagnosis definition
Sometimes two conditions equally meet the "after study" standard. The patient has both acute MI and acute stroke on admission, and both required equal resources.
In these cases, either condition can be principal. But you need to pick the one that results in the higher DRG weight if both are clinically appropriate. CMS allows this. The Uniform Hospital Discharge Data Set (UHDDS) guidelines permit selecting the condition that better reflects resource use.
Your CDI team should flag these cases before discharge. If they don't, coders need to query the physician to clarify which condition was chiefly responsible.
How CCs and MCCs change DRG assignment accuracy
Complications and comorbidities split many MS-DRGs into 2 or 4 severity levels. A case without complications lands in the base DRG. Add a CC and it moves up one tier. Add an MCC and it jumps to the top.
Example: DRG 291 (heart failure and shock without CC/MCC) has a relative weight of 0.7099 in FY 2026. DRG 290 (heart failure and shock with CC) weighs 0.9245. DRG 289 (with MCC) weighs 1.3167. That's an 85% payment increase from base to MCC.
But not every secondary diagnosis qualifies as a CC or MCC. The grouper checks each code against the CC Exclusion List. If the secondary diagnosis is a routine part of the principal diagnosis, it doesn't count.
CC exclusion logic coders need to understand
CMS publishes the CC Exclusion List every fiscal year. When the principal diagnosis is diabetes with complications, coding chronic kidney disease as a secondary won't add a CC. The grouper excludes it because diabetic nephropathy already implies kidney involvement.
Coders can't assume a diagnosis is a CC just because the ICD-10-CM code appears on the MCC or CC list. The exclusion list overrides that assignment based on the principal diagnosis.
Check the exclusion list for every case where you're counting on a CC or MCC to lift the DRG. Many denied claims trace back to a coder who didn't verify the exclusion rules.
MCC vs CC hierarchy in the grouper
If a case has both an MCC and a CC, the grouper uses the MCC. It doesn't count both. The DRG assignment reflects the highest severity level present.
Some DRGs only split into 2 tiers: with CC/MCC or without. In those cases, an MCC and a CC have the same effect on payment. In 3-tier or 4-tier DRGs, the MCC makes a bigger difference.
Review your top-volume DRGs and map out which ones have MCC splits. That's where clinical documentation improvement work pays off fastest.
Grouper logic for surgical cases and procedure coding
Surgical DRGs depend on procedure codes. The grouper checks whether the operating room procedure is significant enough to assign a surgical DRG. Not every procedure qualifies.
Minor procedures don't trigger surgical DRG assignment. Inserting a central line isn't an OR procedure for grouper purposes. It won't move a medical case into a surgical DRG.
Significant OR procedures include things like joint replacement, cardiac catheterization with intervention, bowel resection, craniotomy. The grouper maintains a list of procedure codes that qualify as OR procedures. If the case has one of those codes, it goes surgical.
Multiple procedures and DRG assignment
When a patient has multiple OR procedures, the grouper selects the most resource-intensive procedure for DRG assignment. That's usually the procedure with the highest relative weight.
Coders need to sequence procedure codes in order of clinical significance. The grouper doesn't always pick the first-listed procedure. It evaluates all of them and assigns the DRG based on the most complex one.
Example: A patient has a laparoscopic appendectomy that converts to an open procedure due to complications. Code both procedures. The grouper will use the open procedure code because it carries more weight.
Common DRG assignment errors and how to prevent them
Most DRG errors fall into 4 categories. You can fix all of them with better coder training and query processes.
Wrong principal diagnosis. This happens when coders sequence a symptom, a rule-out diagnosis, or a secondary condition as principal. Fix: train coders on UHDDS definitions and require attending physician clarification when the record is ambiguous.
Missed CC or MCC. The documentation supports a complication, but the coder doesn't capture it. Fix: use a CDI program to identify cases where clinical indicators suggest a CC or MCC that wasn't documented clearly.
Excluded CC coded anyway. The coder adds a secondary diagnosis that the grouper excludes based on the principal diagnosis. Fix: build CC exclusion checks into your coding workflow. Most encoders flag these, but coders override the warning without verifying.
Procedure code errors. Wrong procedure code, missing procedure, or procedure code that doesn't match the operative report. Fix: require coders to read the operative report, not just pull codes from a charge ticket.
Quality assurance metrics for DRG assignment
Track these metrics monthly to catch DRG errors before they reach the payer:
- DRG change rate after coding review (target under 5%)
- Percentage of cases where a CC or MCC was added during QA review
- Principal diagnosis change rate during audits
- Percentage of claims denied due to DRG assignment issues
If your DRG change rate is above 5%, you have a training problem or a documentation problem. Run a root cause analysis on the changed cases. Look for patterns by coder, by service line, or by attending physician.
Documentation practices that support accurate DRG assignment
Coders can only assign what physicians document. If the physician writes "possible pneumonia" or "rule out sepsis," the coder can't code it as a definitive diagnosis.
Your CDI team needs to query unclear documentation before discharge. Waiting until the claim is coded means you're too late to fix it without a physician amendment.
Key documentation elements for DRG assignment:
- Clear statement of the principal diagnosis in the discharge summary
- Specific documentation of complications with clinical evidence (not just a diagnosis list)
- Procedure notes that match the CPT and ICD-10-PCS codes billed
- Clarification when the patient has multiple acute conditions that could be principal
If your hospital uses copy-paste documentation, you're creating DRG risk. Auditors and payers look for cloned notes. When the daily progress note is identical for 5 days, it doesn't support an MCC-level severity of illness.
Physician queries that improve DRG assignment
Don't ask leading queries. "Can you document that the patient has septic shock?" is a leading query. It tells the physician what answer you want.
Ask open-ended clinical questions: "The patient had hypotension requiring vasopressors and a lactate of 4.2. What is your clinical assessment of the patient's condition on admission?"
The physician's response should be based on clinical judgment, not on DRG optimization. But a well-written query often results in more specific documentation that supports the appropriate DRG.
For inpatient coding accuracy, query volume is a useful metric. If your coders are querying less than 10% of charts, they're either under-querying or your documentation is unusually good. Most hospitals see query rates between 15% and 25%.
Frequently asked questions about DRG assignment
What happens when the MS-DRG grouper assigns the wrong DRG?
The claim pays at the wrong rate, and you either lose revenue or trigger an overpayment that the payer will recoup later. If the grouper assigns a lower DRG than supported by documentation, you underbill and lose money. If it assigns a higher DRG than the documentation supports, the payer will audit the claim and you'll owe a refund plus potential penalties. Fix grouper errors before the claim drops by running pre-bill DRG validation on every case.
How often does CMS update the MS-DRG grouper logic?
CMS updates the MS-DRG grouper every federal fiscal year, effective October 1. The update includes new DRGs, retired DRGs, changes to CC and MCC assignments, and updates to the CC Exclusion List. Coders need to review the annual ICD-10-CM/PCS updates and the MS-DRG Definitions Manual every fall to stay current. Using outdated grouper software after October 1 will result in incorrect DRG assignments.
Can a hospital appeal a DRG assignment after the claim is paid?
Yes, but only if you have documentation to support a different DRG. You can file a redetermination request with the Medicare Administrative Contractor within 120 days of the initial determination. You'll need to submit the medical record with a clear explanation of why the DRG should change. Most successful appeals involve cases where the coder missed a documented CC or MCC, or where the principal diagnosis was ambiguous and the physician later clarified it. Appeals based on "we think the grouper made a mistake" almost never succeed.
What's the difference between a CC and an MCC in DRG assignment?
A CC is a complication or comorbidity that increases resource use. An MCC is a major complication or comorbidity with a bigger impact on severity of illness and resource consumption. The MS-DRG grouper assigns different weights based on whether a case has no CC/MCC, a CC, or an MCC. Examples of MCCs include acute respiratory failure with hypoxia, septic shock, and acute myocardial infarction. Examples of CCs include anemia, urinary tract infection, and malnutrition. The grouper checks every secondary diagnosis code against the CC and MCC lists published by CMS.
How do present on admission (POA) indicators affect DRG assignment?
POA indicators don't directly change the DRG, but they affect payment when a hospital-acquired condition is present. If a secondary diagnosis is a CC or MCC but wasn't present on admission, CMS may exclude it from DRG calculation if it's on the HAC list. For example, a Stage 3 pressure ulcer coded as not present on admission won't count as a CC. The claim will group to the lower DRG without the CC. Coders must assign accurate POA indicators on every diagnosis. A missing or incorrect POA indicator can cost your hospital thousands per case.
Protecting your revenue with consistent DRG assignment practices
DRG errors compound over time. A 2% error rate across 10,000 inpatient cases means 200 claims with incorrect payment. At an average DRG payment of $8,000, you're looking at $1.6 million in revenue at risk.
Most hospitals can't afford dedicated DRG validation on every case. But you can build checks into your workflow: automated pre-bill edits, targeted audits on high-dollar DRGs, and regular coder retraining on principal diagnosis rules.
If your coding team is stretched thin or your denial rate keeps climbing, you need external support. MedCodex Health works with hospitals to close DRG assignment gaps through coding quality audits and chart-level reviews. We flag missed CCs, incorrect principal diagnoses, and procedure coding errors before the claim goes out. Our coders average 98.2% accuracy on inpatient DRG assignment, and we can show you where your team's gaps are within 30 days. If you're ready to stop leaving money on the table, MedCodex Health offers a no-obligation coding assessment—we'll review 50 charts and show you exactly what you're missing.