Long term health outcomes in patients with a history of myocardial infarction: A population based cohort study