Full implementation of the available evidence on secondary prevention should ensure that all patients after myocardial infarction should be offered both effective treatment and be maintained on treatment. This article describes the Heart disease Evidence-based Audit and Research in Tayside Scotland (HEARTS) collaboration which has been set up to try and achieve this. HEARTS can collect electronic data from many sources; prioritise data from multiple sources, such as hospital and general practice; process and link patient records; and, allow manual validation of electronic data. It can also facilitate clinical governance issues in general practice and hospital plus disseminate information to patients. It is hoped that, in addition to secondary prevention, it will be able to extend its focus to other aspects of cardiovascular disease in the future as well as being used for epidemiological and qualitative projects. The system maintains the security and rights of patients at all times.