Data

Hospital Data from CMS Provider of Services File 1993-2014

These files are processed copies of the public CMS Provider of Services data. The source data is available from the NBER. This version includes records for all inpatient hospitals (including Maryland waiver hospitals and critical access facilities) from 1993-2014. It provides information on hospital name, address, location, teaching status (including residents and residency programs offered), subtype (short-term, long-term, critical access, etc.), type of control (non-profit, for-profit, government), and size (number of beds).

CMS Hospital Data (from Provider of Services), 1993-2014 – The main dataset, pos.dta, has a record for each hospital provider number in each year it appeared in the source data. Two additional files have one record per hospital provider number: one has only the record for the first year it appeared in the 1993-2014 window (pos_firstyear.dta), and the other has the record for the last year it appeared (pos_lastyear.dta). Includes data in Stata v14, Stata v11, and CSV formats, plus full variable descriptions for those not using Stata.

Processing Code – The Stata code that processes the Provider of Services file along with instructions on how to download the source data from the NBER site.

Notes: As in the source data from CMS, hospitals that close will persist in the data but will have a termination code and termination date. Hospitals that merge, change subtype, or change type of control will usually get a new provider number, which means their old provider number will terminate (and remain in the data). Keep this in mind when attempting to follow hospitals longitudinally. I have heard, but can’t confirm, that CMS rarely updates this data, so the hospital characteristics in it may be quite out of date.

Hospital Compare Data 2004-2014

The files below include CMS Hospital Compare data for the years 2004-2014. I originally processed this data focusing on the year 2006-2008 values for the HCAHPS and the AMI, CHF, and pneumonia mortality/readmission and process of care scores. The tables that were added more recently (e.g. hospital associated infections, structural measures) are not included. If you would like to use this data in your own research, I urge you test it carefully.

Process of Care Scores, 2004-2014 – Shares of patients receiving evidence-based treatments for AMI, CHF, pneumonia, surgical care, and outpatient care. All-payer.
(Includes data in Stata v14, Stata v11, and CSV formats, plus full variable descriptions for those not using Stata. Also includes full names of process measures.)

HCAHPS, 2007-2014 – Average scores for the aggregated questions in HCAHPS patient satisfaction survey. All-payer.
(Includes data in Stata v14, Stata v11, and CSV formats, plus full variable descriptions for those not using Stata.)

Mortality (2007-2014) and Readmission (2008-2014) – Estimates of AMI, CHF, and pneumonia mortality and readmission rates. Medicare FFS patients only.
(Includes data in Stata v14, Stata v11, and CSV formats, plus full variable descriptions for those not using Stata. Also includes listing of numeric values I assigned to question responses.)

Source Data and Processing Code – The source Hospital Compare data and the Stata code that processes it. Also includes listing of where data was found (see notes.docx in base directory).