A novel interpretable deep learning model for diagnosis in emergency department dyspnoea patients based on complete data from an entire health care system
- PMID: 39729465
- PMCID: PMC11676563
- DOI: 10.1371/journal.pone.0311081
A novel interpretable deep learning model for diagnosis in emergency department dyspnoea patients based on complete data from an entire health care system
Abstract
Background: Dyspnoea is one of the emergency department's (ED) most common and deadly chief complaints, but frequently misdiagnosed and mistreated. We aimed to design a diagnostic decision support which classifies dyspnoeic ED visits into acute heart failure (AHF), exacerbation of chronic obstructive pulmonary disease (eCOPD), pneumonia and "other diagnoses" by using deep learning and complete, unselected data from an entire regional health care system.
Methods: In this cross-sectional study, we included all dyspnoeic ED visits of patients ≥ 18 years of age at the two EDs in the region of Halland, Sweden, 07/01/2017-12/31/2019. Data from the complete regional health care system within five years prior to the ED visit were analysed. Gold standard diagnoses were defined as the subsequent in-hospital or ED discharge notes, and a subsample was manually reviewed by emergency medicine experts. A novel deep learning model, the clinical attention-based recurrent encoder network (CareNet), was developed. Cohort performance was compared to a simpler CatBoost model. A list of all variables and their importance for diagnosis was created. For each unique patient visit, the model selected the most important variables, analysed them and presented them to the clinician interpretably by taking event time and clinical context into account. AUROC, sensitivity and specificity were compared.
Findings: The most prevalent diagnoses among the 10,315 dyspnoeic ED visits were AHF (15.5%), eCOPD (14.0%) and pneumonia (13.3%). Median number of unique events, i.e., registered clinical data with time stamps, per ED visit was 1,095 (IQR 459-2,310). CareNet median AUROC was 87.0%, substantially higher than the CatBoost model´s (81.4%). CareNet median sensitivity for AHF, eCOPD, and pneumonia was 74.5%, 92.6%, and 54.1%, respectively, with a specificity set above 75.0, slightly inferior to that of the CatBoost baseline model. The model assembled a list of 1,596 variables by importance for diagnosis, on top were prior diagnoses of heart failure or COPD, daily smoking, atrial fibrillation/flutter, life management difficulties and maternity care. Each patient visit received their own unique attention plot, graphically displaying important clinical events for the diagnosis.
Interpretation: We designed a novel interpretable deep learning model for diagnosis in emergency department dyspnoea patients by analysing unselected data from a complete regional health care system.
Copyright: © 2024 Heyman et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Conflict of interest statement
The authors have declared that no competing interests exist.
Figures




Similar articles
-
Utilizing artificial intelligence and medical experts to identify predictors for common diagnoses in dyspneic adults: A cross-sectional study of consecutive emergency department patients from Southern Sweden.Int J Med Inform. 2025 Oct;202:105969. doi: 10.1016/j.ijmedinf.2025.105969. Epub 2025 May 22. Int J Med Inform. 2025. PMID: 40440912
-
Management of suspected acute heart failure dyspnea in the emergency department: results from the French prospective multicenter DeFSSICA survey.Scand J Trauma Resusc Emerg Med. 2016 Sep 17;24(1):112. doi: 10.1186/s13049-016-0300-x. Scand J Trauma Resusc Emerg Med. 2016. PMID: 27639971 Free PMC article.
-
Predictors of hospital admission two months after emergency department evaluation of COPD exacerbation.Respiration. 2014;88(4):298-306. doi: 10.1159/000365996. Epub 2014 Sep 10. Respiration. 2014. PMID: 25228470
-
Role of pulmonary ultrasonography in diagnosis of acute heart failure.Curr Probl Cardiol. 2025 Jan;50(1):102910. doi: 10.1016/j.cpcardiol.2024.102910. Epub 2024 Oct 28. Curr Probl Cardiol. 2025. PMID: 39477175 Review.
-
Lung Ultrasound for the Emergency Diagnosis of Pneumonia, Acute Heart Failure, and Exacerbations of Chronic Obstructive Pulmonary Disease/Asthma in Adults: A Systematic Review and Meta-analysis.J Emerg Med. 2019 Jan;56(1):53-69. doi: 10.1016/j.jemermed.2018.09.009. Epub 2018 Oct 9. J Emerg Med. 2019. PMID: 30314929
Cited by
-
Mapping artificial intelligence models in emergency medicine: A scoping review on artificial intelligence performance in emergency care and education.Turk J Emerg Med. 2025 Apr 1;25(2):67-91. doi: 10.4103/tjem.tjem_45_25. eCollection 2025 Apr-Jun. Turk J Emerg Med. 2025. PMID: 40248473 Free PMC article. Review.
References
-
- Arvig MD, Mogensen CB, Skjøt-Arkil H, Johansen IS, Rosenvinge FS, Lassen AT. Chief Complaints, Underlying Diagnoses, and Mortality in Adult, Non-trauma Emergency Department Visits: A Population-based, Multicenter Cohort Study. West J Emerg Med. 2022;23(6):855–63. doi: 10.5811/westjem.2022.9.56332 - DOI - PMC - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources
Medical