Repository avatar
Other Tools
v1.0.0
active

cms-care-records

com.seniorlegit/cms-care-records

Read-only US CMS Medicare care provider records, harm citations, fines, and staffing. CC BY 4.0.

Documentation

Senior Legit: US care provider records from CMS

One row per Medicare- or Medicaid-certified provider in six care types (nursing homes, home health agencies, hospices, dialysis centers, inpatient rehabilitation facilities, long-term care hospitals), plus a state table of nursing home inspection citations. Compiled from the bulk files of the CMS Provider Data Catalog.

Source of truth: seniorlegit.com. This is a copy. Each provider's full record (every citation with its scope and severity letter, penalties, staffing, ownership, quality measures) is on its page at seniorlegit.com, in English and Spanish. Sources and dates: seniorlegit.com/data/ (en español). Method for the state table: seniorlegit.com/nursing-home-harm-citations-by-state/#method.

Version 2026-10-01 (the date of the CMS nursing home files). CMS file dates by type are in the table below and in manifest.json.

Files

Each table is in data/ as CSV (UTF-8, comma separated, one header row) and as Parquet (same rows; every column stored as text so an empty value is never read as zero).

FileRowsOne row perCMS file and date
nursing-homes14,686certified nursing homeNursing homes: Provider Information and related files, updated 2026-10-01 (released 2026-10-28)
home-health-agencies12,409Medicare-certified home health agencyHome Health Care Agencies, updated 2026-09-21; patient survey (HHCAHPS) 2026-09-16
hospices6,470Medicare-certified hospiceHospice General Information and Provider Data, updated 2026-11-05
dialysis-centers7,471Medicare-certified dialysis facilityDialysis Facility Listing by Facility, updated 2026-10-22; patient survey (ICH CAHPS) 2026-10-06
inpatient-rehabilitation-facilities1,222inpatient rehabilitation facilityIRF General Information 2026-08-12 and Provider Data 2026-09-11
long-term-care-hospitals311long-term care hospitalLTCH General Information 2026-08-12 and Provider Data 2026-09-11
nursing-home-harm-citations-by-state51state (50 states and DC; places with fewer than 10 homes are left out)Derived from the nursing home files dated 2026-10-01

Exact file addresses at CMS, byte sizes and SHA-256 of every file: manifest.json.

What an empty cell means

An empty cell means the value is not in the federal record for that provider (CMS did not publish it, or suppressed it for a small sample). It never means zero. Read it as "not in the record".

Columns

nursing-homes

ColumnMeaning
ccnCMS Certification Number (6 characters; keep as text, leading zeros matter)
name, city, state, zip, countyAs in the CMS Provider Information file
overall_rating, health_inspection_rating, staffing_rating, qm_ratingCMS Five-Star ratings, 1 to 5, as CMS publishes them
certified_bedsNumber of certified beds
latest_standard_inspectionDate of the most recent standard health inspection (YYYY-MM-DD)
health_citations_latest_cycleHealth citations in that most recent inspection cycle
health_citations_publishedAll health citations CMS currently publishes for the home (its published inspection cycles, including complaint and infection-control inspections)
harm_or_worse_citationsOf those, citations with a scope and severity letter from G to L (actual harm or immediate jeopardy)
immediate_jeopardy_citationsOf those, citations at J, K or L (immediate jeopardy)
fines_usd_3yTotal fines in US dollars CMS lists for the last three years
fines_and_payment_denials_3yNumber of fines plus number of payment denials, last three years
total_nurse_hours_per_resident_dayReported total nurse staffing hours per resident per day
nursing_staff_turnover_pctTotal nursing staff turnover, percent
special_focus_statusSFF or SFF Candidate where CMS lists the home in the Special Focus Facility program; empty otherwise
abuse_iconY where CMS shows its abuse icon for the home, else N

home-health-agencies

ccn, name, city, state, zip, quality_of_patient_care_star (CMS star, 1 to 5 in half steps), patient_or_family_survey_star (HHCAHPS star), completed_surveys, ownership, discharge_to_community_rate (risk-standardized, percent), preventable_hospitalization_rate (risk-standardized, percent).

hospices

ccn, name, city, state, zip, county, patient_or_family_survey_star (CAHPS Hospice star), pct_rated_9_or_10 (caregivers who rated the hospice 9 or 10 out of 10), hospice_care_index (0 to 10), pct_visited_last_days_of_life (patients visited by a nurse or social worker on at least two of the last three days of life), ownership.

