Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Formative Research

Date Submitted: Sep 27, 2021
Date Accepted: Feb 10, 2022

The final, peer-reviewed published version of this preprint can be found here:

Identifying Patients With Delirium Based on Unstructured Clinical Notes: Observational Study

Ge W, Alabsi H, Jain A, Ye E, Sun H, Fernandes M, Magdamo C, Tesh RA, Collens SI, Newhouse A, Moura L, Zafar S, Hsu J, Akeju O, Robbins GK, Mukerji SS, Das S, Westover MB

Identifying Patients With Delirium Based on Unstructured Clinical Notes: Observational Study

JMIR Form Res 2022;6(6):e33834

DOI: 10.2196/33834

PMID: 35749214

PMCID: 9270709

Identifying patients with delirium based on unstructured clinical notes.

  • Wendong Ge; 
  • Haitham Alabsi; 
  • Aayushee Jain; 
  • Elissa Ye; 
  • Haoqi Sun; 
  • Marta Fernandes; 
  • Colin Magdamo; 
  • Ryan A. Tesh; 
  • Sarah I. Collens; 
  • Amy Newhouse; 
  • Lidia Moura; 
  • Sahar Zafar; 
  • John Hsu; 
  • Oluwaseun Akeju; 
  • Gregory K. Robbins; 
  • Shibani S. Mukerji; 
  • Sudeshna Das; 
  • M. Brandon Westover

ABSTRACT

Objective:

Delirium in hospitalized patients is a syndrome of acute brain dysfunction. Diagnostic (ICD) codes are often used in studies using electronic health records (EHR), but are inaccurate. We sought to develop a more accurate method using Natural Language Processing (NLP) to detect delirium episodes based on unstructured clinical notes. Materials and Methods We collected 1.5M notes from >10K patients spanning 9 hospitals. Seven experts iteratively labeled 200,471 sentences. Using these, we trained three NLP classifiers: Support Vector Machine, Recurrent Neural Networks, and Transformer. Testing was performed on an external dataset. We also evaluated associations with delirium billing (ICD) codes, medications, orders for restraints and sitters, direct assessments (Confusion Assessment Method (CAM) scores), and in-hospital mortality. F1 scores, confusion matrices and AUC were used to compare NLP models. We used the Phi coefficient to measure associations with other delirium indicators.

Results:

The transformer NLP performed best: micro F1: 0.978, macro F1 0.918, positive AUC 0.984, negative AUC 0.992. NLP detections exhibited higher correlations (Phi) than ICD codes with deliriogenic medications (0.194], vs 0.073 for ICD codes); restraints and sitter orders (0.358 vs 0.177); mortality (0.216 vs 0.000); and CAM scores (0.256 vs -0.028). Discussion. Clinical notes are an attractive alternative to ICD codes for EHR delirium studies, but require automated methods. Our NLP model detects delirium with high accuracy, similar to manual chart review. Conclusion. Our NLP model can provide more accurate determination of delirium for large-scale EHR-based studies.


 Citation

Please cite as:

Ge W, Alabsi H, Jain A, Ye E, Sun H, Fernandes M, Magdamo C, Tesh RA, Collens SI, Newhouse A, Moura L, Zafar S, Hsu J, Akeju O, Robbins GK, Mukerji SS, Das S, Westover MB

Identifying Patients With Delirium Based on Unstructured Clinical Notes: Observational Study

JMIR Form Res 2022;6(6):e33834

DOI: 10.2196/33834

PMID: 35749214

PMCID: 9270709

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.