Evidence map›Paper›PMID 41564302›Full record

ArticleJMIR medical informatics2026

Machine Learning Prediction of Pharmacogenetic Testing Uptake Among Opioid-Prescribed Patients Using Electronic Health Records: Retrospective Cohort Study.

Mohammad Yaseliani, Je-Won Hong, Jiang Bian, Larisa Cavallari, Julio D Duarte, Danielle Nelson, Wei-Hsuan Lo-Ciganic, Khoa Anh Nguyen, Md Mahmudul Hasan

Abstract read
In one paragraph

Article in JMIR medical informatics, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

9 authors.

Mohammad YaselianiDepartment of Pharmaceutical Outcomes and Policy, College of Pharmacy, University of Florida, 1889 Museum Road, Malachowsky Hall, Suite 6300, Gainesville, FL, 32611, United States, 1 352-273-6276.ORCID 0000-0001-7631-4098
Je-Won HongDepartment of Pharmacotherapy and Translational Research, College of Pharmacy, University of Florida, Gainesville, FL, United States.ORCID 0009-0003-4337-7561
Jiang BianDepartment of Biostatistics and Health Data Science, School of Medicine, Indiana University, Indianapolis, IN, United States.ORCID 0000-0002-2238-5429
Larisa CavallariDepartment of Pharmacotherapy and Translational Research, College of Pharmacy, University of Florida, Gainesville, FL, United States.ORCID 0000-0002-7184-5292
Julio D DuarteDepartment of Pharmacotherapy and Translational Research, College of Pharmacy, University of Florida, Gainesville, FL, United States.ORCID 0000-0001-9766-4038
Danielle NelsonCollege of Medicine, University of Florida, Gainesville, FL, United States.ORCID 000-0003-1261-239X
Wei-Hsuan Lo-CiganicDivision of General Internal Medicine, School of Medicine, University of Pittsburgh, Pittsburgh, PA, United States.ORCID 0000-0001-6590-4770
Khoa Anh Nguyen *Department of Pharmacotherapy and Translational Research, College of Pharmacy, University of Florida, Gainesville, FL, United States.ORCID 0000-0002-0096-0293
Md Mahmudul Hasan *Department of Pharmaceutical Outcomes and Policy, College of Pharmacy, University of Florida, 1889 Museum Road, Malachowsky Hall, Suite 6300, Gainesville, FL, 32611, United States, 1 352-273-6276.ORCID 0000-0001-5899-793X

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

Background: Opioids are a widely prescribed class of medication for pain management. However, they have variable efficacy and adverse effects among patients, due to the complex interplay between biological and clinical factors. Pharmacogenetic testing can be used to match patients' genetic profiles to individualize opioid therapy, improving pain relief and reducing the risk of adverse effects. Despite its potential, the pharmacogenetic testing uptake (use of pharmacogenetic testing) remains low due to a range of barriers at the patient, health care provider, infrastructure, and financial levels. Since testing typically involves a shared decision between the provider and patient, predicting the likelihood of a patient undergoing pharmacogenetic testing and understanding the factors influencing that decision can help optimize resource use and improve outcomes in pain management. Objective: This study aimed to develop machine learning (ML) models, identifying patients' likelihood of pharmacogenetic uptake based on their demographics, clinical variables, medication use, and social determinants of health. Methods: We used electronic health record data from a single center health care system to identify patients prescribed opioids. We extracted patients' demographics, clinical variables, medication use, and social determinants of health, and developed and validated ML models, including a neural network, logistic regression, random forest, extreme gradient boosting (XGB), naïve Bayes, and support vector machines for pharmacogenetic testing uptake prediction based on procedure codes. We performed 5-fold cross-validation and created an ensemble probability-based classifier using the best-performing ML models for pharmacogenetic testing uptake prediction. Various performance metrics, uptake stratification analysis, and feature importance analysis were used to evaluate the performance of the models. Results: The ensemble model using XGB and support vector machine-radial basis function classifiers had the highest C-statistics at 79.61%, followed by XGB (78.94%), and neural network (78.05%). While XGB was the best-performing model, the ensemble model achieved a high accuracy (32,699/48,528, 67.38%), recall (537/702, 76.50%), specificity (32,162/47,826, 67.25%), and negative predictive value (32,162/32,327, 99.49%). The uptake stratification analysis using the ensemble model indicated that it can effectively distinguish across uptake probability deciles, where those in the higher strata are more likely to undergo pharmacogenetic testing in the real world (320/4853, 6.59% in the highest decile compared to 6/4853, 0.12% in the lowest). Furthermore, Shapley Additive Explanations value analysis using the XGB model indicated age, hypertension, and household income as the most influential factors for pharmacogenetic testing uptake prediction. Conclusions: The proposed ensemble model demonstrated a high performance in pharmacogenetic testing uptake prediction among patients using opioids for pain. This model can be used as a decision support tool, assisting clinicians in identifying patients' likelihood of pharmacogenetic testing uptake and guiding appropriate decision-making.

Indexed as

Analgesics, OpioidElectronic Health RecordsMachine LearningPharmacogenomic TestingBoosting Machine Learning AlgorithmsClassification AlgorithmsFemaleHumansLogistic ModelsMaleMiddle AgedPrediction AlgorithmsPredictive Learning ModelsRandom ForestRetrospective StudiesAnalgesics, Opioidensemble modelmachine learningMLopioid prescriptionopioidspain managementpharmacogenetic testing

Identifiers

PMID41564302
PMCPMC12822862

What Socratic holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the Socratic graph.