# CMS POS Inpatient Rehabilitation Facility Roster

`medicare_silver.dim_irf` · Provider identity · status live · 666 rows

CMS Provider of Services File, the LEGACY "Hospital_and_other" distribution (dataset "Provider of Services File - Quality Improvement and Evaluation System"), FILTERED to inpatient rehabilitation facilities (prvdr_ctgry_sbtyp_cd = "05"). IRFs are hospital SUBTYPES, not in the iQIES file dim_asc/dim_snf read — this is the hospital-file sibling. Roster spine — CCN, facility name, city/state/ZIP, composed 5-digit county FIPS, active flag (from pgm_trmntn_cd), provider subtype/category, ownership/control code. The runner downloads the hospital POS CSV once and buckets IRF/LTCH.

**Grain.** One row per Medicare-certified inpatient rehabilitation facility (by CCN) per quarterly POS snapshot.

| column | type | meaning |
|---|---|---|
| ccn | string |  |
| fac_name | string |  |
| city | string |  |
| state_cd | string |  |
| zip_cd | string |  |
| county_fips | string |  |
| is_active | boolean |  |
| provider_subtype_cd | string |  |
| provider_category_cd | string |  |
| control_type_cd | string |  |
| termination_code | string |  |
| observed_period | date |  |
| asserted_at | date |  |
| effective_period_start | date |  |
| effective_period_end | date |  |
| cms_vintage_sequence | int |  |
| parse_revision | int |  |
| parser_artifact_hash | string |  |
| source_url | string |  |
| sha256_content_hash | string |  |
| source_id | string |  |
| is_current | boolean |  |
| bronze_object_key | string |  |
| s3_version_id | string |  |
| vintage_tag | string |  |
| drug_source_version_id | string |  |

Query it: `query_substrate` with `SELECT ... FROM medicare_silver.dim_irf WHERE ... LIMIT 100`; read `describe_data_source("medicare_silver.dim_irf")` first.
