An MS-DRG (Medicare Severity Diagnosis Related Group) sorts a Medicare inpatient stay into one payment category from the principal diagnosis, up to 24 additional diagnoses and up to 25 procedures the hospital reports.
CMS assigns it under Medicare's inpatient prospective payment system, and coding produces those inputs.
This page explains how that assignment works, what CCs, MCCs and discharge status change, and why inpatient coders own DRG accuracy.
What a DRG is
DRG stands for diagnosis related group, and CMS's version (the Medicare Severity Diagnosis Related Group, or MS-DRG) is the classification that drives inpatient payment.
CMS's own wording: "cases are classified into Medicare Severity Diagnosis Related Groups (MS-DRGs) for payment under the IPPS based on the following information reported by the hospital: the principal diagnosis, up to 24 additional diagnoses, and up to 25 procedures performed during the stay."
Payment follows the group rather than the itemized bill.
CMS pays inpatient hospital services on a rate-per-discharge basis that varies according to the DRG the stay is assigned.
Under the IPPS, subject to certain adjustments, a hospital receives a single payment for each case depending on the payment classification assigned at discharge.
CMS describes that classification as generally driven by diagnosis, services and severity of illness.
One stay produces one MS-DRG.
The outpatient contrast is multiple APCs on a single claim, with the visit payment the sum of the APC payments.
The classification is not static.
CMS adjusts DRG classifications and relative weights at least annually, as section 1886(d)(4)(C) of the Act requires, with each fiscal year starting October 1.
The FY 2027 IPPS/LTCH final rule (CMS-1849-F) was issued July 31, 2026 and published in the Federal Register on August 4, 2026.
It raised IPPS payment rates by 2.3%: a 3.2% market basket update minus a 0.9-point productivity adjustment.
For the coder, the connection is direct: O*NET lists assigning patients to diagnosis-related groups (DRGs) using computer software among the tasks of medical records specialists.
That is the occupation inpatient coders are counted in for federal statistics, one that also includes records staff who do not code.
The DRG is also what the rest of the revenue cycle inherits: the group assigned at discharge is the unit Medicare pays on, so the codes the inpatient coder reports sit at the front of the hospital's inpatient payment.
How the grouper assigns an MS-DRG
Assignment is software applying published logic.
CMS's MS-DRG Grouper reads what the hospital reported (the principal diagnosis, up to 24 additional diagnoses and up to 25 procedures performed during the stay) and assigns the case to its group.
A few MS-DRGs also use case-level facts: the patient's age, sex and discharge status.
Outside those few DRGs, the grouping runs off the coded diagnoses and procedures.
The grouper is versioned software.
The FY 2027 MS-DRG Grouper is Version 44, effective October 1, 2026 through March 31, 2027.
Versions also take effect off the October cycle: MS-DRG v43.1 took effect April 1, 2026, ahead of V44's October 1 start.
The logic is public.
CMS's ICD-10 MS-DRG Definitions Manual, currently the V44 edition, contains the complete documentation of the grouper logic, and CMS posts it free alongside the Medicare Code Editor definitions.
The payment value behind each group is public too.
CMS publishes MS-DRG relative weights in IPPS Table 5 ("MS-DRGs, Relative Weighting Factors and Geometric and Arithmetic Mean Length of Stay"), issued with the FY 2027 IPPS final rule.
The division of labor matters for the job.
The coder produces the input; the grouper applies its published logic to it; and when a grouping question comes up, the Definitions Manual is the reference that settles it, not memory and not a chart from a course.
The software sits on the coder's desk too: O*NET lists 3M Encoder, AMA CodeManager and DRG grouping software among the categorization and classification software medical records specialists use.
Grouper logic runs on CMS's fiscal-year calendar
Principal diagnosis and procedures
The principal diagnosis is the grouper's headline input.
CMS's ICD-10-CM Official Guidelines, carrying the UHDDS definition, describe it as "that condition established after study to be chiefly responsible for occasioning the admission of the patient to the hospital for care."
Determining which condition that is starts in the record.
The inpatient coder reads the full stay, applies the UHDDS definition and assigns the ICD-10-CM code the documentation supports.
The classification starts from that code, which is why principal-diagnosis judgment sits at the center of inpatient coding.
Secondary diagnoses get their own list on the claim, and they are not filler: CMS attaches payment weight to the ones it designates CCs or MCCs, which the next section covers.
Procedures are the second half of the input.
ICD-10-PCS is the procedure classification for hospital inpatient settings, adopted under HIPAA, and the grouper reads up to 25 procedures performed during the stay.
PCS codes run seven characters, each an axis of classification, and all seven must be specified for a valid code.
PCS coding follows its own Official Guidelines, and adherence to them is required under HIPAA.
The 2027 edition was approved by the Cooperating Parties: AHA, AHIMA, CMS and NCHS.
Diagnosis sequencing and procedure assignment are the two judgment points this page's payment logic rests on.
The record-reading and conventions behind them are the general coder's foundation; the medical coder career guide covers that base.
CCs and MCCs
Secondary diagnoses are where grouping gets payment consequences.
The two severity designations CMS attaches to secondary diagnoses are Complication and Comorbidity (CC) and Major Complication and Comorbidity (MCC).
Their effect runs through the weight.
Secondary diagnoses that are CCs or MCCs raise the DRG weight, which is why the same stay can reach a higher-paying group depending on which secondary diagnoses are coded.
Which diagnoses carry the designations is CMS's call, and CMS has studied it: the agency examined CC/MCC designations through a "CC/MCC Comprehensive Analysis" discussed in the FY 2020 IPPS rules.
The designation logic itself lives in the grouper documentation CMS publishes (the Definitions Manual), not in memorized lists.
One payment rule overlays the CC logic directly.
The DRA 2005 HAC provision targets conditions that would result in assignment to a higher-paying DRG when present as a secondary diagnosis.
Since discharges on or after October 1, 2008, hospitals receive no additional payment when a selected hospital-acquired condition was not present on admission.
CMS pays the case as though the secondary diagnosis were not present.
Present on admission has its own definition: present at the time the order for inpatient admission occurs.
Conditions that develop during an outpatient encounter (emergency department, observation or outpatient surgery) are considered present on admission.
For the inpatient coder, the read-through is that the POA indicator can decide whether a coded secondary diagnosis counts toward payment.
POA assignment is part of DRG accuracy, not paperwork beside it.
CC capture is a documentation question, not a bonus hunt.
Code assignment follows the provider's diagnostic statement that the condition exists, so a CC or MCC exists for grouping purposes when the record documents it; the weight follows the documentation.
Discharge disposition
Beyond the coded record, a few MS-DRGs also read case-level facts: the patient's age, sex and discharge status.
Discharge status is not a diagnosis or a procedure code.
CMS lists it as a separate case-level input.
In plain terms, it reports the patient's status when the stay ended.
Age and sex sit in the same case-level list CMS names alongside discharge status, not among the coded diagnoses and procedures.
Which MS-DRGs take these inputs, and how, is grouper logic, documented in the Definitions Manual CMS publishes, the same reference that settles diagnosis and procedure grouping questions.
The coder's part is to report discharge status from the record.
On the DRGs whose logic reads it, the reported value participates in the assignment; on the rest, it rides along as claim information.
Because it comes from the chart rather than a code book, it is a field worth checking against the record before the claim goes out.
DRG validation and denials
The CC and MCC weight effect explains where scrutiny lands.
Secondary diagnoses that raise the DRG weight are the targets of DRG downgrade and clinical validation reviews, which re-check the secondary diagnoses behind the assigned group.
The compliance vocabulary for pushing that line is DRG creep.
The OIG describes DRG creep as a variety of upcoding: billing a DRG that pays more than the DRG that reflects the service.
The term matters to coders because it frames the audit lens: payment-facing reviews of inpatient claims start from whether the coded group reflects the documented care.
Accuracy is the defense in both directions.
Coding from the documentation, against the definitions CMS publishes, keeps the group a record-supported fact: an unsupported CC invites a downgrade review, and a documented one left uncoded leaves the reported weight below what the record supports.
DRG accuracy gets scrutinized for the same reason CMS publishes the weights: payment follows the group the hospital reports, and the codes behind it are the coder's output.
The downgrade and clinical validation reviews named above, payer questions and any internal review a hospital runs all read the same artifact: the coded claim.
The knowledge is tested as job skill, not trivia.
AAPC says its Certified Inpatient Coder (CIC) credential validates assigning ICD-10-CM and ICD-10-PCS codes and applying MS-DRG principles.
DRG assignment sits inside the inpatient coder's own skill set.
The career side (who hires inpatient coders, the CCS and CIC credentials in full, remote work and pay) belongs to the inpatient coder career guide, and current openings are on the inpatient coder jobs board.
Career information, not coding, billing-compliance, legal or tax advice. Grouper versions, relative weights and DRG definitions come from CMS, and Medicare billing questions run through CMS and the MACs. Confirm the current requirements with CMS or your MAC before you rely on any detail here.

