Comparing computable structured phenotype- versus large language model-identification of opioid use disorder using
Melanie Molina1,2, Cynthia Fenton2, Kathy T LeSaint1
1University of California, San Francisco, Department of Emergency Medicine, California, USA.
Medrxiv : the Preprint Server for Health Sciences
|December 25, 2025
Summary
A large language model (LLM) shows promise for identifying opioid use disorder (OUD) in emergency departments, outperforming traditional methods in specificity while maintaining high sensitivity for OUD screening.
Area of Science:
- Emergency Medicine
- Clinical Informatics
- Artificial Intelligence in Healthcare
Background:
- Opioid use disorder (OUD) is a significant public health issue, frequently encountered in emergency departments (EDs).
- Current identification methods, such as structured computable phenotypes, may not capture the full clinical context necessary for accurate diagnosis.
Purpose of the Study:
- To compare the performance of a structured computable OUD phenotype against a zero-shot large language model (LLM).
- To evaluate these methods against expert clinical review as the reference standard for OUD identification in the ED.
Main Methods:
- Retrospective analysis of 202 adult ED encounters.
- Expert physician review with consensus adjudication determined the reference standard for OUD status.
- A structured phenotype utilized ICD-10 codes, medications, toxicology, and keyword rules.
- A zero-shot LLM (GPT-4.1) classified OUD based on concatenated ED clinical notes.
Main Results:
- Expert reviewers achieved substantial agreement (κ=0.77), identifying OUD in 28% of encounters.
- The structured phenotype demonstrated high sensitivity (0.98) but low specificity (0.54).
- The zero-shot LLM achieved high sensitivity (0.93) and significantly improved specificity (0.90) compared to the phenotype (p<0.001).
Conclusions:
- A zero-shot LLM offers a balanced performance profile, excelling in specificity while maintaining high sensitivity for OUD detection.
- This suggests LLMs can be a valuable tool for tiered screening strategies in ED settings for opioid use disorder.
- LLM-based approaches may enhance the accuracy and efficiency of identifying OUD in emergency care.
More Related Videos
Related Concept Videos
Mechanistic Models: Compartment Models in Individual and Population Analysis
225
Mechanistic models are utilized in individual analysis using single-source data, but imperfections arise due to data collection errors, preventing perfect prediction of observed data. The mathematical equation involves known values (Xi), observed concentrations (Ci), measurement errors (εi), model parameters (ϕj), and the related function (ƒi) for i number of values. Different least-squares metrics quantify differences between predicted and observed values. The ordinary least...
225
Substance Use Disorders Affecting Sleep
360
Substance use disorders involve a pattern of using drugs more extensively than intended and continuing use despite harmful consequences. This includes legal substances like alcohol and nicotine, as well as illegal drugs. These disorders often involve both physical and psychological dependence, reflecting compulsive use of substances that significantly alter thoughts, feelings, and behaviors, contributing to a major public health issue.
Understanding the concepts of physical dependence,...
Understanding the concepts of physical dependence,...
360
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
223
Pharmacokinetic models are mathematical constructs that represent and predict the time course of drug concentrations in the body, providing meaningful pharmacokinetic parameters. These models are categorized into compartment, physiological, and distributed parameter models.
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
223
Classification of Illness
8.5K
The meaning of illness is individualized to each person who experiences an alteration in health. In contrast, disease is a medical term indicating a pathological change in the structure and function of the body or mind. It is a condition that has specific symptoms and boundaries.
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
8.5K
Analysis of Population Pharmacokinetic Data
648
Analysis of population pharmacokinetic data involves studying the behavior of drugs within diverse populations to understand their pharmacokinetic parameters. Traditional pharmacokinetic methods typically involve collecting samples from a few individuals and estimating these parameters. While these methods are commonly used, they have limitations in capturing the variability in drug response among individuals or heterogeneous populations. Population pharmacokinetics is employed to address these...
648
Drug Abuse and Addiction: Pharmacological Phenomena
1.1K
Drug dependence, abuse, and addiction are complex phenomena that can precipitate various abnormal states. Physical dependence refers to a state of pharmacological adaptation to a drug. This adaptation often results in tolerance—a reduced response to the drug after repeated administrations. When the drug use is abruptly stopped, withdrawal symptoms occur due to the body's need to readjust from the pharmacologically induced imbalance. However, tolerance and withdrawal symptoms do not...
1.1K


