Identify the first-listed diagnosis in the following outpatient encounters.

Established patient presents with chest pain. He has a history of previous myocardial infarction and coronary artery bypass surgery.