Acute Myocardial Infarction End-of-Year Indicator

SAS Name

This variable indicates whether a beneficiary met the Chronic Condition Data Warehouse (CCW) criteria for an acute myocardial infarction (AMI; heart attack) as of the end of the calendar year.


The CCW’s chronic condition flags require beneficiaries to satisfy both claims criteria (a minimum number/type of claims that have the proper diagnosis codes and occurred within a specified time period) and coverage criteria (FFS Part A and Part B coverage during the entire specified time period).

For heart attack, beneficiaries must have at least one inpatient claim with a heart attack diagnosis code in the first or second position during the 1-year reference period.

The CCW’s criteria were developed after reviewing validated algorithms from the research literature and criteria used by other federal data sources. You can find more detailed information on the criteria on the CCW website:

ResDAC Comments

From CY 2017 to CY 2021, the MBSF: Chronic Conditions segment also has a newer (CC30) version. The algorithm used to create the Acute Myocardial Infarction End-of-Year Indicator variable in the CC30 version includes more DX codes and the search includes additional DX code positions.

Code Code value
0 Beneficiary did not meet claims criteria or have sufficient fee-for-service (FFS)
1 Beneficiary met claims criteria but did not have sufficient FFS coverage
2 Beneficiary did not meet claims criteria but had sufficient FFS coverage
3 Beneficiary met claims criteria and had sufficient FFS coverage