ResearchBMC Emergency Medicine · Jul 17, 2026

Explainable machine learning for early prediction and anatomical classification of pulmonary embolism in the emergency department

Panahi M, Ghadi MF, Dehghani T, Mahdizadeh F, Nia RGNN, Saleh N, et al
Emergency MedicinePulmonologyDigital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Pulmonary thromboembolism (PTE) is a life‑threatening condition that requires prompt and accurate evaluation in the emergency department (ED). Standardized clinical scoring systems, including the Wells and revised Geneva scores, form the cornerstone of initial risk stratification but have limited specificity, leading to unnecessary D‑dimer testing and frequent overuse of CT pulmonary angiography (CTPA). This study aimed to develop explainable machine‑learning (XML) models as a complementary decision‑support layer following initial clinical assessment, with the dual goals of improving PTE prediction and providing an early, non‑imaging‑based indication of clot location. Methods Clinical and paraclinical data from 472 ED patients with suspected PTE were collected across three centers of Mashhad University of Medical Sciences (2022-2024) using structured forms aligned with Wells/Geneva criteria. CTPA served as the reference standard for diagnosis and anatomical classification. We developed classical ML models, ensemble algorithms such as Extra Trees, and hybrid stacking pipelines. Explainable AI (XAI) using SHAP values quantified global and patientlevel feature contributions. The XML models were designed to operate after Wells/Geneva-based triage: supporting D-dimer decisions in low-risk patients and refining post-triage risk estimation in intermediate - and high-risk patients to help reduce avoidable CTPA utilization. Results In this intermediate‑ to high‑probability cohort, all patients were classified as PTE‑suspect by Wells/Geneva scoring, whereas only 24% were confirmed positive on CTPA. ML models demonstrated improved discrimination, with Extra Trees achieving the best performance (accuracy 0.82, sensitivity 0.69, specificity 0.86, AUC 0.83). Among PTE‑positive cases, the model achieved an AUC of 0.77 for central emboli and 0.67 for peripheral emboli, with an overall anatomical classification accuracy of 63%. Conclusions The proposed XML models offer a transparent, clinically aligned framework that augments existing scoring systems, enhancing diagnostic efficiency and reducing unnecessary imaging.

More on this topic

Venous thromboembolism and pulmonary embolismAI in medicine

Subject terms

Pulmonary Embolism; Humans; Emergency Service, Hospital; Machine Learning; Female; Middle Aged; Computed Tomography Angiography; Fibrin Fibrinogen Degradation Products; Aged; Predictive Learning Models; Risk Assessment

DOI: 10.1186/s12873-026-01602-y · PubMed: 42469640

Cite this article

Panahi M, Ghadi MF, Dehghani T, et al. Explainable machine learning for early prediction and anatomical classification of pulmonary embolism in the emergency department. BMC Emerg Med. 2026;26(1). doi:10.1186/s12873-026-01602-y

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Emergency Medicine studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · JAMA Netw Open · Sep 1, 2026 · Pulmonology, Emergency Medicine

Decision Moments and Pulmonary Embolism Diagnostic Quality in the Emergency Department

Meta-analysis n = 3,342 · Radiology · Dec 15, 2020 · Radiology & Imaging, Infectious Disease

Pulmonary embolism and deep vein thrombosis found in 16.5% and 14.8% of COVID-19 patients

Guideline · Acad Emerg Med · Apr 11, 2023 · Emergency Medicine, Pulmonology

Women received more guideline-consistent PE testing than men in emergency departments

Research · Lancet Respir Med · Jul 3, 2026 · Pediatric · Pulmonology, Pediatrics

PERC-Peds rule for bedside exclusion of pulmonary embolism without radiation in children in the USA (BEEPER): a multicentre, prospective, observational, diagnostic accuracy study

Research · BMC Emerg Med · Apr 3, 2026 · Emergency Medicine, Digital Health & AI

Machine learning prediction of hospitalization outcomes in critically Ill emergency department patients transported by ambulance: A Retrospective Single Center Cohort Study