Related Experiment Video
Updated: Sep 17, 2025

A Porcine Model of Acute Autologous Pulmonary Embolism
Published on: September 6, 2024
Using a transformer language model to curate a pulmonary embolism dataset from the Medical Information Mart for
Barbara D Lam1,2, Shengling Ma3, Iuliia Kovalenko4
1Division of Hematology, Department of Medicine, Beth Israel Deaconess Medical Center, Boston, Massachusetts, USA.
Background:
Pulmonary embolism (PE) is a leading cause of preventable in-hospital mortality. Advances in diagnosis, risk stratification, and prevention can improve outcomes. Large, publicly available datasets are needed to move research forward, but are lacking in the field of hemostasis and thrombosis.
Objectives:
In this study, we experiment using a machine learning language model to automatically add PE labels to a large dataset.
Methods:
We extracted all computed tomography pulmonary angiography radiology reports (N = 19,942) from the Medical Information Mart for Intensive Care IV, a database of adult patients who presented to the emergency room or were admitted to the intensive care unit at one tertiary care center between 2008 and 2019. Two physicians manually labeled each report result as PE positive (acute PE) or PE negative. Using this as our gold standard, we compared the performance of a fine-tuned Bio_ClinicalBERT (bidirectional encoder representations from transformers) transformer language model, known as venous thromboembolism-BERT, with diagnosis codes in the ability to classify reports as PE positive or negative.
Results:
Venous thromboembolism-BERT had a sensitivity of 92.4% and a positive predictive value of 87.8% in all 19,942 computed tomography pulmonary angiography reports. Diagnosis codes had a sensitivity of 95.4% and a positive predictive value of 83.8% in the subset of 11,990 reports with an associated discharge diagnosis code.
Conclusion:
We successfully added nearly 20,000 PE labels to the publicly available Medical Information Mart for Intensive Care IV database and demonstrated how a transformer language model can automate and accelerate hematologic research.
Related Concept Videos
Pulmonary Embolism II: Diagnostic Studies and Interprofessional Care
Pulmonary Embolism I: Introduction
Pulmonary Embolism III: Nursing Management

