> 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-spending-per-beneficiary-state.md).

# Medicare Spending Per Beneficiary - State

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_SPENDING_PER_BENEFICIARY__STATE` on Snowflake and Databricks — six snapshot releases spanning 2024–2026, 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_SPENDING_PER_BENEFICIARY__STATE`       |
| **Databricks**     | `cms_dwv.medicare_spending_per_beneficiary__state`   |
| **Update pattern** | Full-refresh — each file replaces the prior snapshot |
| **CMS published**  | 2026-04-21                                           |
| **Loaded**         | 2026-05-15                                           |
| **Columns**        | 7 data + 6 lineage                                   |
| **File versions**  | 6                                                    |
| **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-04-21. Coverage runs through 2026-04-21. Next CMS release expected \~Jul 2026.
{% endhint %}

{% hint style="info" %}
**Full-refresh feed** — each file version is a complete snapshot and newer files supersede older ones. Filter to the latest file (see the sample query) to avoid double-counting across versions.
{% endhint %}

## Sample queries

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

```sql
-- Latest snapshot only (avoids double-counting across file versions)
SELECT *
FROM DWV.MEDICARE_SPENDING_PER_BENEFICIARY__STATE
WHERE FILE_ID IN (
  SELECT ID FROM DWV.FEEDS_FILES WHERE IS_LATEST = 1
)
LIMIT 100;
```

{% endtab %}

{% tab title="Databricks" %}

```sql
-- Latest snapshot only (avoids double-counting across file versions)
SELECT *
FROM cms_dwv.medicare_spending_per_beneficiary__state
WHERE file_id IN (
  SELECT id FROM cms_dwv.feeds_files WHERE is_latest = 1
)
LIMIT 100;
```

{% endtab %}
{% endtabs %}

## About this feed

> The Medicare Spending Per Beneficiary (MSPB) Measure shows whether Medicare spends more, less, or about the same for an episode of care (episode) at a specific hospital compared to all hospitals nationally. An MSPB episode includes Medicare Part A and Part B payments for services provided by hospitals and other healthcare providers the 3 days prior to, during, and 30 days following a patient's inpatient stay. This measure evaluates hospitals' costs compared to the costs of the national median (or midpoint) hospital. This measure takes into account important factors like patient age and health status (risk adjustment) and geographic payment differences (payment-standardization). The data displayed here are the average measures for each state.
>
> — *Source: CMS feed metadata*

**Keywords:** Medicare, Medicare Spending Per Beneficiary - State **Theme:** Medicare

## Coverage timeline

2024 🟩 · 2025 🟩 · 2026 🟩

3 of 3 years with snapshot releases — no gaps.

## Release history

| Reporting period          | CMS published | Loaded     | Latest file |
| ------------------------- | ------------- | ---------- | ----------- |
| Snapshot as of 2026-04-21 | 2026-04-21    | 2026-05-15 | ✓           |
| Snapshot as of 2026-01-26 | 2026-01-26    | 2026-02-28 |             |
| Snapshot as of 2025-10-14 | 2025-10-14    | 2025-11-28 |             |
| Snapshot as of 2025-07-16 | 2025-07-16    | 2025-08-06 |             |
| Snapshot as of 2025-01-08 | 2025-01-08    | 2025-02-27 |             |
| Snapshot as of 2024-10-10 | 2024-10-10    | 2024-12-14 |             |

## Data dictionary

<details>

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

Column-level definitions are maintained by CMS in the official [Medicare Spending Per Beneficiary - State data dictionary](https://data.cms.gov/provider-data/dataset/rs6n-9qwg).

**Data columns**

| Column         | Type   |
| -------------- | ------ |
| `STATE`        | TEXT   |
| `MEASURE_ID`   | TEXT   |
| `MEASURE_NAME` | TEXT   |
| `SCORE`        | TEXT   |
| `FOOTNOTE`     | NUMBER |
| `START_DATE`   | DATE   |
| `END_DATE`     | DATE   |

**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_SPENDING_PER_BENEFICIARY__STATE : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ MEDICARE_SPENDING_PER_BENEFICIARY__STATE : "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_SPENDING_PER_BENEFICIARY__STATE {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        text STATE
        text MEASURE_ID
        text MEASURE_NAME
        text SCORE
        number remaining_3_data_columns
    }
```

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

```sql
SELECT d.STATE, d.MEASURE_ID, d.MEASURE_NAME,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.MEDICARE_SPENDING_PER_BENEFICIARY__STATE d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID;
```

## Source & provenance

Published by the **Centers for Medicare & Medicaid Services**.

* [Official CMS documentation](https://data.cms.gov/provider-data/dataset/rs6n-9qwg)

## Frequently asked questions

### How often is Medicare Spending Per Beneficiary - State updated?

CMS last published this feed on 2026-04-21. New releases are added automatically when CMS publishes them.

### What years does Medicare Spending Per Beneficiary - State cover?

2024 through 2026.

### How many records are in Medicare Spending Per Beneficiary - State?

Count the current snapshot yourself once the share is mounted:

```sql
SELECT COUNT(*)
FROM DWV.MEDICARE_SPENDING_PER_BENEFICIARY__STATE d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID
WHERE ff.IS_LATEST = 1;
```

### How do I get Medicare Spending Per Beneficiary - State 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_SPENDING_PER_BENEFICIARY__STATE` directly — no pipeline setup required.

## Related feeds

{% content-ref url="/pages/RfpLx2SjPM0RJp04R3y4" %}
[Provider of Services File - Clinical Laboratories](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/provider-of-services-file-clinical-laboratories.md)
{% endcontent-ref %}

{% content-ref url="/pages/SuPUvqwPG7l1YXcX1lHm" %}
[Hospice Enrollments](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/hospice-enrollments.md)
{% endcontent-ref %}

{% content-ref url="/pages/RFcAj2E9gcgnYUmRWyn4" %}
[End-Stage Renal Disease Facility Aggregation Group Performance](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/end-stage-renal-disease-facility-aggregation-group-performance.md)
{% endcontent-ref %}

{% content-ref url="/pages/OQhADkpAWBxrWV3pBK1x" %}
[Payroll Based Journal Employee Detail Nursing Home Staffing](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/payroll-based-journal-employee-detail-nursing-home-staffing.md)
{% endcontent-ref %}

{% content-ref url="/pages/3nFAF6rqCgaUe1UEXQpS" %}
[Monthly Prescription Drug Plan Formulary and Pharmacy Network Information - basic\_drugs\_formulary](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/monthly-prescription-drug-plan-formulary-and-pharmacy-network-information-basic_drugs_formulary.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-spending-per-beneficiary-state)


---

# 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-spending-per-beneficiary-state.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.
