MedRIC research files contain the Medicare and/or Medicaid data of NIH survey participants, enhancing NIH survey data with critical healthcare services information that expands the range and depth of health questions that you can investigate. 

To learn about available files, the CMS data sources used to build these files, and file structure and content, scroll down.

To request our research files, visit the Researchers > File Request Form page.

Available Files

Last Updated: MM/DD/YYYY HH:MM:SSS PM/AM

The following Medicare and/or Medicaid research files for the surveys and Medicare and/or Medicaid data years are available for request.

NOTE: The table below specifies the data years available for each file type and survey, as not all surveys offer the same research file years.

Survey Parts A & B Research File Years Parts D Research File Years MDS Research File Years OASIS Research File Years MAX Research File Years
Add Health Parent Study (AHPS) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
Baltimore Longitudinal Study of Aging (BLSA) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
The Health, Aging, and Body Composition Study (Health ABC) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
Health and Retirement Study (HRS) 1991 - 2012 2006 - 2012 1999 - 2012 1999 - 2012 1999 - 2012
National Social Life, Health, and Aging Project (NSHAP) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
National Long Term Care Survey (NLTCS) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
Panel Study of Income Dynamics (PSID) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]
Wisconsin Longitudinal Study (WLS) [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress] [Partnership In Progress]

CMS Data Sources

MedRIC research files contain the following Medicare and Medicaid data.

Medicare or Medicaid Data Data Sources
Medicare Enrollment & Demographics
  • Base Segment of the Master Beneficiary Summary File (MBSF)
  • Denominator File (DN)
Medicare Part A
  • Home Health (HH)
  • Hospice (HO)
  • Inpatient (IP)
  • Skilled Nursing Facility Care (SNF)
Medicare Part B
  • Carrier (PB)
  • Durable Medical Equipment (DMERC)
  • Outpatient (OP)
Medicare Part D
  • Prescription Drug Event (PDE)
Long-Term Care Minimum Data Set (MDS)
  • Version 2.0
  • Version 3.0
Home Health Outcome and Assessment Information Set (OASIS)
  • Version B
  • Version B1
  • Version C
Medicaid Analytic Extract (MAX)
  • Drug Records (RX)
  • Inpatient (IP)
  • Long Term Care Records (LT)
  • Other Services Records (OT)
  • Personal Summary (PS)

Research Files – Structure & Content

There are two types of MedRIC research files:

Data Files Graphic

Data Files

Contain Medicare or Medicaid enrollment, claimsThe “request for payment [of] services and benefits” that a Medicare and/or Medicaid enrollee receives.
- CMS glossary entry for claim
, prescription drug, and/or assessment“The gathering of information rate or evaluate [a Medicare or Medicaid enrollee’s] health and needs, such as in a nursing home”.
- CMS glossary entry for assessment
data derived from CMS data sources.

Summary Files Graphic

Summary Files

Aggregate a survey participant’s Medicare or Medicaid data into one table row over different time periods.

Both file types feature encryption methods designed to secure the privacy of NIH survey participants’ personally identifiable and protected health information.

Format
.sas7bdat (Stata and R formats available upon request)
Structure
By CMS File Type (e.g., Inpatient and Outpatient), Year, and Partition
Naming Convention
FileType_Year_Partition.sas7bdat
Encryption Techniques
Blanking, Encrypting, Skewing, Counts, and Probabilities

The remainder of this section contains detailed information on these file types and our encryption policies.

MedRIC data files contain Medicare and/or Medicaid enrollment, claims, prescription drug, and/or assessment data of NIH survey participants.

To ensure that these files are ready to use “out-of-the-box”, we:

  • Reconcile versions of Medicare enrollment and claims data into a single and consistent format so that you don't have to create separate analytic programs for each version of data;
  • Structure and format raw Medicare and/or Medicaid data in research-ready formats (e.g., SAS, Stata, and R);
  • Provide a single, searchable help system that enables you to look up definitions for Medicare and/or Medicaid variables and understand Medicare and/or Medicaid file types.

There are three types of Summary files:

Beneficiary Annual Summary File Icon

Annual Summary File (ASF), which summarizes each NIH survey participant’s Medicare or Medicaid data for the entire calendar year into one table row.

Beneficiary Quarterly Summary File Icon

Quarterly Summary File (QSF), which summarizes each survey participant’s Medicare or Medicaid data for one calendar quarter into one table row.

Beneficiary Interview Gap Summary File Icon

Interview Gap Summary File (ISF), which summarizes each survey participant’s Medicare or Medicaid data from one interview to the next, referred to as “an interview gap,” into one table row.

By condensing Medicare and/or Medicaid information into one table row or “record” for each survey participant, these three file types make it easier for you to understand and use Medicare and/or Medicaid information.

To help the broadest range of researchers pursue their studies—whether graduate students or tenured faculty, we have established a three-tiered encryption policy that provides you with one of the following three versions of Medicare and/or Medicaid data, depending on your data authorization:

  • Standard Medicare or Medicaid files (encrypts or omits personally identifiable information in Medicare and/or Medicaid data, such as omitting beneficiary residence information and encrypting provider/physician identifiers);  
  • Geographic Medicare or Medicaid files (contains all Standard data plus information on beneficiaries’ residences, such as their state, county, and zip code), or
  • Provider Medicare or Medicaid files (contains all Geographic data plus provider characteristics, such as individual National Provider Identifiers (NPIs), as well as facility identifiers, such as Institutional Provider Numbers).

The table below explains each of these three encryption models through eleven identifying data elements.

Data Element Standard Geographic Provider
Social Security Number No No No
Medicare or Medicaid Insurance Account Number No No No
Beneficiary Identification Number (BID) [Random] Yes Yes Yes
Surname No No No
Age Yes Yes Yes
Gender Yes Yes Yes
Race Yes Yes Yes
Exact Dates of Service Yes Yes Yes
State Code No Yes Yes
Country Code No Yes Yes
Zip Code No Yes Yes
Health Care Provider Characteristics (such as individual National Provider Identifiers (NPIs) and Unique Provider Identification Numbers (UPINs)) No No Yes