> For the complete documentation index, see [llms.txt](https://docs.dataplex-consulting.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-short-stay-hospital-discharge-rankings.md).

# Medicare Short-Stay Hospital Discharge Rankings

The Medicare Short-Stay Hospital Discharge Rankings dataset provides ranked information on Medicare-covered inpatient discharges from short-stay (acute care)…

Part of the [CMS Data Feeds Dataset](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md) › Medicare

Dataplex delivers this CMS feed as the analysis-ready table `DWV.MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS` on Snowflake and Databricks: nine annual reporting periods (2017–2025) aligned to a single schema, refreshed automatically whenever CMS publishes a new file. Every row carries lineage back to the exact CMS source file that produced it.

## Key facts

|                    |                                                          |
| ------------------ | -------------------------------------------------------- |
| **Snowflake**      | `DWV.MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS`     |
| **Databricks**     | `cms_dwv.medicare_shortstay_hospital_discharge_rankings` |
| **Coverage**       | Jan 2017 – Dec 2025 (9 of 9 annual reporting periods)    |
| **Rows**           | 225 (total across all reporting periods)                 |
| **Cadence**        | Annual                                                   |
| **Update pattern** | Time-partitioned; each file adds one reporting year      |
| **CMS published**  | 2026-08-11                                               |
| **Loaded**         | 2026-08-11                                               |
| **Columns**        | 5 data + 6 lineage                                       |
| **File versions**  | 9                                                        |
| **License**        | CMS public data (U.S. Government work)                   |
| **Platforms**      | Snowflake Marketplace · Databricks Delta Sharing         |

Included in the CMS Data Feeds Dataset, [start a free trial on Snowflake Marketplace](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset).

{% hint style="success" %}
**Current**: CMS last published this feed on 2026-08-11. Coverage is complete through the 2025 reporting year. Next CMS release expected \~Aug 2027.
{% endhint %}

{% hint style="info" %}
**Time-partitioned feed**: each file version covers one reporting year, so history is additive. Query the full table for all years; filter on the reporting period columns for a single period. Do **not** filter to the latest file only (that would return just the 2025 reporting year).
{% endhint %}

## Sample queries

{% tabs %}
{% tab title="Snowflake" %}

```sql
-- Each file version covers one reporting period; history is additive
SELECT *
FROM DWV.MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS
LIMIT 100;
```

{% endtab %}

{% tab title="Databricks" %}

```sql
-- Each file version covers one reporting period; history is additive
SELECT *
FROM cms_dwv.medicare_shortstay_hospital_discharge_rankings
LIMIT 100;
```

{% endtab %}
{% endtabs %}

## About this feed

> The Medicare Short-Stay Hospital Discharge Rankings dataset provides ranked information on Medicare-covered inpatient discharges from short-stay (acute care) hospitals by Diagnosis-Related Group (DRG). It includes discharge counts and current and prior fiscal year rankings for DRGs, highlighting the conditions and procedures most frequently associated with Medicare-covered inpatient discharges and how their rankings change over time. The data provide insight into trends in Medicare inpatient hospital usage, including common reasons for hospital admission and discharge.
>
> *Source: CMS feed metadata*

**Keywords:** Medicare, Original Medicare, Hospitals & Facilities, Inpatient, Health Care Use & Payments **Theme:** Medicare

## Coverage timeline

2017–2025 🟩🟩🟩🟩🟩🟩🟩🟩🟩 (🟩 covered · ⬜ no data)

9 of 9 annual reporting periods present, no gaps.

## Release history

| Reporting period        | CMS published | Loaded     | Latest file |
| ----------------------- | ------------- | ---------- | ----------- |
| 2025-01-01 – 2025-12-31 | 2026-08-11    | 2026-08-11 | ✓           |
| 2024-01-01 – 2024-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2023-01-01 – 2023-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2022-01-01 – 2022-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2021-01-01 – 2021-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2020-01-01 – 2020-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2019-01-01 – 2019-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2018-01-01 – 2018-12-31 | 2026-08-11    | 2026-08-11 |             |
| 2017-01-01 – 2017-12-31 | 2026-08-11    | 2026-08-11 |             |

## Data dictionary

<details>

<summary>📋 <strong>5 data columns + 6 lineage columns</strong></summary>

Column-level definitions are maintained by CMS in the official [Medicare Short-Stay Hospital Discharge Rankings data dictionary](https://data.cms.gov/resources/medicare-short-stay-hospital-discharge-rankings-data-dictionary).

**Data columns**

| Column              | Type   |
| ------------------- | ------ |
| `__CURRENT_FY_RANK` | NUMBER |
| `PRIOR_FY_RANK`     | NUMBER |
| `DRG_NUMBER`        | NUMBER |
| `DRG_DESCRIPTION`   | TEXT   |
| `TOTAL_DISCHARGES`  | TEXT   |

**Lineage columns** (present on every feed table)

| Column         | Type           | Description                                 |
| -------------- | -------------- | ------------------------------------------- |
| `ROW_ID`       | TEXT           | Unique row ID for this table (PK)           |
| `FILE_ID`      | TEXT           | Source file; joins to `FEEDS_FILES.ID` (FK) |
| `FILE_FEED_ID` | TEXT           | Parent feed; joins to `FEEDS.ID` (FK)       |
| `FILE_NAME`    | TEXT           | Source file name as published by CMS        |
| `ROWNUM`       | NUMBER         | Row number within the source file           |
| `CREATED_AT`   | TIMESTAMP\_NTZ | Timestamp when the record was loaded        |

</details>

## Row-level lineage

Every row in this table traces to the exact CMS source file that produced it. The `FILE_ID` column joins to the `FEEDS_FILES` catalog table, and `FILE_FEED_ID` joins to the `FEEDS` master table:

```mermaid
erDiagram
    FEEDS ||--o{ FEEDS_FILES : "ID = FEED_ID"
    FEEDS ||--o{ MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS : "ID = FILE_ID"

    FEEDS {
        text ID PK
        text TITLE
        text VIEW_NAME
        text ACCURAL_PERIODICITY
    }
    FEEDS_FILES {
        text ID PK
        text FEED_ID FK
        date TEMPORAL_START
        date TEMPORAL_END
        date CMS_FEED_MODIFIED
        number IS_LATEST
    }
    MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        number __CURRENT_FY_RANK
        number PRIOR_FY_RANK
        number DRG_NUMBER
        text DRG_DESCRIPTION
        number remaining_1_data_columns
    }
```

Trace any row back to its source file and reporting period:

{% tabs %}
{% tab title="Snowflake" %}

```sql
SELECT d.__CURRENT_FY_RANK, d.PRIOR_FY_RANK, d.DRG_NUMBER,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID;
```

{% endtab %}

{% tab title="Databricks" %}

```sql
SELECT d.__current_fy_rank, d.prior_fy_rank, d.drg_number,
       ff.temporal_start, ff.temporal_end, ff.cms_feed_modified
FROM cms_dwv.medicare_shortstay_hospital_discharge_rankings d
JOIN cms_dwv.feeds_files ff ON d.file_id = ff.id;
```

{% endtab %}
{% endtabs %}

## Source & provenance

Published by the **Centers for Medicare & Medicaid Services** (bureau 009:38).

* [Official CMS data dictionary](https://data.cms.gov/resources/medicare-short-stay-hospital-discharge-rankings-data-dictionary)
* [Medicare Short Stay Hospital Discharge Rankings Methodology](https://data.cms.gov/resources/medicare-short-stay-hospital-discharge-rankings-methodology)

## Frequently asked questions

### How often is Medicare Short-Stay Hospital Discharge Rankings updated?

Annually. CMS last published this feed on 2026-08-11, and Dataplex loaded it to the warehouse the same day. New releases are added automatically when CMS publishes them.

### What years does Medicare Short-Stay Hospital Discharge Rankings cover?

2017 through 2025: nine annual reporting periods with no gaps. Each reporting year arrives as its own file version, and all years remain queryable side by side.

### How many records are in Medicare Short-Stay Hospital Discharge Rankings?

225 rows across all nine reporting periods. Because this feed is time-partitioned, the full table total is the meaningful count; no deduplication needed.

### How do I get Medicare Short-Stay Hospital Discharge Rankings data?

It's included in the CMS Data Feeds Dataset on the [Snowflake Marketplace](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset) (free trial available) and via [Databricks Delta Sharing](https://checkout.dataplex-consulting.com/b/3cIdR2e1J59Sh2w7pWbQY00). Once mounted, query `DWV.MEDICARE_SHORTSTAY_HOSPITAL_DISCHARGE_RANKINGS` directly; no pipeline setup required.

## Related feeds

{% content-ref url="/pages/vSHuyZ1yd8hv11QUlJFL" %}
[Medicare Post-Acute Care and Hospice - by Geography & Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-post-acute-care-and-hospice-by-geography-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/JIweaKlMmPFgOCJAFYXv" %}
[Medicare Post-Acute Care Utilization - Long-Term Care Hospital by Geography and Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-post-acute-care-utilization-long-term-care-hospital-by-geography-and-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/jtzBFpidGuHPk8xFyP1B" %}
[Medicare Inpatient Hospitals - by Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-inpatient-hospitals-by-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/6Ktd5L4FvOqn6LPnWdbI" %}
[Medicare Post-Acute Care Utilization - Hospice by Geography and Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-post-acute-care-utilization-hospice-by-geography-and-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/ze6s8OSD70lUy2roAjGT" %}
[Medicare Post-Acute Care Utilization - Long-Term Care Hospital](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-post-acute-care-utilization-long-term-care-hospital.md)
{% endcontent-ref %}

## Get this feed

1. [Start a free trial on Snowflake Marketplace](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset) or purchase via [Databricks](https://checkout.dataplex-consulting.com/b/3cIdR2e1J59Sh2w7pWbQY00)
2. Mount the share; the database and `DWV` schema appear in your account immediately
3. Run the [sample query](#sample-queries) above; no ETL, no pipeline maintenance

Questions about this feed? Contact us at <notifications@dataplex-consulting.com>.

***

Part of the [CMS Data Feeds Dataset](/data-catalog/cms-data-feeds-dataset.md); 280+ feeds · 245B+ records · updated daily. [Back to the full catalog →](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md#medicare-short-stay-hospital-discharge-rankings)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-short-stay-hospital-discharge-rankings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
