A Knowledge Graph-based Approach for Exploring the U.S. Opioid Epidemic

Maulik R. Kamdar, Tymor Hamamsy, Shea Shelton, Ayin Vala, Tome Eftimov, James Zou, Suzanne Tamang · DOI

Abstract

The United States is in the midst of an opioid epidemic with recent estimates indicating that more than 130 people die every day due to drug overdose. The over-prescription and addiction to opioid painkillers, heroin, and synthetic opioids, has led to a public health crisis and created a huge social and economic burden. Statistical learning methods that use data from multiple clinical centers across the US to detect opioid over-prescribing trends and predict possible opioid misuse are required. However, the semantic heterogeneity in the representation of clinical data across different centers makes the development and evaluation of such methods difficult and non-trivial. We create the Opioid Drug Knowledge Graph (ODKG) -- a network of opioid-related drugs, active ingredients, formulations, combinations, and brand names. We use the ODKG to normalize drug strings in a clinical data warehouse consisting of patient data from over 400 healthcare facilities in 42 different states. We showcase the use of ODKG to generate summary statistics of opioid prescription trends across US regions. These methods and resources can aid the development of advanced and scalable models to monitor the opioid epidemic and to detect illicit opioid misuse behavior. Our work is relevant to policymakers and pain researchers who wish to systematically assess factors that contribute to opioid over-prescribing and iatrogenic opioid addiction in the US.

Introduction: The Challenge of Semantic Heterogeneity

The U.S. opioid epidemic is a massive public health crisis, yet large-scale research is hindered by "semantic heterogeneity." In Electronic Medical Records (EMRs), a single medication like Morphine can be recorded in thousands of ways—ranging from generic names like "Morphine Sulfate 50 MG" to brand names like "MS Contin" or "Duramorph." Across hundreds of hospitals, this lack of standardization makes it nearly impossible to aggregate data efficiently to track over-prescribing trends or predict misuse. Currently, cleaning this data is a labor-intensive manual process that slows critical public health interventions.

The Opioid Drug Knowledge Graph (ODKG)

To address this, researchers developed the Opioid Drug Knowledge Graph (ODKG), a specialized framework designed to unify inconsistent medication data. The ODKG integrates two major medical terminologies: ATC (Anatomical Therapeutic Chemical classification) and RxNorm (normalized names for clinical drugs). By using the Unified Medical Language System (UMLS) to link these systems via Concept Unique Identifiers (CUIs), the authors created a directed network where nodes represent drugs, ingredients, or classes, and edges represent semantic relationships such as "Has Tradename" or "Ingredient Of."

The Opioid Drug Knowledge Graph (ODKG) structure, illustrating the complex network of relationships between opioid classes, ingredients, and specific formulations.

Methods and Data Normalization

The study utilized a massive, de-identified EMR data warehouse containing records from over 400 healthcare facilities across 42 U.S. states between 2009 and 2016. To bridge the gap between raw clinical text and the ODKG, the researchers employed MedEx, a Natural Language Processing (NLP) tool. MedEx extracts drug names, strengths, and dosage forms from raw EMR strings, which are then mapped to standardized nodes in the ODKG. This process successfully mapped 88% of the 425,059 unique drug strings found in the dataset to a standardized RxNorm identifier (RxCUI). The resulting ODKG contains 97 ATC drug classes, 48 generic ingredients, and nearly 5,000 other RxNorm classes, supported by over 13,000 semantic relations.

A primary finding was the "long tail" of drug naming: common opioids like Morphine and Fentanyl each had over 1,000 unique variations in the raw data. The ODKG provides the "abstraction power" to "roll up" these variations. Instead of searching for thousands of individual strings, researchers can query a single node (e.g., "Morphine") to capture every related formulation and brand name.

This normalization enables "high-resolution" public health monitoring. For instance, the researchers identified a specific "bump" in fentanyl prescriptions in Miami around 2012, a localized trend that might be obscured in national-level averages.

Analysis of unique drug strings and regional prescription trends. (A) shows the high number of unique strings per opioid; (B) and (C) demonstrate the ODKG's ability to track prescription trends across Florida and other U.S. cities.

Conclusion and Future Directions

The ODKG demonstrates how knowledge graphs can transform messy clinical data into actionable public health insights. Future work aims to compare this approach against industry standards like the OMOP Common Data Model and to expand the focus from drug normalization to "patient phenotyping"—identifying individual risk factors for addiction. Ultimately, this clean data will support predictive machine learning models to detect illicit opioid misuse behavior before it leads to overdose.

Summary updated

Abstract

The United States is in the midst of an opioid epidemic with recent estimates indicating that more than 130 people die every day due to drug overdose. The over-prescription and addiction to opioid painkillers, heroin, and synthetic opioids, has led to a public health crisis and created a huge social and economic burden. Statistical learning methods that use data from multiple clinical centers across the US to detect opioid over-prescribing trends and predict possible opioid misuse are required. However, the semantic heterogeneity in the representation of clinical data across different centers makes the development and evaluation of such methods difficult and non-trivial. We create the Opioid Drug Knowledge Graph (ODKG) -- a network of opioid-related drugs, active ingredients, formulations, combinations, and brand names. We use the ODKG to normalize drug strings in a clinical data warehouse consisting of patient data from over 400 healthcare facilities in 42 different states. We showcase the use of ODKG to generate summary statistics of opioid prescription trends across US regions. These methods and resources can aid the development of advanced and scalable models to monitor the opioid epidemic and to detect illicit opioid misuse behavior. Our work is relevant to policymakers and pain researchers who wish to systematically assess factors that contribute to opioid over-prescribing and iatrogenic opioid addiction in the US.
BibTeX
@misc{kamdar2019knowledge,
  author = {Maulik R. Kamdar and Tymor Hamamsy and Shea Shelton and Ayin Vala and Tome Eftimov and James Zou and Suzanne Tamang},
  title = {{A Knowledge Graph-based Approach for Exploring the U.S. Opioid Epidemic}},
  year = {2019},
  eprint = {1905.11513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11513},
}
Figure