Related Experiment Video
Updated: May 7, 2025

Author Spotlight: An Efficient Methodology to Confidently Differentiate and Characterize Fentanyl Analogs
Published on: November 8, 2024
Natural language processing tool for extracting information about opioid overdoses in the USA from case narratives in
Elise Omaki1, Felipe Restrepo2, Wendy C Shields3
1Johns Hopkins Center for Injury Research and Policy, Johns Hopkins Bloomberg School of Public Health, Baltimore, Maryland, USA eperry@jhu.edu.
Background:
Improving the infrastructure for drug overdose surveillance is critical for identifying new threats and responding to emerging trends. We aimed to develop a prototype tool using the principles of natural language processing that can extract information from the death records of drug overdose victims.
Methods:
Data were obtained from the Violent Death Reporting System on drug overdose deaths. Narratives were manually labelled for 12 attributes of interest, totalling 82 labels about the circumstances of the overdose. Narratives were passed through the 'Excel Extractor' to identify and extract a target phrase and subsequently map the extracted phrase to predetermined code values. The output from the Excel Extractor was compared with manually labelled data to determine accuracy. Performance was compared against multiple machine learning models.
Results:
The Excel Extractor performed well across the attributes of interest, achieving an F1 Score over 0.8 on nine of the 12 attributes. The Excel Extractor was the highest performing model on seven of the 12 attributes. The Excel Extractor achieved an F1 Score of 0.8 or higher on 46 of 82 (56%) of the labels, and a score of 0.9 or higher on nearly one-third (25 out of 82) of the labels.
Conclusion:
This work demonstrates it is feasible to develop a spreadsheet-formula-based natural language processing tool to accurately extract information about drug overdose deaths from narratives; for most attributes, a rule-based search performs well or better than deep learning. The Excel Extractor has the potential to streamline data abstraction for epidemiologists gathering data about drug overdose deaths.
More Related Videos
Related Concept Videos
Opioid Analgesics: Morphine and Other Natural Cogeners
Opioid Analgesics: Synthetic and Semisynthetic Opioids
Analgesia and Pain Management
Drug Nomenclature
Opioid Receptors: Overview
Drug Dependence

