Title: Question-answering system extracts information on injection drug use from clinical notes

Journal Article · · Communications Medicine

Background. Injection drug use (IDU) can increase mortality and morbidity. Therefore, identifying IDU early and initiating harm reduction interventions can benefit individuals at risk. However, extracting IDU behaviors from patients’ electronic health records (EHR) is difficult because there is no other structured data available, such as International Classification of Disease (ICD) codes, and IDU is most often documented in unstructured free-text clinical notes. Although natural language processing can efficiently extract this information from unstructured data, there are no validated tools. Methods. Here, to address this gap in clinical information, we design a question-answering (QA) framework to extract information on IDU from clinical notes for use in clinical operations. Our framework involves two main steps: (1) generating a gold-standard QA dataset and (2) developing and testing the QA model. We use 2323 clinical notes of 1145 patients curated from the US Department of Veterans Affairs (VA) Corporate Data Warehouse to construct the gold-standard dataset for developing and evaluating the QA model. We also demonstrate the QA model’s ability to extract IDU-related information from temporally out-of-distribution data. Results. Here, we show that for a strict match between gold-standard and predicted answers, the QA model achieves a 51.65% F1 score. For a relaxed match between the gold-standard and predicted answers, the QA model obtains a 78.03% F1 score, along with 85.38% Precision and 79.02% Recall scores. Moreover, the QA model demonstrates consistent performance when subjected to temporally out-of-distribution data. Conclusions. Our study introduces a QA framework designed to extract IDU information from clinical notes, aiming to enhance the accurate and efficient detection of people who inject drugs, extract relevant information, and ultimately facilitate informed patient care.

Research Organization:
Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
Sponsoring Organization:
USDOE Office of Science (SC)
Grant/Contract Number:
AC05-00OR22725
OSTI ID:
2333838
Journal Information:
Communications Medicine, Journal Name: Communications Medicine Journal Issue: 1 Vol. 4; ISSN 2730-664X
Publisher:
SpringerCopyright Statement
Country of Publication:
United States
Language:
English

References (59)

