Data mining to retrieve smoking status from electronic health records in general practice

Publication date

2022-09

Authors

de Boer, Annemarijn R.ORCID 0000-0003-4200-0917
de Groot, Mark C HORCID 0000-0002-5764-5788
Groenhof, T. Katrien J.
van Doorn, SanderORCID 0000-0003-4319-3503
Vaartjes, IloncaORCID 0000-0002-9951-5164ISNI 0000000392724702
Bots, Michiel LORCID 0000-0003-2871-9810ISNI 0000000391893395
Haitjema, SaskiaORCID 0000-0001-5465-4868

Editors

Advisors

Supervisors

Document Type

Article

Collections

Open Access logo

License

cc_by_nc

Abstract

Aims Optimize and assess the performance of an existing data mining algorithm for smoking status from hospital electronic health records (EHRs) in general practice EHRs. Methods and results We optimized an existing algorithm in a training set containing all clinical notes from 498 individuals (75 712 contact moments) from the Julius General Practitioners’ Network (JGPN). Each moment was classified as either ‘current smoker’, ‘former smoker’, ‘never smoker’, or ‘no information’. As a reference, we manually reviewed EHRs. Algorithm performance was assessed in an independent test set (n = 494, 78 129 moments) using precision, recall, and F1-score. Test set algorithm performance for ‘current smoker’ was precision 79.7%, recall 78.3%, and F1-score 0.79. For former smoker, it was precision 73.8%, recall 64.0%, and F1-score 0.69. For never smoker, it was precision 92.0%, recall 74.9%, and F1-score 0.83. On a patient level, performance for ever smoker (current and former smoker combined) was precision 87.9%, recall 94.7%, and F1-score 0.91. For never smoker, it was 98.0, 82.0, and 0.89%, respectively. We found a more narrative writing style in general practice than in hospital EHRs. Conclusion Data mining can successfully retrieve smoking status information from general practice clinical notes with a good performance for classifying ever and never smokers. Differences between general practice and hospital EHRs call for optimization of data mining algorithms when applied beyond a primary development setting.

Keywords

Data mining, Electronic health records, Routine clinical data, Smoking, Cardiology and Cardiovascular Medicine

Citation

de Boer, A, de Groot, M, Groenhof, K, van Doorn, S, Vaartjes, I, Bots, M L & Haitjema, S 2022, 'Data mining to retrieve smoking status from electronic health records in general practice', European Heart Journal Digital Health, vol. 3, no. 3, pp. 437-444. https://doi.org/10.1093/ehjdh/ztac031, https://doi.org/10.1093/ehjdh/ztac031