توقع تعلم الآلة لمدى استخدام اختبار الصيدلة الجينية بين المرضى الذين يتلقون وصفات الأفيون باستخدام السجلات الصحية الإلكترونية: دراسة استعادية Machine Learning Prediction of Pharmacogenetic Testing Uptake Among Opioid-Prescribed Patients Using Electronic Health Records: Retrospective Cohort Study

شارك:
المجلة: JMIR Medical Informatics، المجلد: 14
DOI: https://doi.org/10.2196/81048
PMID: https://pubmed.ncbi.nlm.nih.gov/41564302
تاريخ النشر: 2026-01-21
المؤلف: Mohammad Yaseliani وآخرون
الموضوع الرئيسي: علم الوراثة الدوائية واستقلاب الأدوية

نظرة عامة

تستكشف هذه الورقة البحثية إمكانية اختبار علم الوراثة الدوائية (PGx) لتعزيز علاج الأفيونيات من خلال مواءمة الملفات الجينية للمرضى مع أنظمة علاجهم. على الرغم من مزاياها في تحسين إدارة الألم وتقليل الآثار الجانبية، لا يزال اعتماد اختبار PGx منخفضًا بسبب حواجز مختلفة. تهدف الدراسة إلى تطوير نماذج تعلم الآلة (ML) للتنبؤ باحتمالية خضوع المرضى لاختبار PGx، باستخدام بيانات ديموغرافية وسريرية ومرتبطة بالأدوية وعوامل اجتماعية تحدد الصحة (SDoH) مستخرجة من السجلات الصحية الإلكترونية (EHR).

استخدم المؤلفون عدة تقنيات تعلم آلي، بما في ذلك الشبكات العصبية، والانحدار اللوجستي، والغابات العشوائية، وزيادة التدرج، ونايف بايز، وآلات الدعم الشعاعي، لإنشاء نماذج تنبؤية لاستخدام PGx والتحقق منها. حقق النموذج التجميعي الذي يجمع بين زيادة التدرج (XGB) وآلات الدعم الشعاعي مع نواة دالة الأساس الشعاعي (SVM-RBF) أعلى إحصائية C بلغت 79.61%، مما يدل على قدرة تنبؤية قوية. أظهر النموذج دقة عالية (67.38%)، واسترجاع (76.50%)، وخصوصية (67.25%)، مع قيمة تنبؤية سلبية ملحوظة بلغت 99.49%. كشفت تحليل أهمية الميزات أن العمر، وارتفاع ضغط الدم، ودخل الأسرة أثرت بشكل كبير على استخدام PGx. تشير النتائج إلى أن هذا النموذج التجميعي يمكن أن يعمل كأداة دعم قرار للأطباء، مما يسهل اتخاذ قرارات مستنيرة بشأن اختبار PGx وفي النهاية تحسين نتائج المرضى في إدارة الأفيونيات. يُوصى بمزيد من التحقق باستخدام مجموعات بيانات خارجية للتكامل السريري.

مقدمة

تتناول مقدمة هذه الورقة البحثية تعقيدات وصف الأفيونيات، مع تسليط الضوء على التحديات التي تطرحها الفعالية المتغيرة والآثار الجانبية التي غالبًا ما تتطلب نهج التجربة والخطأ. تؤكد على دور اختبار علم الوراثة الدوائية (PGx) في تخصيص علاج الأفيونيات بناءً على الملفات الجينية الفردية، مع التركيز بشكل خاص على إنزيم CYP2D6، الذي يستقلب عدة أفيونيات ويظهر تعدد أشكال جينية كبير. تشير الورقة إلى أدلة من تجربة عملية تشير إلى تحسين نتائج إدارة الألم مع العلاج الموجه بواسطة CYP2D6 وتلاحظ الإرشادات التي وضعتها مجموعة تنفيذ علم الوراثة الدوائية السريرية (CPIC) لأفيونيات معينة.

على الرغم من الفوائد المحتملة لـ PGx، فإن تطبيقه في الممارسة السريرية معوق بسبب حواجز مختلفة، بما في ذلك نقص المعرفة بين مقدمي الرعاية الصحية، وعدم كفاية التدريب في علم الوراثة الدوائية، وعوامل اجتماعية تحدد الصحة (SDoH) التي تؤثر على وصول المرضى للاختبار. يبرز المؤلفون الحاجة إلى التنبؤ باعتماد المرضى لاختبار PGx وتحديد العوامل المؤثرة لتعزيز فائدته السريرية. يقترحون استخدام خوارزميات تعلم الآلة (ML) لتحليل البيانات السريرية المعقدة، والديموغرافيات، وSDoH لتحسين التنبؤات المتعلقة باختبار PGx في علاج الأفيونيات. تهدف الدراسة إلى تطوير والتحقق من صحة هذه النماذج ML، مع فرضية أنها ستسهل الاستخدام الأفضل لاختبار PGx، مما يؤدي في النهاية إلى تحسين نتائج إدارة الألم.

