Medicare Hospital Inpatient Utilization & Payments Reference, 2024
Look up inpatient discharge activity and average payments by hospital and MS-DRG. The prepared CMS reference connects hospital CCNs to published inpatient groups, with separate charge, total-payment and Medicare-payment measures.
2024 observations · CMS modified April 23, 2026
- Your starting data
- Hospital CCNs and an inpatient MS-DRG code, for a historical Medicare activity comparison.
- The prepared result
- Six documented CSV tables with hospital/group activity, hospital and DRG lookups, and complete source accounting.
Preview the data and download a sample
These are the first three rows from the delivered CSV, showing 7 of 17 fields. The free download contains the first five rows and all 17 fields; it is a format sample, not a coverage test.
| hospital_ccn | hospital_name | drg_code | discharges | average_covered_charge | average_total_payment | average_medicare_payment |
|---|---|---|---|---|---|---|
| 010001 | Southeast Health Medical Center | 003 | 11 | 738478.63636 | 103236.27273 | 91218.181818 |
| 010001 | Southeast Health Medical Center | 023 | 23 | 173562.08696 | 40220.217391 | 37634.565217 |
| 010001 | Southeast Health Medical Center | 024 | 13 | 95613.307692 | 27305.461538 | 25644.307692 |
Coverage and how to use the data
Uses
Enrich a hospital roster with published inpatient activity, find hospitals reporting a particular MS-DRG, or compare historical payments for the same inpatient group. The guide looks up DRG 470 for Duke, UNC and WakeMed.
Row definition
One calendar year, hospital CMS Certification Number (CCN) and Medicare Severity Diagnosis Related Group (MS-DRG). The main table retains all 145,879 original records and 15 source fields, adding year and source record number for 17 fields.
Unique keyyear + hospital_ccn + drg_code
Join keys and usage
Use year + hospital_ccn + drg_code as the main key. The hospital table joins on year + hospital_ccn; the group table on year + drg_code. Keep six-character CCNs, three-character DRGs, ZIPs and FIPS as text. Review reporting periods and facility identity before attaching a separate quality reference.
Coverage
Six CSV tables: 145,879 hospital/group observations; 2,906 historical hospital identities and published-coverage summaries; 540 original DRG descriptions and coverage summaries; complete source-record accounting; all 15 source-column mappings; and the retained source edition. The published groups contain 4,952,481 discharges, not unique patients or complete national totals.
Limitations
- Original Medicare Part A fee-for-service IPPS short-stay hospital activity only. Excludes Medicare Advantage and does not represent all hospitals, insurers or patients.
- CMS omits hospital/DRG groups with ten or fewer discharges. No published record does not prove zero activity. All cells in retained rows are populated; no missing groups or counts are filled in.
- Discharges are not unique patients. Published-group sums are incomplete hospital and national totals; CMS separate summaries use unsuppressed underlying claims and need not agree with these row sums.
- Covered charges are billed amounts. Total payments include Medicare, patient responsibility and applicable third-party payments; Medicare payments exclude those other shares. All three are historical nominal USD averages per discharge.
- Payment differences can reflect teaching, disproportionate-share, capital, outlier and other payment components. Maryland has different payment arrangements. These amounts are not current prices, hospital costs, patient quotes or quality/efficiency rankings.
- Do not average groups without appropriate discharge weights or reconstruct precise spending from rounded averages. Original numeric precision and shortened source descriptions are retained.
- Hospital names and addresses are historical. No current facility status, ownership, merger, NPI mapping or county mapping is inferred. Matching identifiers alone does not align dated quality measures with 2024 activity.
- This is one fixed 2024 source edition, without an automatic refresh or a historical series. The linked CMS dictionary and specifications date to 2023 and the methodology to 2024; documentation discrepancies are recorded.
What the prepared download adds
CMS publishes the original file free. The $29 download provides checked hospital and group references, clear field names, payment definitions, coverage summaries and a working Python example.
| Task | Free source data | Included in this download |
|---|---|---|
| Look up an inpatient group across hospitals | Hospital attributes, DRG descriptions and utilization repeat in a combined source file. | A 17-field activity table plus consistent hospital and group tables with explicit join keys. |
| Interpret activity and payment measures | Omitted low-volume groups and three financial averages need separate interpretation. | Missing combinations remain unknown; discharge counts and historical charge/payment definitions travel with the files. |
| Reuse a particular source edition | Observation year, CMS revision and linked documentation dates describe different events. | Retained source and processing identities, dictionaries, checksums and independent reconciliation accompany the purchase. |
We retain the original CMS files, preserve every source row and cell in staging, and prepare documented hospital, group and activity tables. Independent reconciliation checks every delivered source value and all derived coverage summaries. Identifiers, numeric precision and original labels remain unchanged; absent groups remain absent. Our preparation and versioning process →
Main table fields
The main table’s field dictionary from the current download. CSV has no built-in types; these are the intended import types.
| Field | Type | Meaning |
|---|---|---|
year | string | Calendar year of inpatient discharge, 2024; distinct from CMS modification and ACD capture dates. |
hospital_ccn | string | Six-character CMS Certification Number for the inpatient hospital. Retained as text with leading zeros. Source CSV name Rndrng_Prvdr_CCN; dictionary alias Rndrng_CCN. |
hospital_name | string | The name of the provider. Historical source attribute; not a verified current facility record or patient residence. |
city | string | The city in which the provider is physically located. Historical source attribute; not a verified current facility record or patient residence. |
street | string | The street address in which the provider is physically located. Historical source attribute; not a verified current facility record or patient residence. |
state_fips | string | The state FIPS code for the state in which the provider is physically located. Historical source attribute; not a verified current facility record or patient residence. |
zip5 | string | The zip code in which the provider is physically located. Historical source attribute; not a verified current facility record or patient residence. |
state | string | The state abbreviation for the state in which the provider is physically located. Historical source attribute; not a verified current facility record or patient residence. |
ruca_code | string | The Rural-Urban Commuting Area (RUCA) code for the zip code in which the provider is physically located. RUCA codes classify zip codes as rural/urban areas based on measures of population density, level of urbanization, and daily commuting patterns. These codes are developed by United States Department of Agriculture, Economic Research Service. Historical source attribute; not a verified current facility record or patient residence. |
ruca_description | string | The description of the RUCA code. RUCA codes classify zip codes as rural/urban areas based on measures of population density, level of urbanization, and daily commuting patterns. These codes are developed by United States Department of Agriculture, Economic Research Service. Historical source attribute; not a verified current facility record or patient residence. |
drg_code | string | Three-character MS-DRG identifier assigned to the discharge group in this edition. Preserve leading zeros; not an ICD diagnosis or procedure code. |
drg_description | string | Original MS-DRG description, including source-shortened labels. Do not join by description or assume unchanged meaning across years. |
discharges | string | Published hospital/MS-DRG discharge count, not distinct patients. Source omits groups with ten or fewer discharges. Absence does not establish zero. |
average_covered_charge | string | Historical nominal USD covered charge per discharge in this hospital/DRG group. Billed amount, not payment, hospital cost or current price. |
average_total_payment | string | Historical nominal USD total payment per discharge, including Medicare, patient responsibility and applicable third parties; includes applicable teaching, disproportionate-share, capital and outlier components. |
average_medicare_payment | string | Historical nominal USD Medicare-paid amount per discharge. Excludes beneficiary co-pay/deductible and third-party payments. Not a current quote or risk-adjusted comparison. |
source_row | string | One-based original CSV row number, with header as row 1. |
Files included in the download
One ZIP · 5.3 MB · 21 files. No account or subscription required.
README.mdImport guidance, method, attribution, and limitationsacceptance.jsonIndependent reconciliation of all six tables against original CMS recordschecksums.jsonSHA-256 checksums for the release filesdata_dictionary.jsonTypes and definitions for every fielddrg_groups.csv540 original group descriptions with published hospital and discharge coverageexample.pyNotebook-ready hospital/DRG lookup with separate payment measuresexample_input.csvThree genuine hospital CCN selectionsexample_output.txtExpected printed outputexample_result.csvReported DRG 470 activity and historical paymentshospital_services.csvMain prepared table · UTF-8 CSVhospitals.csv2,906 historical hospital identities and coverage of published groupsmetadata.jsonSource provenance, production time, counts, and CSV checksumprovenance.jsonRetained source identifiers, URLs and file checksumsquality_report.jsonCoverage, missingness and product-specific quality checksrevision.jsonChanges and free-upgrade eligibility for this ACD revisionsource_accounting.csvAll 145,879 original source records accounted forsource_dictionary.jsonOriginal CMS API field definitions retained for comparisonsource_documentation_notes.jsonDated documentation, CCN field-name aliases and the PDF outpatient wording discrepancysource_editions.csvObservation period, publisher modification, source URL and hashsource_fields.csvComplete mapping of all 15 original source columnstable_dictionary.jsonGrains, field definitions and units for all six CSV tables
Sources, versions & changes
Source versions identify the inputs. Our processing revision describes how we prepare them. Either kind of change creates a new ACD release; the package date records when it was built.
Current source versions
- Observation year
- Calendar 2024
- CMS modification
- April 23, 2026
- Linked CMS documentation
- Dictionary May 2023; methodology May 2024; specifications April 2023
- ACD capture and preparation
- October 27, 2026 UTC · processing revision 1
- Observation coverage (ISO 8601)
- 2024
- Package prepared (UTC)
- Free CMS inpatient hospital/service source
- Original 2024 CSV
- CMS field dictionary
- CMS methodology
- CMS technical specifications
- Government works reuse guidance
Source: Centers for Medicare & Medicaid Services. Original government data are free. ACD sells preparation, documentation, validation and delivery. Independent preparation; no CMS endorsement.
Release history
Oct 27, 2026 · current package (UTC)
First ACD edition of these retained CMS inputs. Same-source processing improvements are included; genuinely new source editions may be sold separately. No automatic refresh is promised.
2024 is the observation year, not an earlier ACD release. No change from an older source edition is claimed.
Source edition, coverage and preparation recordOur processing improvements and publisher error corrections to your purchased source edition are free. Genuinely new source editions may be sold separately. See the update policy and access instructions.
Check the downloaded CSV’s integrity
The metadata file inside the ZIP records this SHA-256 checksum for hospital_services.csv. A matching checksum confirms identical CSV bytes.
f06f7f5c882b092c22215b717f6a4268c3454c133dc0dfa59381fa2856c13b95Complete dataset
Medicare Hospital Inpatient Utilization & Payments Reference, 2024
$29 USD · one time · 145,879 hospital / inpatient-group records