> 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/rural-emergency-hospital-unplanned-hospital-visits-hospital.md).

# Rural Emergency Hospital Unplanned Hospital Visits - Hospital

Provider-level unplanned hospital visit quality measures under the Rural Emergency Hospital Quality Reporting Program.

Part of the [CMS Data Feeds Dataset](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md) › Hospitals

Dataplex delivers this CMS feed as the analysis-ready table `DWV.RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL` on Snowflake and Databricks: two snapshot releases spanning 2026–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.RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL`     |
| **Databricks**     | `cms_dwv.rural_emergency_hospital_unplanned_hospital_visits_hospital` |
| **Cadence**        | Monthly                                                               |
| **Update pattern** | Full-refresh; each file replaces the prior snapshot                   |
| **CMS published**  | 2026-10-01                                                            |
| **Loaded**         | 2026-11-12                                                            |
| **Columns**        | 19 data + 6 lineage                                                   |
| **Identifiers**    | ZIP codes                                                             |
| **File versions**  | 2                                                                     |
| **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="info" %}
**Last CMS publication 2026-10-01**: awaiting the next release. New files load automatically when CMS publishes.
{% 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.RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL
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.rural_emergency_hospital_unplanned_hospital_visits_hospital
WHERE file_id IN (
  SELECT id FROM cms_dwv.feeds_files WHERE is_latest = 1
)
LIMIT 100;
```

{% endtab %}
{% endtabs %}

## About this feed

> Provider-level unplanned hospital visit quality measures under the Rural Emergency Hospital Quality Reporting Program. Published suppression labels are preserved. History begins with the first loaded release.
>
> *Source: CMS feed metadata*

**Keywords:** rural emergency hospitals, unplanned hospital visits, outpatient surgery **Theme:** Hospitals

## Coverage timeline

2026 🟩

1 of 1 years with snapshot releases, no gaps.

## Release history

| Reporting period          | CMS published | Loaded     | Latest file |
| ------------------------- | ------------- | ---------- | ----------- |
| Snapshot as of 2026-10-01 | 2026-10-01    | 2026-11-12 | ✓           |
| Snapshot as of 2026-07-01 | 2026-07-01    | 2026-10-26 |             |

## Data dictionary

<details>

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

**Data columns**

| Column                 | Type | Description                                                                |
| ---------------------- | ---- | -------------------------------------------------------------------------- |
| `DATA_PERIOD`          | TEXT | CMS release snapshot month (YYYY-MM), distinct from the measurement period |
| `FACILITY_ID`          | TEXT | CMS facility identifier, preserved as text including leading zeros         |
| `FACILITY_NAME`        | TEXT | Official facility name                                                     |
| `ADDRESS`              | TEXT | Facility street address                                                    |
| `CITY_TOWN`            | TEXT | Facility city or town                                                      |
| `STATE`                | TEXT | Two-letter state abbreviation                                              |
| `ZIP_CODE`             | TEXT | ZIP code, preserved as text including leading zeros                        |
| `COUNTY_PARISH`        | TEXT | Facility county or parish                                                  |
| `TELEPHONE_NUMBER`     | TEXT | Published facility telephone number                                        |
| `MEASURE_ID`           | TEXT | CMS quality measure identifier                                             |
| `MEASURE_NAME`         | TEXT | Published quality measure name                                             |
| `COMPARED_TO_NATIONAL` | TEXT | CMS comparison with national performance, including unavailable labels     |
| `DENOMINATOR`          | TEXT | Published eligible case denominator; text preserves suppression labels     |
| `SCORE`                | TEXT | Published measure score; text preserves suppression labels                 |
| `LOWER_ESTIMATE`       | TEXT | Published lower estimate; text preserves suppression labels                |
| `HIGHER_ESTIMATE`      | TEXT | Published higher estimate; text preserves suppression labels               |
| `FOOTNOTE`             | TEXT | CMS footnote code explaining publication caveats or suppression            |
| `START_DATE`           | DATE | Measurement period start date                                              |
| `END_DATE`             | DATE | Measurement period end 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{ RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL : "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
    }
    RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        text DATA_PERIOD
        text FACILITY_ID
        text FACILITY_NAME
        text ADDRESS
        number remaining_15_data_columns
    }
```

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

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

```sql
SELECT d.DATA_PERIOD, d.FACILITY_ID, d.FACILITY_NAME,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID;
```

{% endtab %}

{% tab title="Databricks" %}

```sql
SELECT d.data_period, d.facility_id, d.facility_name,
       ff.temporal_start, ff.temporal_end, ff.cms_feed_modified
FROM cms_dwv.rural_emergency_hospital_unplanned_hospital_visits_hospital 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 documentation](https://data.cms.gov/provider-data/topics/hospitals)
* [Zez1 Ka2w](https://data.cms.gov/provider-data/dataset/zez1-ka2w)

## Frequently asked questions

### How often is Rural Emergency Hospital Unplanned Hospital Visits - Hospital updated?

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

### What years does Rural Emergency Hospital Unplanned Hospital Visits - Hospital cover?

2026 through 2026.

### How many records are in Rural Emergency Hospital Unplanned Hospital Visits - Hospital?

Count the current snapshot yourself once the share is mounted:

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

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

{% endtab %}

{% tab title="Databricks" %}

```sql
SELECT COUNT(*)
FROM cms_dwv.rural_emergency_hospital_unplanned_hospital_visits_hospital d
JOIN cms_dwv.feeds_files ff ON d.file_id = ff.id
WHERE ff.is_latest = 1;
```

{% endtab %}
{% endtabs %}

### How do I get Rural Emergency Hospital Unplanned Hospital Visits - Hospital 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.RURAL_EMERGENCY_HOSPITAL_UNPLANNED_HOSPITAL_VISITS_HOSPITAL` directly; no pipeline setup required.

## Related feeds

{% content-ref url="/pages/lcLeYyYjhanZebHzMD95" %}
[Rural Emergency Hospital Outpatient Imaging Efficiency - Hospital](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/rural-emergency-hospital-outpatient-imaging-efficiency-hospital.md)
{% endcontent-ref %}

{% content-ref url="/pages/dsqSPlCPcI972JA9paGe" %}
[Rural Emergency Hospital Timely and Effective Care - Hospital](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/rural-emergency-hospital-timely-and-effective-care-hospital.md)
{% endcontent-ref %}

{% content-ref url="/pages/JItZoZ6tHConsksTeIRZ" %}
[Nursing Homes Including Rehab Services - State Inspection Cut Points](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/nursing-homes-including-rehab-services-state-inspection-cut-points.md)
{% endcontent-ref %}

{% content-ref url="/pages/Xi2aKDcCVwQXr5ug3ruz" %}
[CMS National Health Expenditure Accounts - Health Spending by Age and Sex](https://docs.dataplex-consulting.com/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/5zY0iymPfFYtcLPLkte3" %}
[Home Health Care - Measure Date Range](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/home-health-care-measure-date-range.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](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset.md); 300+ feeds · 34B+ records · updated daily. [Back to the full catalog →](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md#rural-emergency-hospital-unplanned-hospital-visits-hospital)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/rural-emergency-hospital-unplanned-hospital-visits-hospital.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
