Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Dec 27;19(12):e0311081.
doi: 10.1371/journal.pone.0311081. eCollection 2024.

A novel interpretable deep learning model for diagnosis in emergency department dyspnoea patients based on complete data from an entire health care system

Affiliations

A novel interpretable deep learning model for diagnosis in emergency department dyspnoea patients based on complete data from an entire health care system

Ellen T Heyman et al. PLoS One. .

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.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. An ED patient visit.
A single ED patient visit in the health care system. The medical past is divided into periods and clinical contexts.
Fig 2
Fig 2. Hierarchical attention network of a patent visit.
The hierarchical attention network of CareNet analysing a patient visit. Circles represent vectors.
Fig 3
Fig 3. CareNet performance across different diagnostic labels.
CareNet AUROC using one year of data prior to index visit and expert labels. An illustrative example from one of the validation folds with the highest micro AUROC.
Fig 4
Fig 4
A-B. Individual patient attention plots with diagnosis AHF and pneumonia. 4A. Attention plot for a patient with AHF. The period 16–20 weeks prior to the index visit has the highest attention, i.e., is most important for diagnosis (diagram on top). During this most important period, the “others” category (diagram down to the left) is most important for diagnosis. The “others” variables are described in Table 2. Among the “others” variables, attention is highest for collected and, after that, prescribed medication of “R03 drugs for obstructive airway diseases” (diagram down to the right). 4B. Attention plot for a patient with pneumonia. The period 0–5 weeks prior to the index visit has the highest attention, i.e., is most important for diagnosis (diagram on top). During this most important period, the “others” category (diagram down to the left) is most important for diagnosis. The “others” variables are described in Table 2. Among the “others” variables, attention is highest for “stopped smoking > 6 months ago” and “collected medication R05 cough and cold preparations” (diagram down to the right).

Similar articles

Cited by

References

    1. Ibsen S, Lindskou TA, Nickel CH, Kløjgård T, Christensen EF, Søvsø MB. Which symptoms pose the highest risk in patients calling for an ambulance? A population-based cohort study from Denmark. Scand J Trauma Resusc Emerg Med. 2021;29(1):59. doi: 10.1186/s13049-021-00874-6 - DOI - PMC - PubMed
    1. Jemt E, Ekström M, Ekelund U. Outcomes in Emergency Department Patients with Dyspnea versus Chest Pain: A Retrospective Consecutive Cohort Study. Emerg Med Int. 2022;2022:4031684. - PMC - PubMed
    1. 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
    1. Langlo NM, Orvik AB, Dale J, Uleberg O, Bjørnsen LP. The acute sick and injured patients: an overview of the emergency department patient population at a Norwegian University Hospital Emergency Department. Eur J Emerg Med. 2014;21(3):175–80. doi: 10.1097/MEJ.0b013e3283629c18 - DOI - PubMed
    1. Ray P, Birolleau S, Lefort Y, Becquemin M-H, Beigelman C, Isnard R, et al.. Acute respiratory failure in the elderly: etiology, emergency diagnosis and prognosis. Critical care (London, England). 2006;10(3):R82. doi: 10.1186/cc4926 - DOI - PMC - PubMed