mmahbub/qa-system-for-injection-drug-use: QA system for injection drug use: sample release software December 2023
Development and Validation of Machine Models Using Natural Language Processing to Classify Substances Involved in Overdose Deaths journal August 2022
Using natural language processing of clinical text to enhance identification of opioid‐related overdoses in electronic health records data journal June 2019
A Simple Algorithm for Identifying Negated Findings and Diseases in Discharge Summaries journal October 2001
Development and multimodal validation of a substance misuse algorithm for referral to treatment using artificial intelligence (SMART-AI): a retrospective deep learning study journal June 2022
Moving Electronic Medical Records Upstream journal February 2015
Estimated number of injection-involved drug overdose deaths, United States, 2000 – 2018 journal May 2022
Using natural language processing to identify problem usage of prescription opioids journal December 2015
ConText: An algorithm for determining negation, experiencer, and temporal status from clinical reports journal October 2009
Machine learning for phenotyping opioid overdose events journal June 2019
Annotating social determinants of health using active learning, and characterizing determinants using neural event extraction journal January 2021
Classifying social determinants of health from unstructured electronic health records using deep learning-based natural language processing journal March 2022
Detecting Social and Behavioral Determinants of Health with Structured and Free-Text Clinical Data journal January 2020
Using Data Science to Improve Outcomes for Persons with Opioid use Disorder journal January 2022
BioADAPT-MRC: adversarial learning-based domain adaptation improves biomedical machine reading comprehension task journal July 2022
BioBERT: a pre-trained biomedical language representation model for biomedical text mining journal September 2019
Estimated Number of People Who Inject Drugs in the United States journal July 2022
Not Just Endocarditis: Hospitalizations for Selected Invasive Infections Among Persons With Opioid and Stimulant Use Diagnoses—North Carolina, 2010–2018 journal September 2020
National Public Health Burden Estimates of Endocarditis and Skin and Soft-Tissue Infections Related to Injection Drug Use: A Review journal September 2020
Social determinants of health in electronic health records and their impact on analysis and risk prediction: A systematic review journal November 2020
Extracting social determinants of health from electronic health records using natural language processing: a systematic review journal October 2021
Characterizing styles of clinical note production and relationship to clinical work hours among first-year residents journal November 2021
Leveraging natural language processing to augment structured social determinants of health data in the electronic health record journal April 2023
Clinical concept and relation extraction using prompt-based machine reading comprehension journal June 2023
Natural Language Processing and Machine Learning to Identify People Who Inject Drugs in Electronic Health Records journal September 2022
Increasing Infectious Endocarditis Admissions Among Young People Who Inject Drugs journal May 2016
Preventing HIV outbreaks among people who inject drugs in the United States: plus ça change, plus ça même chose journal August 2020
Using Clinical Notes and Natural Language Processing for Automated HIV Risk Assessment journal February 2018
Clinical and Sociobehavioral Prediction Model of 30-Day Hospital Readmissions Among People With HIV and Substance Use Disorder: Beyond Electronic Health Record Data journal March 2019
cpgQA: A Benchmark Dataset for Machine Reading Comprehension Tasks on Clinical Practice Guidelines and a Case Study Using Transfer Learning journal January 2023
Challenges and Barriers in Applying Natural Language Processing to Medical Examiner Notes from Fatal Opioid Poisoning Cases conference December 2020
Investigating the role of Named Entity Recognition in Question Answering Models conference October 2022
A Survey on Deep Learning for Named Entity Recognition journal January 2022
Natural language processing: an introduction journal September 2011
Intravenous Drug Abuse by Patients Inside the Hospital: A Cause for Sustained Bacteremia journal January 2016
Automatically identifying opioid use disorder in non-cancer patients on chronic opioid therapy journal January 2022
A qualitative evaluation of the crucial attributes of contextual Information necessary in EHR design to support patient-centered medical home care journal April 2015
External validation of an opioid misuse machine learning classifier in hospitalized adult patients journal March 2021
Enhancing timeliness of drug overdose mortality surveillance: A machine learning approach journal October 2019
Unstructured clinical notes within the 24 hours since admission predict short, mid & long-term mortality in adult ICU patients journal January 2022
A Transitioning Epidemic: How The Opioid Crisis Is Driving The Rise In Hepatitis C journal February 2019
BioELECTRA:Pretrained Biomedical text Encoder using Discriminators conference January 2021
LinkBERT: Pretraining Language Models with Document Links conference January 2022
SQuAD: 100,000+ Questions for Machine Comprehension of Text conference January 2016
emrQA: A Large Corpus for Question Answering on Electronic Medical Records conference January 2018
SciBERT: A Pretrained Language Model for Scientific Text
  • Beltagy, Iz; Lo, Kyle; Cohan, Arman
  • Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) https://doi.org/10.18653/v1/D19-1371
conference January 2019
TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension
  • Joshi, Mandar; Choi, Eunsol; Weld, Daniel
  • Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) https://doi.org/10.18653/v1/P17-1147
conference January 2017
Publicly Available Clinical conference January 2019
Transfer Learning in Biomedical Natural Language Processing: An Evaluation of BERT and ELMo on Ten Benchmarking Datasets conference January 2019
Natural Language Processing of Clinical Notes to Identify Mental Illness and Substance Use Among People Living with HIV: Retrospective Cohort Study journal March 2021
Assessing the Documentation of Social Determinants of Health for Lung Cancer Patients in Clinical Narratives journal March 2022
Classifying Characteristics of Opioid Use Disorder From Hospital Discharge Summaries Using Natural Language Processing journal May 2022
The physical health of people who inject drugs: complexities, challenges, and continuity journal May 2016
Span-based Joint Entity and Relation Extraction with Transformer Pre-training audiovisual January 2020
RoBERTa: A Robustly Optimized BERT Pretraining Approach preprint January 2019
QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognition preprint January 2022
Task formulation for Extracting Social Determinants of Health from Clinical Narratives preprint January 2023
mmahbub/qa-system-for-injection-drug-use: QA system for injection drug use: sample release software December 2023
External validation of an opioid misuse machine learning classifier in hospitalized adult patients collection January 2021