Close-up of a calculator, pen, and a page containing a line graph

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.

Available Files

Access information on the data types and years currently available for each of our survey partners below.

  • 1996 - 2010 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1996 - 2010 Parts A & B Research Files
  • 1991 - 2016 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1991 - 2016 Parts A & B Research Files
  • 2006 - 2016 Part D Drug Event (PDE) Research Files
  • 2013 - 2015 Part D Medication Therapy Management (MTM) Research Files
  • 1999 - 2016 Home Health Outcome and Assessment Information Set (OASIS) Research Files
  • 1999 - 2016 Long-Term Care Mimumum Data Set (MDS) Research Files
  • 1999 - 2012 Medicaid Analytic Extract (MAX) Research Files
  • 1991 - 2016 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1991 - 2016 Parts A & B Research Files
  • 2006 - 2016 Part D Drug Event (PDE) Research Files
  • 1999 - 2016 Home Health Outcome and Assessment Information Set (OASIS) Research Files
  • 1999 - 2016 Long-Term Care Mimumum Data Set (MDS) Research Files
  • 2011 - 2016 Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 2011 - 2016 Parts A & B Research Files
  • 2006 - 2016 Part D Drug Event (PDE) Research Files
  • 1991 - 2015 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1991 - 2015 Parts A & B Research Files
  • 1991 - 2016 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1991 - 2016 Parts A & B Research Files
  • 2013 - 2016 Part D Drug Event (PDE) Research Files
  • 2013 - 2015 Part D Medication Therapy Management (MTM) Research Files
  • 1999 - 2016 Home Health Outcome and Assessment Information Set (OASIS) Research Files
  • 1999 - 2016 Long-Term Care Mimumum Data Set (MDS) Research Files
  • 1991 - 2016 Denominator/Master Beneficiary Summary File (MBSF) - Base Segment Research Files
  • 1991 - 2016 Parts A & B Research Files
  • 2006 - 2016 Part D Drug Event (PDE) Research Files
  • 2013- 2015 Part D Medication Therapy Management (MTM) Research Files
  • 1999 - 2016 Home Health Outcome and Assessment Information Set (OASIS) Research Files
  • 1999 - 2016 Long-Term Care Mimumum Data Set (MDS) Research Files
  • 1999 - 2012 Medicaid Analytic Extract (MAX) Research Files

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)
  • Medication Therapy Management (MTM)
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
Inpatient Rehabilitation Facility Patient Assessment Instrument (IRF-PAI)
  • N/A
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

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

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.sas7bd

ENCRYPTION TECHNIQUES

Aggregating, Blanking, Counts, Dropping, Encrypting, Probabilities, and Skewing

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; and
  • Structure and format raw Medicare and/or Medicaid data in research-ready formats (e.g., SAS, Stata, and R).

We build 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 summary files 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