> 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-national.md).

# Medicare Spending Per Beneficiary - National

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__NATIONAL` 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__NATIONAL`     |
| **Databricks**     | `cms_dwv.medicare_spending_per_beneficiary__national` |
| **Update pattern** | Full-refresh — each file replaces the prior snapshot  |
| **CMS published**  | 2026-04-21                                            |
| **Loaded**         | 2026-05-15                                            |
| **Columns**        | 8 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__NATIONAL
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__national
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 numbers displayed here are: 1) the average MSPB measure for the nation; and 2) the national episode-weighted median MSPB amount used as the denominator in the calculation of each hospital's MSPB measure.
>
> — *Source: CMS feed metadata*

**Keywords:** Medicare, Medicare Spending Per Beneficiary - National **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>8 data columns + 6 lineage columns</strong></summary>

Column-level definitions are maintained by CMS in the official [Medicare Spending Per Beneficiary - National data dictionary](https://data.cms.gov/provider-data/dataset/3n5g-6b7f).

**Data columns**

| Column                      | Type   |
| --------------------------- | ------ |
| `MEASURE_ID`                | TEXT   |
| `MEASURE_NAME`              | TEXT   |
| `SCORE`                     | NUMBER |
| `FOOTNOTE__SCORE`           | TEXT   |
| `NATIONAL_MEDIAN`           | TEXT   |
| `FOOTNOTE__NATIONAL_MEDIAN` | TEXT   |
| `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__NATIONAL : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ MEDICARE_SPENDING_PER_BENEFICIARY__NATIONAL : "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__NATIONAL {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        text MEASURE_ID
        text MEASURE_NAME
        number SCORE
        text FOOTNOTE__SCORE
        number remaining_4_data_columns
    }
```

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

```sql
SELECT d.MEASURE_ID, d.MEASURE_NAME, d.SCORE,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.MEDICARE_SPENDING_PER_BENEFICIARY__NATIONAL 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/3n5g-6b7f)

## Frequently asked questions

### How often is Medicare Spending Per Beneficiary - National 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 - National cover?

2024 through 2026.

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

Count the current snapshot yourself once the share is mounted:

```sql
SELECT COUNT(*)
FROM DWV.MEDICARE_SPENDING_PER_BENEFICIARY__NATIONAL 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 - National 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__NATIONAL` directly — no pipeline setup required.

## Related feeds

{% content-ref url="/pages/vnwqm3bMKB7sRokT7RTE" %}
[Pending Initial Logging and Tracking Non Physicians](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/pending-initial-logging-and-tracking-non-physicians.md)
{% endcontent-ref %}

{% content-ref url="/pages/MOkc1wnxk1Ra5AbOmzi0" %}
[Medicare Post-Acute Care Utilization - Home Health Agency](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-post-acute-care-utilization-home-health-agency.md)
{% endcontent-ref %}

{% content-ref url="/pages/DWv8wG81BXzZGaR6DBXS" %}
[Fiscal Intermediary Shared System Attending and Rendering](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/fiscal-intermediary-shared-system-attending-and-rendering.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ci4iFQ2bcORS6OGMMqnp" %}
[Payroll Based Journal Daily Non-Nurse Staffing](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/payroll-based-journal-daily-non-nurse-staffing.md)
{% endcontent-ref %}

{% content-ref url="/pages/ZU3usTQK1xkjAgo1Nu77" %}
[Hospital Value-Based Purchasing (HVBP) - Efficiency Scores](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/hospital-value-based-purchasing-hvbp-efficiency-scores.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-national)


---

# 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-national.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.
