> 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/cms-national-health-expenditure-accounts-national-by-type-of-service-source-of-funds.md).

# CMS National Health Expenditure Accounts - National by Type of Service & Source of Funds

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

Dataplex delivers this CMS feed as the analysis-ready table `DWV.NHE_NATIONAL` on Snowflake and Databricks — three snapshot releases spanning 2025–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.NHE_NATIONAL`                                   |
| **Databricks**     | `cms_dwv.nhe_national`                               |
| **Cadence**        | Annual                                               |
| **Update pattern** | Full-refresh — each file replaces the prior snapshot |
| **CMS published**  | 2026-12-01                                           |
| **Loaded**         | 2026-06-29                                           |
| **Columns**        | 7 data + 6 lineage                                   |
| **File versions**  | 3                                                    |
| **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-12-01. Coverage runs through 2026-12-01. Next CMS release expected \~Dec 2027.
{% 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.NHE_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.nhe_national
WHERE file_id IN (
  SELECT id FROM cms_dwv.feeds_files WHERE is_latest = 1
)
LIMIT 100;
```

{% endtab %}
{% endtabs %}

## About this feed

> Aggregate U.S. national health spending (millions of dollars) by type of service and source of funds, 1960-2033 — historical estimates plus CMS Office of the Actuary projections. One row per (type\_of\_service, source\_of\_funds, year) with a Historical/Projected marker.
>
> — *Source: CMS feed metadata*

**Keywords:** national health expenditures, NHEA, health spending, type of service, source of funds, GDP, projections, actuary **Theme:** Health

## Coverage timeline

2025 🟩 · 2026 🟩

2 of 2 years with snapshot releases — no gaps.

## Release history

| Reporting period          | CMS published | Loaded     | Latest file |
| ------------------------- | ------------- | ---------- | ----------- |
| Snapshot as of 2026-12-01 | 2026-12-01    | 2026-06-29 | ✓           |
| Snapshot as of 2025-12-01 | 2025-12-01    | 2026-06-01 |             |
| Snapshot as of 2025-12-01 | 2025-12-01    | 2026-05-31 |             |

## Data dictionary

<details>

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

**Data columns**

| Column                 | Type   | Description                                                                                                                       |
| ---------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------- |
| `DATA_PERIOD`          | TEXT   | Release vintage (YYYY-12) — filter by this to select a specific annual release; the spending year is in the YEAR column.          |
| `TYPE_OF_SERVICE`      | TEXT   | Spending category (e.g. National Health Expenditures, Hospital Care, Physician and Clinical Services, Prescription Drugs).        |
| `SOURCE_OF_FUNDS`      | TEXT   | Funding source within the type of service (e.g. Total Expenditures, Out of pocket, Private Health Insurance, Medicare, Medicaid). |
| `INDENT_LEVEL`         | NUMBER | Leading-space indentation depth of source\_of\_funds in the source file — encodes the funding-source hierarchy (0 = top level).   |
| `YEAR`                 | NUMBER | Calendar year of the spending figure (1960-2033).                                                                                 |
| `PROJECTION_TYPE`      | TEXT   | 'Historical' for estimated actuals, 'Projected' for CMS Office of the Actuary forecast years.                                     |
| `EXPENDITURE_MILLIONS` | NUMBER | Health expenditure amount in millions of U.S. dollars.                                                                            |

**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{ NHE_NATIONAL : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ NHE_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
    }
    NHE_NATIONAL {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        text DATA_PERIOD
        text TYPE_OF_SERVICE
        text SOURCE_OF_FUNDS
        number INDENT_LEVEL
        number remaining_3_data_columns
    }
```

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

```sql
SELECT d.DATA_PERIOD, d.TYPE_OF_SERVICE, d.SOURCE_OF_FUNDS,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.NHE_NATIONAL d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID;
```

## Source & provenance

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

* [Official CMS documentation](https://www.cms.gov/data-research/statistics-trends-and-reports/national-health-expenditure-data)
* [Historical](https://www.cms.gov/data-research/statistics-trends-and-reports/national-health-expenditure-data/historical)
* [Projected](https://www.cms.gov/data-research/statistics-trends-and-reports/national-health-expenditure-data/projected)

## Frequently asked questions

### How often is CMS National Health Expenditure Accounts - National by Type of Service & Source of Funds updated?

Annually. CMS last published this feed on 2026-12-01, and Dataplex loaded it to the warehouse on 2026-06-29. New releases are added automatically when CMS publishes them.

### What years does CMS National Health Expenditure Accounts - National by Type of Service & Source of Funds cover?

2025 through 2026.

### How many records are in CMS National Health Expenditure Accounts - National by Type of Service & Source of Funds?

Count the current snapshot yourself once the share is mounted:

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

### How do I get CMS National Health Expenditure Accounts - National by Type of Service & Source of Funds 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.NHE_NATIONAL` directly — no pipeline setup required.

## Related feeds

{% content-ref url="/pages/Xi2aKDcCVwQXr5ug3ruz" %}
[CMS National Health Expenditure Accounts - Health Spending by Age and Sex](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/cms-national-health-expenditure-accounts-health-spending-by-age-and-sex.md)
{% endcontent-ref %}

{% content-ref url="/pages/zyckf6MgxloW0pIeGoQe" %}
[CMS National Health Expenditure Accounts - Health Spending by State of Residence](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/cms-national-health-expenditure-accounts-health-spending-by-state-of-residence.md)
{% endcontent-ref %}

{% content-ref url="/pages/Mh2nfmBSn5ZTNCnrajlP" %}
[CMS National Health Expenditure Accounts - Health Spending by State of Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/cms-national-health-expenditure-accounts-health-spending-by-state-of-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/vRQiv4QeaHCXVECuEOVg" %}
[CMS Program Statistics - Medicare SNF Utilization by Covered Days of Care](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/cms-program-statistics-medicare-snf-utilization-by-covered-days-of-care.md)
{% endcontent-ref %}

{% content-ref url="/pages/WaGYCCDkOmkXl8j8ewvN" %}
[Nursing Homes Including Rehab Services - Penalties](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/nursing-homes-including-rehab-services-penalties.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#cms-national-health-expenditure-accounts-national-by-type-of-service-source-of-funds)


---

# 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/cms-national-health-expenditure-accounts-national-by-type-of-service-source-of-funds.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.
