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 Medical Informatics

Date Submitted: Dec 11, 2022
Date Accepted: Mar 26, 2023

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

Deployment of Real-time Natural Language Processing and Deep Learning Clinical Decision Support in the Electronic Health Record: Pipeline Implementation for an Opioid Misuse Screener in Hospitalized Adults

Afshar M, Adelaine S, Resnik F, Mundt MP, Long J, Leaf M, Ampian T, Wills GJ, Schnapp B, Chao M, Brown R, Joyce C, Sharma B, Dligach D, Burnside ES, Mahoney J, Churpek MM, Patterson BW, Liao F

Deployment of Real-time Natural Language Processing and Deep Learning Clinical Decision Support in the Electronic Health Record: Pipeline Implementation for an Opioid Misuse Screener in Hospitalized Adults

JMIR Med Inform 2023;11:e44977

DOI: 10.2196/44977

PMID: 37079367

PMCID: 10160938

Deployment of Real-time Natural Language Processing and Deep Learning Clinical Decision Support in the Electronic Health Record: Pipeline Implementation and Protocol for an Opioid Misuse Screener in Hospitalized Adults

  • Majid Afshar; 
  • Sabrina Adelaine; 
  • Felice Resnik; 
  • Marlon P Mundt; 
  • John Long; 
  • Margaret Leaf; 
  • Theodore Ampian; 
  • Graham J Wills; 
  • Benjamin Schnapp; 
  • Michael Chao; 
  • Randy Brown; 
  • Cara Joyce; 
  • Brihat Sharma; 
  • Dmitriy Dligach; 
  • Elizabeth S Burnside; 
  • Jane Mahoney; 
  • Matthew M Churpek; 
  • Brian W Patterson; 
  • Frank Liao

ABSTRACT

Background:

The clinical narrative in the electronic health record (EHR) carries valuable information for predictive analytics, but its free-text form is difficult to mine and analyze for clinical decision support (CDS). Large-scale clinical natural language processing (NLP) pipelines have focused on data warehouse applications for retrospective research efforts. There remains a paucity of evidence for implementing open-source NLP engines to provide interoperable and standardized CDS at the bedside.

Objective:

The clinical protocol describes a reproducible workflow for a cloud service to ingest, process, and store clinical notes as Health Level 7 messages from a major EHR vendor in an elastic cloud computing environment.

Methods:

The technical architecture that enables the real-time, NLP CDS tool incorporates industry-leading and emerging technological capabilities. The overall NLP CDS infrastructure is protocolized with details to export the notes from the EHR, organize them and feed them into an NLP pipeline, input the processed text features into the opioid screener deep learning model, and deliver the resultant scores back to the bedside EHR as a BPA. The final architecture is a real-time NLP CDS tool, and the six components of the architecture are detailed for other health systems to benchmark. We applied the NLP CDS infrastructure to a use-case for hospital-wide opioid misuse screening using an open-source deep learning model that leveraged clinical notes mapped to standardized medical vocabularies. A random sample of 100 adult patient encounters (with an over-sampling of patients with diagnostic codes for substance misuse) in 2021 was extracted and reviewed by an inpatient physician and clinical informatics expert. The protocol also included a human-centered design and an implementation framework with a cost-effectiveness and patient outcomes analysis plan.

Results:

Internal validation of the NLP opioid misuse screener performed similarly to prior published reports for screening opioid misuse with a sensitivity of 93% (95% CI 66%-99%) and specificity of 92% (95% CI 84%-96%). The resultant NLP and deep learning pipeline can process clinical notes and provide decision support to the bedside within minutes of a provider entering a note into the EHR for all hospitalized patients. The longest delay in operational workflow and architecture was receiving cybersecurity approvals, especially with data exchange of protected health information between the Microsoft© and Epic© cloud vendors.

Conclusions:

The deployment of medical artificial intelligence (AI) systems in routine clinical care present an important yet unfulfilled opportunity, and our protocol aims to close the gap in the implementation of AI-driven CDS.


 Citation

Please cite as:

Afshar M, Adelaine S, Resnik F, Mundt MP, Long J, Leaf M, Ampian T, Wills GJ, Schnapp B, Chao M, Brown R, Joyce C, Sharma B, Dligach D, Burnside ES, Mahoney J, Churpek MM, Patterson BW, Liao F

Deployment of Real-time Natural Language Processing and Deep Learning Clinical Decision Support in the Electronic Health Record: Pipeline Implementation for an Opioid Misuse Screener in Hospitalized Adults

JMIR Med Inform 2023;11:e44977

DOI: 10.2196/44977

PMID: 37079367

PMCID: 10160938

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.