dialysis-centers

ccn, name, city, state, zip, county, quality_of_patient_care_star, patient_or_family_survey_star (ICH CAHPS), ownership, chain_organization, dialysis_stations, cms_mortality_comparison (CMS's own category: better than, as expected, or worse than expected).

inpatient-rehabilitation-facilities

ccn, name, city, state, zip, county, ownership, discharge_to_community_rate, cms_discharge_to_community_comparison (CMS category against the national rate), potentially_preventable_readmission_rate.

long-term-care-hospitals

As for inpatient rehabilitation facilities, plus beds.

nursing-home-harm-citations-by-state

state, state_name, nursing_homes, homes_with_harm_or_worse_citation, pct_homes_with_harm_or_worse_citation, homes_with_immediate_jeopardy_citation, pct_homes_with_immediate_jeopardy_citation, fines_usd_3y, fines_usd_per_home, median_nursing_staff_turnover_pct, median_total_nurse_hours_per_resident_day, pct_rated_homes_one_star, homes_last_standard_inspection_over_2_years_ago, pct_homes_last_standard_inspection_over_2_years_ago. Full definitions: METHOD.md.

How to read the state table fairly

States inspect on different schedules and cite at different rates. The state table counts inspection records; it does not rank states by quality of care. Read the last column with the others: where many homes have not had a standard inspection in over two years, fewer citations are on record. Small states move a lot on a few homes. Nationally, in these files, 8,153 of 14,686 nursing homes (55.5%) have at least one citation at actual harm or immediate jeopardy, and 29.5% have one at immediate jeopardy (inspections dated 2017-07-13 to 2026-09-23; source: seniorlegit.com/nursing-home-harm-citations-by-state/, read 2026-11-27).

Uses and limits

  • Good for: research and reporting on provider records, joining with other CMS data by ccn, building a lookup, checking one provider against the federal record.
  • Not for: ranking states or providers by quality on these columns alone; treating a missing value as zero; employment, tenant or credit screening.
  • These tables are a summary. The authoritative record is CMS's. Check Medicare Care Compare and the state survey agency before relying on one value.
  • Not medical or legal advice. Senior Legit is not a referral agency and is not affiliated with or endorsed by CMS.

Load it

import pandas as pd
nh = pd.read_csv("https://raw.githubusercontent.com/seniorlegit/care-provider-records/main/data/nursing-homes.csv", dtype=str, keep_default_na=False)
nh <- read.csv("https://raw.githubusercontent.com/seniorlegit/care-provider-records/main/data/nursing-homes.csv", colClasses = "character", na.strings = character(0))

Read every column as text first: ccn and zip keep leading zeros, and an empty value must stay "not in the record".

datapackage.json describes every file and column as a Frictionless Data Package (pip install frictionless && frictionless validate datapackage.json).

Also published at (verified 2026-11-29)

Nationally in the 2026-10-01 CMS nursing home files (14,686 facilities, 1,567,009 licensed beds): 8,153 homes (55.5%) carry G-to-L actual harm citations, 4,334 (29.5%) carry immediate jeopardy citations, and 6,468 (44.0%) accumulated $445,738,479 ($445.7M) in 3-year federal fines. An additional 436 compliance-verified state, county, and assisted-living open-data shards (1,558,899 records) are staged for edge open-data distribution (sl-open-data).

Corrections

If a value here differs from the CMS record, tell us at hello@seniorlegit.com or open an issue, with the CCN. The correction route for providers is https://seniorlegit.com/corrections/.

Licence

The CMS source data is a work of the U.S. Government and in the public domain. The compilation (selection, column layout, derived counts and the state table) is offered under CC BY 4.0. See LICENSE.

Cite

Senior Legit. Senior Legit: US care provider records from CMS, version 2026-10-01. DOI: 10.5281/zenodo.24617749. https://seniorlegit.com/data/

CITATION.cff has the machine-readable form including Zenodo DOI 10.5281/zenodo.24617749 and the Hugging Face dataset mirror.

Refresh

Updated when CMS publishes new files (nursing homes monthly; next CMS nursing home update announced for 2026-12-02). The version is always the CMS nursing home file date, never the upload date.

No installation packages available.

Remote