Conceptualizing Machine Learning for Dynamic Information Retrieval of Electronic Health Record Notes

Sharon Jiang, Shannon Shen, Monica Agrawal, Barbara Lam, Nicholas Kurtzman, Steven Horng, David R. Karger, David A. Sontag

Abstract

The large amount of time clinicians spend sifting through patient notes and documenting in electronic health records (EHRs) is a leading cause of clinician burnout. By proactively and dynamically retrieving relevant historical documents based on the current clinical context, machine learning models can significantly reduce this cognitive burden. This paper introduces a framework that leverages EHR audit logs to predict a clinician's information needs in real-time during the documentation process.

Introduction: The Burden of EHR Documentation

Clinician burnout has reached crisis levels in modern medicine, largely driven by the administrative overhead of Electronic Health Records (EHRs). In high-acuity environments like the Emergency Department (ED), doctors must rapidly synthesize vast amounts of historical data while simultaneously documenting new encounters. Current EHR interfaces are often static, requiring manual searching through "bloated" free-text notes. This study addresses the challenge of dynamic information retrieval: developing systems that understand the evolving clinical context to surface relevant historical data at the precise moment it is needed.

Dynamic interaction between note-writing and document retrieval sessions.

Methodology: Leveraging Audit Logs for Dynamic Retrieval

The researchers framed the retrieval problem as a binary classification task: predicting whether a specific historical "source document" should be retrieved in the next writing session based on the current draft.

The EWAL Dataset

To train and evaluate the model, the authors introduced the ED Writing Audit Logs (EWAL) dataset. This dataset comprises 48,192 note versions from over 6,500 patient visits. Crucially, it uses EHR audit logs—records of which notes clinicians actually viewed—as a source of "supervision" or proxy labels for relevance. This approach avoids the need for labor-intensive manual labeling by experts.

Model and Feature Engineering

The team utilized a Logistic Regression model for its high interpretability. The model incorporates three primary feature categories:

  1. Patient/Clinician Context: Including the chief complaint and the clinician’s level of training.
  2. Metadata: Document recency, frequency of previous reads, and the authoring clinical service.
  3. Textual Content: Bag-of-Words (BoW) representations of both the historical source documents and the clinician's current draft.
The data curation process for the EWAL dataset, showing how writing sessions are mapped to available source documents.

Key Findings and Clinical Insights

The model demonstrated exceptional predictive power, achieving an AUC of 0.963. In a simulated retrieval scenario, it reached a Precision@10 of 0.720, meaning seven out of ten suggested notes were documents the clinician actually intended to read.

Beyond raw performance, the study yielded several clinical insights:

  • Synthesis via Copy Forwarding: A 52% unigram overlap (ROUGE-1) between notes read and notes written confirms that clinicians actively synthesize information from specific past records into their current documentation.
  • Role-Based Information Signatures: Information needs vary significantly by specialty. For instance, an ED resident may prioritize recent notes, while a consultant might require deep historical context.
  • Semantic Relevance: The model remains highly effective (0.916 AUC) even when the most recent notes are hidden, indicating it learns semantic relevance rather than relying solely on chronological proximity.

Conclusion and Future Directions

This research demonstrates that the "digital exhaust" of clinical work—audit logs—can be repurposed to build powerful assistive tools. While the current Bag-of-Words approach is effective, future work will explore more sophisticated architectures, such as Transformers (e.g., ClinicalBERT), to capture the nuances of medical language. Moving from offline evaluation to real-time pilot deployments will be essential to measure the actual impact on clinician documentation time and cognitive load in practice.

Summary updated

BibTeX
@inproceedings{jiang2023conceptualizing,
  author = {Sharon Jiang and Shannon Shen and Monica Agrawal and Barbara Lam and Nicholas Kurtzman and Steven Horng and David R. Karger and David A. Sontag},
  title = {{Conceptualizing Machine Learning for Dynamic Information Retrieval of Electronic Health Record Notes}},
  booktitle = {MLHC},
  year = {2023},
  url = {https://openreview.net/forum?id=ZqdhrtPDlHw},
}
Figure