النتائج

في هذه الدراسة، تم تحليل بيانات من UF Health IDR، والتي تشمل ما مجموعه 455,773 مريضًا، من بينهم 7,645 (1.68%) خضعوا لاختبار علم الوراثة الدوائية (PGx). بعد استبعاد 160,914 مريضًا بدون وصفات أفيونية، تكونت المجموعة المتبقية من 294,859 مستخدمًا للأفيونيات. أدت الاستبعادات الإضافية بسبب نقص معلومات العرق ومتغيرات عوامل الصحة الاجتماعية (SDoH) إلى مجموعة نهائية من 242,640 مريضًا، بما في ذلك 3,510 مع استخدام PGx. كان متوسط عمر المشاركين 58 عامًا (SD = 17.47)، مع توزيع جنسي بنسبة 41.49% ذكور و58.51% إناث. كشفت التركيبة السكانية العرقية أن 64.94% كانوا من البيض، و28.77% من السود، و6.29% من مجموعات عرقية أخرى.

أظهرت المجموعة متوسط حجم أسرة يبلغ 2.58 ومؤشر جيني قدره 0.45، مما يدل على عدم المساواة المعتدلة في الدخل، مع متوسط دخل وسطي قدره 46,324 دولارًا. تم تفصيل الخصائص الاجتماعية والديموغرافية الرئيسية في الجدول 1، بينما يقدم الجدول 2 مقارنة لخصائص المرضى بين مجموعات التدريب والاختبار. يوضح مؤشر جيني، الذي يتراوح من 0 (مساواة تامة) إلى 1 (عدم مساواة تامة)، الفجوات الاقتصادية داخل المجموعة.

المناقشة

تسلط قسم المناقشة في الورقة البحثية الضوء على تطوير وتقييم نموذج تعلم الآلة (ML) الذي يهدف إلى التنبؤ باعتماد علم الوراثة الدوائية (PGx) بين المرضى الذين تم وصف الأفيونيات لهم. حقق النموذج التجميعي، الذي يجمع بين مزايا XGBoost (XGB) وآلات الدعم الشعاعي مع دالة الأساس الشعاعي (SVM-RBF)، أعلى منطقة تحت المنحنى (AUC) بلغت 79.61%، متفوقًا على النماذج الأخرى من حيث الدقة التنبؤية. على الرغم من فعالية النموذج، كانت القيمة التنبؤية الإيجابية (PPV) منخفضة بسبب عدم توازن الفئات في مجموعة البيانات، مما يشير إلى احتمال أعلى للنتائج الإيجابية الكاذبة. ومع ذلك، أظهر النموذج قيمة تنبؤية سلبية عالية (NPV)، مما يشير إلى أنه يحدد بدقة المرضى الذين من غير المرجح أن يخضعوا لاختبار PGx، مما يمكن أن يساعد في تخصيص الموارد والتدخلات المستهدفة.

يعترف المؤلفون بالقيود، بما في ذلك التحيز المحتمل بسبب نقص تمثيل بعض المجموعات العرقية والاعتماد على بيانات عوامل الصحة الاجتماعية (SDoH) على مستوى الرمز البريدي، والتي قد لا تلتقط الفروق الدقيقة على مستوى الأفراد. يؤكدون على الحاجة إلى التحقق الخارجي لتقييم قابلية تعميم النموذج عبر مجموعات سكانية وسياقات سريرية متنوعة. تؤكد نتائج الدراسة على إمكانية النموذج التجميعي في تحويل ممارسات وصف الأفيونيات من خلال تسهيل اتخاذ القرارات المستندة إلى البيانات، مما يعزز في النهاية نتائج المرضى من خلال تحسين الوصول إلى اختبار PGx واستراتيجيات العلاج الشخصية. يجب أن تركز الأبحاث المستقبلية على تحسين النموذج ودمجه في سير العمل السريري لتحسين رعاية المرضى.

Journal: JMIR Medical Informatics, Volume: 14
DOI: https://doi.org/10.2196/81048
PMID: https://pubmed.ncbi.nlm.nih.gov/41564302
Publication Date: 2026-01-21
Author(s): Mohammad Yaseliani et al.
Primary Topic: Pharmacogenetics and Drug Metabolism

Overview

