Application of a machine learning algorithm for detection of atrial fibrillation in secondary care

Int J Cardiol Heart Vasc. 2020 Nov 29:31:100674. doi: 10.1016/j.ijcha.2020.100674. eCollection 2020 Dec.

Abstract

Atrial fibrillation (AF) is the most common sustained heart arrhythmia and significantly increases risk of stroke. Opportunistic AF testing in high-risk patients typically requires frequent electrocardiogram tests to capture the arrhythmia. Risk-prediction algorithms may help to more accurately identify people with undiagnosed AF and machine learning (ML) may aid in the diagnosis of AF. Here, we applied an AF-risk prediction algorithm to secondary care data linked to primary care data in the DISCOVER database in order to evaluate changes in model performance, and identify patients not previously detected in primary care. We identified an additional 5,444 patients who had an AF diagnosis only in secondary care during the data extraction period. 2,696 (49.5%) were accepted by the algorithm and the algorithm correctly assigned 2,637 (97.8%) patients to the AF cohort. Using a risk threshold of 7.4% in patients aged ≥ 30 years, algorithm sensitivity and specificity was 38% and 95%, respectively. Approximately 15% of AF patients assigned to the AF cohort by the algorithm had a secondary care diagnosis with no record of AF in primary care. These additional patients did not substantially alter algorithm performance. The additional detection of previously undiagnosed AF patients in secondary care highlights unexpected potential utility of this ML algorithm.

Keywords: Artificial intelligence; Atrial fibrillation; Diagnosis; Machine learning.