Natural Language Processing to Improve Prediction of Incident Atrial Fibrillation Using Electronic Health Records.
Jeffrey M AshburnerYuchiao ChangXin WangShaan KhurshidChristopher D AndersonKumar DahalDana WeisenfeldTianrun CaiKatherine P LiaoKavishwar B WagholikarShawn N MurphySteven J AtlasSteven A LubitzDaniel E SingerPublished in: Journal of the American Heart Association (2022)
Background Models predicting atrial fibrillation (AF) risk, such as Cohorts for Heart and Aging Research in Genomic Epidemiology AF (CHARGE-AF), have not performed as well in electronic health records. Natural language processing (NLP) may improve models by using narrative electronic health record text. Methods and Results From a primary care network, we included patients aged ≥65 years with visits between 2003 and 2013 in development (n=32 960) and internal validation cohorts (n=13 992). An external validation cohort from a separate network from 2015 to 2020 included 39 051 patients. Model features were defined using electronic health record codified data and narrative data with NLP. We developed 2 models to predict 5-year AF incidence using (1) codified+NLP data and (2) codified data only and evaluated model performance. The analysis included 2839 incident AF cases in the development cohort and 1057 and 2226 cases in internal and external validation cohorts, respectively. The C-statistic was greater ( P <0.001) in codified+NLP model (0.744 [95% CI, 0.735-0.753]) compared with codified-only (0.730 [95% CI, 0.720-0.739]) in the development cohort. In internal validation, the C-statistic of codified+NLP was modestly higher (0.735 [95% CI, 0.720-0.749]) compared with codified-only (0.729 [95% CI, 0.715-0.744]; P =0.06) and CHARGE-AF (0.717 [95% CI, 0.703-0.731]; P =0.002). Codified+NLP and codified-only were well calibrated, whereas CHARGE-AF underestimated AF risk. In external validation, the C-statistic of codified+NLP (0.750 [95% CI, 0.740-0.760]) remained higher ( P <0.001) than codified-only (0.738 [95% CI, 0.727-0.748]) and CHARGE-AF (0.735 [95% CI, 0.725-0.746]). Conclusions Estimation of 5-year risk of AF can be modestly improved using NLP to incorporate narrative electronic health record data.
Keyphrases
- electronic health record
- atrial fibrillation
- clinical decision support
- oral anticoagulants
- catheter ablation
- left atrial
- left atrial appendage
- adverse drug
- direct oral anticoagulants
- primary care
- heart failure
- end stage renal disease
- percutaneous coronary intervention
- newly diagnosed
- ejection fraction
- cardiovascular disease
- type diabetes
- machine learning
- gene expression
- acute coronary syndrome
- solar cells
- deep learning
- patient reported
- venous thromboembolism