This research paper investigates the potential of pharmacogenetic (PGx) testing to enhance opioid therapy by aligning patients’ genetic profiles with their treatment regimens. Despite its advantages in improving pain management and minimizing adverse effects, the adoption of PGx testing remains low due to various barriers. The study aims to develop machine learning (ML) models to predict patients’ likelihood of undergoing PGx testing, utilizing demographic, clinical, medication-related, and social determinants of health (SDoH) data extracted from electronic health records (EHR).

The authors employed several ML techniques, including neural networks, logistic regression, random forests, gradient boosting, naïve Bayes, and support vector machines, to create and validate predictive models for PGx uptake. The ensemble model combining gradient boosting (XGB) and support vector machines with a radial basis function kernel (SVM-RBF) achieved the highest C-statistic of 79.61%, indicating strong predictive capability. The model demonstrated high accuracy (67.38%), recall (76.50%), and specificity (67.25%), with a notable negative predictive value of 99.49%. Feature importance analysis revealed that age, hypertension, and household income significantly influenced PGx uptake. The findings suggest that this ensemble model can serve as a decision support tool for clinicians, facilitating informed decision-making regarding PGx testing and ultimately enhancing patient outcomes in opioid management. Further validation with external datasets is recommended for clinical integration.

Introduction

The introduction of this research paper addresses the complexities of opioid prescribing, highlighting the challenges posed by variable efficacy and adverse effects that often necessitate a trial-and-error approach. It emphasizes the role of pharmacogenetic testing (PGx) in personalizing opioid therapy based on individual genetic profiles, particularly focusing on the CYP2D6 enzyme, which metabolizes several opioids and exhibits significant genetic polymorphism. The paper cites evidence from a pragmatic trial indicating improved pain management outcomes with CYP2D6-guided therapy and notes the guidelines established by the Clinical Pharmacogenetics Implementation Consortium (CPIC) for specific opioids.

Despite the potential benefits of PGx, its implementation in clinical practice is hindered by various barriers, including a lack of knowledge among healthcare providers, insufficient training in pharmacogenetics, and social determinants of health (SDoH) that affect patient access to testing. The authors highlight the need to predict patient uptake of PGx testing and identify influencing factors to enhance its clinical utility. They propose using machine learning (ML) algorithms to analyze complex clinical data, demographics, and SDoH to improve predictions regarding PGx testing in opioid therapy. The study aims to develop and validate these ML models, hypothesizing that they will facilitate better utilization of PGx testing, ultimately leading to improved pain management outcomes.

Results

In this study, data from UF Health IDR was analyzed, encompassing a total of 455,773 patients, of which 7,645 (1.68%) had undergone pharmacogenomic (PGx) testing. After excluding 160,914 patients without opioid prescriptions, the remaining cohort consisted of 294,859 opioid users. Further exclusions for missing race information and social determinants of health (SDoH) variables resulted in a final cohort of 242,640 patients, including 3,510 with PGx uptake. The average age of participants was 58 years (SD = 17.47), with a gender distribution of 41.49% male and 58.51% female. Racial demographics revealed that 64.94% were White, 28.77% Black, and 6.29% from other racial groups.

The cohort exhibited an average household size of 2.58 and a Gini index of 0.45, indicating moderate income inequality, with an average median income of $46,324. Key sociodemographic characteristics are detailed in Table 1, while Table 2 provides a comparison of patient characteristics between the training and test sets. The Gini index, which ranges from 0 (perfect equality) to 1 (perfect inequality), further contextualizes the economic disparities within the cohort.

Discussion

The discussion section of the research paper highlights the development and evaluation of a machine learning (ML) model aimed at predicting pharmacogenomic (PGx) uptake among patients prescribed opioids. The ensemble model, which combines the strengths of XGBoost (XGB) and support vector machine with radial basis function (SVM-RBF), achieved the highest area under the curve (AUC) of 79.61%, outperforming other models in terms of predictive accuracy. Despite the model’s effectiveness, the positive predictive value (PPV) was low due to class imbalance in the dataset, indicating a higher likelihood of false positives. However, the model demonstrated a high negative predictive value (NPV), suggesting that it accurately identifies patients unlikely to undergo PGx testing, which can aid in resource allocation and targeted interventions.

The authors acknowledge limitations, including potential bias due to underrepresentation of certain racial groups and reliance on ZIP code-level social determinants of health (SDoH) data, which may not capture individual-level nuances. They emphasize the need for external validation to assess the model’s generalizability across diverse populations and clinical settings. The study’s findings underscore the potential of the ensemble model to transform opioid prescribing practices by facilitating data-driven decision-making, ultimately enhancing patient outcomes through improved PGx testing access and personalized treatment strategies. Future research should focus on refining the model and integrating it into clinical workflows to optimize patient care.