Provenance

Dataset ID
hosp-unplanned-visits
Entity Type
hospital
Role
enrichment
Source
CMS
Vintage
FY2026
Entity Count
5,399
Last ETL Run
2026-04-13

Overview

The Unplanned Hospital Visits — Hospital dataset is published by the Centers for Medicare & Medicaid Services (CMS) as part of the Hospital Compare program, now integrated into the Care Compare initiative on data.cms.gov (Provider Data API identifier 632h-zaca). It contains hospital-level measures for unplanned return visits following outpatient procedures, including ED visits after hospital outpatient surgery (OP-36) and unplanned readmissions after outpatient procedures. Each row represents one measure for one hospital, with fields for the observed rate, national comparison category, number of patients, and measure start/end dates. The current file covers FY2026, using a measurement window of approximately 3 years ending in 2022.

This dataset complements the Hospital Readmissions Reduction Program (HRRP) measures by capturing outpatient-to-ED and outpatient-to-inpatient transitions that HRRP's inpatient-focused readmission measures do not cover. It answers questions such as: which hospitals have higher- or lower-than-expected rates of unplanned return visits after outpatient surgery, how a hospital's ED return rate compares to the national average, and whether outpatient procedures at a given facility lead to subsequent emergency or inpatient care at rates that differ from national benchmarks. The data covers Medicare fee-for-service claims from IPPS-participating acute care hospitals across the United States.

Join Strategy

This dataset joins to hospital entity pages on CareGraph using the Facility ID field, which contains the CMS Certification Number (CCN) as a 6-digit zero-padded string (e.g., 010001). During ETL, the normalize_ccn() function strips whitespace and zero-pads values shorter than 6 characters to ensure consistent matching. The generic _load_measures_by_ccn() loader reads the source CSV, identifies the CCN column using a candidate-list strategy (checking "Facility ID", "Hospital CCN", "Provider Number", and variants via _find_column()), and groups all measure rows by normalized CCN. Each hospital's measure-level records are attached to its JSON manifest under the unplanned_visits key as an array of per-measure objects. Non-numeric values such as "Not Available" are filtered out during loading; numeric fields are parsed via _try_float(). The join is a left join from the hospital manifest — hospitals without Unplanned Hospital Visits records retain their existing data and display missing indicators for this dataset.

Known Limitations

Data Quality Notes

← Back to Methodology Hub · Report an error