Natural language processing of head CT reports to identify intracranial mass effect: CTIME algorithm

Alexandra June Gordon, Imon Banerjee, Jason Block, Christopher Winstead-Derlega, Jennifer G. Wilson, Tsuyoshi Mitarai, Michael Jarrett, Josh Sanyal, Daniel L. Rubin, Max Wintermark, Michael A. Kohn

Research output: Contribution to journalArticlepeer-review

Abstract

Background: The Mortality Probability Model (MPM) is used in research and quality improvement to adjust for severity of illness and can also inform triage decisions. However, a limitation for its automated use or application is that it includes the variable “intracranial mass effect” (IME), which requires human engagement with the electronic health record (EHR). We developed and tested a natural language processing (NLP) algorithm to identify IME from CT head reports. Methods: We obtained initial CT head reports from adult patients who were admitted to the ICU from our ED between 10/2013 and 9/2016. Each head CT head report was labeled yes/no IME by at least two of five independent labelers. The reports were then randomly divided 80/20 into training and test sets. All reports were preprocessed to remove linguistic and style variability, and a dictionary was created to map similar common terms. We tested three vectorization strategies: Term Frequency-Inverse Document frequency (TF-IDF), Word2Vec, and Universal Sentence Encoder to convert the report text to a numerical vector. This vector served as the input to a classification-tree-based ensemble machine learning algorithm (XGBoost). After training, model performance was assessed in the test set using the area under the receiver operating characteristic curve (AUROC). We also divided the continuous range of scores into positive/inconclusive/negative categories for IME. Results: Of the 1202 CT reports in the training set, 308 (25.6%) reports were manually labeled as “yes” for IME. Of the 355 reports in the test set, 108 (30.4%) were labeled as “yes” for IME. The TF-IDF vectorization strategy as an input for the XGBoost model had the best AUROC:– 0.9625 (95% CI 0.9443–0.9807). TF-IDF score categories were defined and had the following likelihood ratios: “positive” (TF-IDF score > 0.5) LR = 24.59; “inconclusive” (TF-IDF 0.05–0.5) LR = 0.99; and “negative” (TF-IDF < 0.05) LR = 0.05. 82% of reports were classified as either “positive” or “negative”. In the test set, only 4 of 199 (2.0%) reports with a “negative” classification were false negatives and only 8 of 93 (8.6%) reports classified as “positive” were false positives. Conclusion: NLP can accurately identify IME from free-text reports of head CTs in approximately 80% of records, adequate to allow automatic calculation of MPM based on EHR data for many applications.

Original languageEnglish (US)
Pages (from-to)388-392
Number of pages5
JournalAmerican Journal of Emergency Medicine
Volume51
DOIs
StatePublished - Jan 2022

Keywords

  • Artificial intelligence
  • Emergency critical care
  • Hospital mortality
  • Natural language processing

ASJC Scopus subject areas

  • Emergency Medicine

Fingerprint

Dive into the research topics of 'Natural language processing of head CT reports to identify intracranial mass effect: CTIME algorithm'. Together they form a unique fingerprint.

Cite this