- Diagnosis of ACS defined by a hospital discharge (ICD-10 code of I21 for myocardial infarction or I20.0 for unstable angina pectoris (with or without sub-codes) during the study period and a diagnosis of AF (ICD-10 code I48 with or without sub-codes) in the Patient Register before or on the same day as the patient was discharged for ACS.