JMIR Formative Research (Aug 2022)

Diagnosis of Atrial Fibrillation Using Machine Learning With Wearable Devices After Cardiac Surgery: Algorithm Development Study

  • Daisuke Hiraoka,
  • Tomohiko Inui,
  • Eiryo Kawakami,
  • Megumi Oya,
  • Ayumu Tsuji,
  • Koya Honma,
  • Yohei Kawasaki,
  • Yoshihito Ozawa,
  • Yuki Shiko,
  • Hideki Ueda,
  • Hiroki Kohno,
  • Kaoru Matsuura,
  • Michiko Watanabe,
  • Yasunori Yakita,
  • Goro Matsumiya

DOI
https://doi.org/10.2196/35396
Journal volume & issue
Vol. 6, no. 8
p. e35396

Abstract

Read online

BackgroundSome attempts have been made to detect atrial fibrillation (AF) with a wearable device equipped with photoelectric volumetric pulse wave technology, and it is expected to be applied under real clinical conditions. ObjectiveThis study is the second part of a 2-phase study aimed at developing a method for immediate detection of paroxysmal AF, using a wearable device with built-in photoplethysmography (PPG). The objective of this study is to develop an algorithm to immediately diagnose AF by an Apple Watch equipped with a PPG sensor that is worn by patients undergoing cardiac surgery and to use machine learning on the pulse data output from the device. MethodsA total of 80 patients who underwent cardiac surgery at a single institution between June 2020 and March 2021 were monitored for postoperative AF, using a telemetry-monitored electrocardiogram (ECG) and an Apple Watch. AF was diagnosed by qualified physicians from telemetry-monitored ECGs and 12-lead ECGs; a diagnostic algorithm was developed using machine learning on the pulse rate data output from the Apple Watch. ResultsOne of the 80 patients was excluded from the analysis due to redness caused by wearing the Apple Watch. Of 79 patients, 27 (34.2%) developed AF, and 199 events of AF including brief AF were observed. Of them, 18 events of AF lasting longer than 1 hour were observed, and cross-correlation analysis showed that pulse rate measured by Apple Watch was strongly correlated (cross-correlation functions [CCF]: 0.6-0.8) with 8 events and very strongly correlated (CCF>0.8) with 3 events. The diagnostic accuracy by machine learning was 0.9416 (sensitivity 0.909 and specificity 0.838 at the point closest to the top left) for the area under the receiver operating characteristic curve. ConclusionsWe were able to safely monitor pulse rate in patients who wore an Apple Watch after cardiac surgery. Although the pulse rate measured by the PPG sensor does not follow the heart rate recorded by telemetry-monitored ECGs in some parts, which may reduce the accuracy of AF diagnosis by machine learning, we have shown the possibility of clinical application of using only the pulse rate collected by the PPG sensor for the early detection of AF.