CMS provides HCRIS source data files and documentation such as the 2552-10 and 2552-96 instruction manual and worksheets.
CMS provides a 2552-96 to 2552-10 crosswalk and a list of cost-coded worksheets. The text files in 2552-10 and 2552-96 may also be helpful in getting an idea of what lines are on each version of the worksheets. The text files in 2552-10 and 2552-96 should be helpful for getting an idea of what worksheet, column, and line combinations are on each version of the worksheets. Per the README, the 2552-96 lines are changed to the Cost Center Codes for the cost center coded worksheets. In 2552-10, the cost-coded line numbers are not changed to cost codes. Instead, the cost center associated with each cost-coded line number is described in the alphanumeric data file value for the report number where WKSHT_CD = "A000000" and CLMN_NUM = "00000". Another difference between 2552-96 and 2552-10 is that the column number variable was 4 columns wide in 2552-96 and 5 columns wide in 2552-10. So, for example, column 1 in 2552-96 is "0100" and "00100" in 2552-10.
CMS began including rollups of their internal 2552-10 A, B, C, D, E, G, and S series in April 2014. They consider the 2552-96 rollup files to be unreliable.
CMS released 2552-96 bad debt files but not 2552-10. However, a 2552-10 bad debt bad debt rosetta stone is available.
Select variables from the cost reports is available in the files below. One of the variables included is ZIP Code. A ZIP Code distance database is available.
NBER affiliates can access this and other data through the NBER computing system. Files can be located using the directory path of each download link replacing "https://data.nber.org/" with "/homes/data/". For example, these HCRIS datasets can be found under "/homes/data/hcris/" on the internal NBER computer cluster. For more information on the data available on the internal server see NBER Internal Data Collection page.
Form 2552-96 has been moved further down the page.
Form 2552-10
Complimentary Reports
Hospital Provider and Address Info | Source CSV | SAS | Stata | CSV | Desc |
Hospital Cost Report Status Counts | Source CSV | SAS | Stata | CSV | Desc |
Hospital Record Counts | Source CSV | SAS | Stata | CSV | Desc |
Worksheet Column Line Combinations
Alphanumeric | SAS | Stata | CSV | Desc |
Numeric | SAS | Stata | CSV | Desc |
Complete Data in Long Shape
Select Variables in a Flat Shape
*These file are generated combine the report, numeric an alpha files, for selected variables. See SAS and Stata sample code.
Year | HCRIS Select Variables * | Rollup (SAS Files shared by CMS) | |||||||||
2022 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | Readme Layout Rollups | ||
2021 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2020 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2019 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2018 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2017 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2016 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2015 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2014 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2013 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2012 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2011 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc | |||
2010 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Desc |
Complimentary Reports
Form 2552-96
Complimentary Reports | |||||
Hospital Provider and Address Info | Source CSV | SAS | Stata | CSV | Desc |
Hospital Cost Report Status Counts | Source CSV | SAS | Stata | CSV | Desc |
Hospital Record Counts | Source CSV | SAS | Stata | CSV | Desc |
Worksheet Column Line Combinations | ||||
Alphanumeric | SAS | Stata | CSV | Desc |
Numeric | SAS | Stata | CSV | Desc |
Complete Data Files in a Long Shape
Select Variables in a Flat Shape
Year | HCRIS Select Variables | Rollup | |||||||
2011 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2010 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2009 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2008 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2007 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2006 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2005 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2004 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2003 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2002 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2001 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
2000 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
1999 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
1998 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
1997 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
1996 | SAS | Stata | CSV | Desc | SAS | Stata | CSV | Source CSV | Desc |
1995 | SAS | Stata | CSV | Desc |
Select Variables in a Flat Shape
To get the worksheets that were completed to generate the cost report data, go to Paper-Based Manuals, choose Publication # 15-2 for the Provider
To get the worksheets that were completed to generate the cost report data, go to Paper-Based Manuals, choose Publication # 15-2 for the Provider Reimbursement Manual Part 2, then choose Chapter 36. R20P236F.zip in P152_36.zip has the 2552-96 worksheets A-M,S for "cost reporting periods ending on or after September 30, 1996" or Chapter 40 for "cost reports with fiscal years beginning on or after May 1, 2010"..
The layout for the way 2552-96 cost report data was delivered might be helpful for getting an idea of some of the variables in some of the worksheets.
The HCRIS data consists of four databases: one has alphanumeric variables, one has numeric variables, one has hospital report meta-variables, and one has many of the individual numeric variables "rolled up" into one variable.
Be careful when using both the rollup file or the numeric file with negative amounts. For some items, losses are to be recorded as (+amount). In the past, sometimes values get recorded as -amount instead. Check worksheet instructions and the data when there may be negative amounts.
The primary key linking these datasets is the report record number, RPT_REC_NUM. The hospital report database is an ordinary and small rectangular data file. The alphanumeric (A) and especially the numeric (N) databases are big, long, skinny files. The A & N files have all the HCRIS report variables for all fiscal years from 1996 on. They have five variables each: RPT_REC_NUM, WKSHT_CD, LINE_NUM, CLMN_NUM, and the value. Extract data from these files using the worksheet code, line number and column number. Worksheets have names like 255296_*.xls, where * is a letter, a through s. The rollup files have three variables: RPT_REC_NUM, LABEL which is a reasonable mnemonic variable name reflecting the worksheet code, line number, and column numbers that were rolled up, and ITEM which is the value.
A statistical or database package such SAS or Oracle, etc. , or a programming language that can handle large files is necessary to use the HCRIS data. The fyYEAR.zip files are about 100 Mb and can unzip to over 1 Gb.
The SAS datasets created by these programs can be converted to other formats using conversion software such as Stat/Transfer.
- Worksheet Name / Worksheet Code Crosswalk
- Rolled Up Variables and Variable Extraction
- SAS Programs
- Comparing HCRIS variable combinations to PPS
Worksheet Name / Worksheet Code Crosswalk
The file below provides links between the seven-character worksheet codes, WKSHT_CD, used in the alphanumeric and numeric databases and descriptive labels. Over 1,300 codes are listed. For example,
- A83P001 A-8-3, Part I Physical Therapy (h)
wk_xwalk.txt | Crosswalk between worksheet name and worksheet code, WKSHT_CD |
The files below may be helpful for extracting data. They list every combination of worksheet code, column number, and line number in HCRIS' alphanumeric and numeric databases. These files can be manipulated using software such as MS Excel ( Especially the alphanumeric file. MS Excel has a limit of 65536 lines and the numeric file has over 200,000 unique combinations of WKSHT_CD, CLMN_NUM, and LINE_NUM. The numeric file could be cut down using an editor, or read with a package such as MS Access. )
SAS-friendly versions are already available with the SAS programs below.
alphnmrc | Alphanumeric worksheet codes, column numbers, and line number combinations |
nmrc | Numeric worksheet codes, column numbers, and line number combinations |
SAS Programs
(Note to NBER internal users: The first four programs have already been run. Begin by modifying the extract files to include specific variables of interest).
read_hosp_rpt.sas | read HCRIS' hosp_rpt.zip and create hosp_rpt.sas7bdat |
read_hosp_rpt_alphnmrc.sas | read HCRIS' hosp_YEAR_ALPHNMRC.CSV files and create hosp_alpha_rptYEAR_long.sas7bdat files |
read_hosp_rpt_nmrc.sas | read HCRIS' hosp_YEAR_NMRC.CSV files and create hosp_nmrc_rptYEAR_long.sas7bdat files |
read_hosp_rpt_rollup.sas | read HCRIS' hosp_YEAR_ROLLUP files and create hosp_rollupYEAR.sas7bdat files |
extract_alpha2552-10.sas extract_alpha2552-96.sas |
extract sample alphanumeric variables from hosp_alpha_long.sas7bdat to alpha.sas7bdat |
alpha where | SAS "WHERE" statement for all alphanumeric WKSHT_CD, CLMN_NUM, LINE_NUM combinations ( cut and paste needed lines into WHERE statement of alpha.sas ) |
alpha when | SAS "WHEN" statement for all alphanumeric WKSHT_CD, CLMN_NUM, LINE_NUM combinations ( cut and paste needed lines into WHEN statement of alpha.sas ) |
extract_nmrc2552-10.sas extract_nmrc2552-96.sas |
extract sample numeric variables from hosp_nmrc_long.sas7bdat to nmrc.sas7bdat |
numeric where | SAS "WHERE" statement for all WKSHT_CD, CLMN_NUM, LINE_NUM combinations ( 16 Mb ) ( cut and paste needed lines into WHERE statement of nmrc.sas ) |
numeric when | SAS "WHEN" statement for all numeric WKSHT_CD, CLMN_NUM, LINE_NUM combinations ( 25 Mb ) ( cut and paste needed lines into WHEN statement of nmrc.sas ) |
transpose_alpha.sas | transpose to wide shape (multiple variables per report number), alphat.sas7bdat |
transpose_nmrc.sas | transpose to wide shape (multiple variables per report number), nmrct.sas7bdat |
merge.sas | merge alphanumeric and numeric datasets to hospital report datasets by fiscal year |
Comparing HCRIS variable combinations to PPS
Users of the old Prospective Payment System PPS version of the hospital cost report data may wonder how PPS fields correspond to data extracted from HCRIS. The worksheet codes, column numbers, and line numbers from the most recent ( fiscal years 1996-1999 ) PPS files correspond exactly to the earliest 1996-1999 HCRIS files. Most PPS fields correspond to _exactly__one_ column and line on a 2552-96 worksheet. A few PPS fields, however, are the sum of multiple lines. The means files below are one way to check that HCRIS-extracted data corresponds to PPS fields. The match may not be exact, though. The HCRIS files have the most up-to-date cost report data for fiscal years 1996-1999. Frequency tables of the character variables are included as well.
PPS Fiscal Year | Medians of Numeric Variables | Means of Numeric Variables | Frequencies of Character Variables |
1996 | means | means | freqs |
1997 | means | means | freqs |
1998 | means | means | freqs |
1999 | means | means | freqs |
Send questions to data@nber.org.
Additional files for other HCRIS forms provided by CMS can be found in the following links: