Back to search

Diagnosis Related Group

drg
claims·Updated Jun 23, 2026

Definition

ISO-11179 Definition

A Diagnosis Related Group (DRG) is a patient classification system used to categorize inpatient hospital stays into groups of clinically similar cases that are expected to consume similar amounts of hospital resources. CMS developed the original DRG system in the 1980s as the basis for the Inpatient Prospective Payment System (IPPS), which pays hospitals a fixed amount per discharge based on the DRG assigned to the patient's stay rather than reimbursing individual services. The DRG assignment algorithm — implemented in software called the MS-DRG Grouper — considers the patient's principal diagnosis (ICD-10-CM), secondary diagnoses (comorbidities and complications, which determine whether the case is a CC or MCC case), procedures performed (ICD-10-PCS), discharge status, and patient demographics.

DRGs are central to inpatient reimbursement analytics and hospital financial performance. Each MS-DRG has an associated relative weight that reflects the expected resource intensity of that case type relative to the average Medicare case. Multiplying the DRG weight by the hospital's base payment rate produces the expected Medicare payment for a discharge.

Cases with major complication or comorbidity (MCC) codes receive higher-weighted DRGs than cases without complications (the non-CC version of the same DRG), creating a significant financial incentive for complete and accurate diagnosis coding. A hospitalization for pneumonia coded with respiratory failure (an MCC) may generate payment of $15,000 or more, while the same case coded without the MCC might generate $7,000. Healthcare data engineers use DRG data for inpatient cost benchmarking, case mix index (CMI) analysis, hospital performance analytics, and payer contract evaluation.

The DRG code should be stored as VARCHAR(10) to accommodate both the three-digit MS-DRG format (e.g., 470 for major joint replacement) and the longer codes used in state all-payer DRG systems. Engineers maintain DRG reference tables containing the DRG description, relative weight, geometric mean length of stay, and arithmetic mean length of stay, joined to the inpatient claims header via drg_cd. Common analytics include length-of-stay outlier detection, DRG-specific readmission rate calculation, and comparison of actual paid amounts against expected DRG payments to identify underpayments or rate carve-outs in payer contracts.

Standard Abbreviation

drg

Category

claims

Production DDL — FACT_CLAIM_HEADER

FACT_CLAIM_HEADER.sql
CREATE OR REPLACE TABLE FACT_CLAIM_HEADER (
    clm_key        INTEGER        NOT NULL  -- surrogate key,
    clm_id         VARCHAR(50)    NOT NULL  -- claim identifier,
    mbr_key        INTEGER        NOT NULL  -- FK to DIM_MEMBER,
    prvdr_key      INTEGER        NOT NULL  -- FK to DIM_PROVIDER,
    clm_typ_cd     VARCHAR(10)              -- claim type code,
    clm_stat_cd    VARCHAR(10)              -- claim status code,
    svc_from_dt    DATE                     -- service from date,
    svc_to_dt      DATE                     -- service to date,
    diag_cd_1      VARCHAR(10)              -- principal diagnosis,
    proc_cd        VARCHAR(10)              -- procedure code,
    clm_bill_amt   DECIMAL(18,2)            -- billed amount,
    clm_alwd_amt   DECIMAL(18,2)            -- allowed amount,
    clm_pd_amt     DECIMAL(18,2)            -- paid amount,
    denial_rsn_cd  VARCHAR(10)              -- denial reason code,
    load_dt        TIMESTAMP_NTZ  NOT NULL  -- load timestamp
);

Standard Snowflake DDL for the canonical claims table. Convert to BigQuery or Databricks →

Why This Term Matters

Claims data is the financial backbone of the US healthcare system, and understanding claims terminology is essential for building accurate revenue cycle and reimbursement analytics. Data engineers who know this terminology can correctly parse 837 transactions, identify adjudication errors, and model denial patterns that represent real revenue recovery opportunities. A single misunderstood claims field can result in millions in underpayments identified only after external audits.

Looking for more healthcare terms?

Browse our complete library of 100,000+ standardized healthcare data terms

Browse All Terms