Tahmina Begum , Bhagyavalli Veeranki , Ogenna Joy Chike , Suzanne Tamang , Julia F. Simard , Jonathan Chen , Yashaar Chaichian , Sean Mackey , Beth D. Darnall , Titilola Falasinnu
{"title":"Refining chronic pain phenotypes: A comparative analysis of sociodemographic and disease-related determinants using electronic health records","authors":"Tahmina Begum , Bhagyavalli Veeranki , Ogenna Joy Chike , Suzanne Tamang , Julia F. Simard , Jonathan Chen , Yashaar Chaichian , Sean Mackey , Beth D. Darnall , Titilola Falasinnu","doi":"10.1016/j.jpain.2025.104775","DOIUrl":null,"url":null,"abstract":"<div><div>The use of electronic health records (EHR) for chronic pain phenotyping has gained significant attention in recent years, with various algorithms being developed to enhance accuracy. Structured data fields (e.g., pain intensity, treatment modalities, diagnosis codes, and interventions) offer standardized templates for capturing specific chronic pain phenotypes. This study aims to determine which chronic pain case definitions derived from structured data elements achieve the best accuracy, and how these validation metrics vary by sociodemographic and disease-related factors. We used EHR data from 802 randomly selected adults with autoimmune rheumatic diseases seen at a large academic center in 2019. We extracted structured data elements to derive multiple phenotyping algorithms. We confirmed chronic pain case definitions via manual chart review of clinical notes, and assessed the performance of derived algorithms, e.g., sensitivity/recall, specificity, positive predictive value (PPV). The highest sensitivity (67%) was observed when using ICD codes alone, while specificity peaked at 96% with a quadrimodal algorithm combining pain scores, ICD codes, prescriptions, and interventions. Specificity was generally higher in males and younger patients, particularly those aged 18–40 years, and highest among Asian/Pacific Islander and privately insured patients. PPV was highest among patients who were female, younger, or privately insured. PPV and sensitivity were lowest among males, Asian/Pacific Islander, and older patients. Variability of phenotyping results underscores the importance of refining chronic pain phenotyping algorithms within EHRs to enhance their accuracy and applicability. While our current algorithms provide valuable insights, enhancement is needed to ensure more reliable chronic pain identification across diverse patient populations.</div></div><div><h3>Perspectives</h3><div>This study evaluates chronic pain phenotyping algorithms using electronic health records, highlighting variability in performance across sociodemographic and disease-related factors. By combining structured data elements, the findings advance chronic pain identification, promoting equitable healthcare practices and highlighting the need for tailored algorithms to address subgroup-specific biases and improve outcomes.</div></div>","PeriodicalId":51095,"journal":{"name":"Journal of Pain","volume":"28 ","pages":"Article 104775"},"PeriodicalIF":4.0000,"publicationDate":"2025-01-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Pain","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S152659002500001X","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CLINICAL NEUROLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
The use of electronic health records (EHR) for chronic pain phenotyping has gained significant attention in recent years, with various algorithms being developed to enhance accuracy. Structured data fields (e.g., pain intensity, treatment modalities, diagnosis codes, and interventions) offer standardized templates for capturing specific chronic pain phenotypes. This study aims to determine which chronic pain case definitions derived from structured data elements achieve the best accuracy, and how these validation metrics vary by sociodemographic and disease-related factors. We used EHR data from 802 randomly selected adults with autoimmune rheumatic diseases seen at a large academic center in 2019. We extracted structured data elements to derive multiple phenotyping algorithms. We confirmed chronic pain case definitions via manual chart review of clinical notes, and assessed the performance of derived algorithms, e.g., sensitivity/recall, specificity, positive predictive value (PPV). The highest sensitivity (67%) was observed when using ICD codes alone, while specificity peaked at 96% with a quadrimodal algorithm combining pain scores, ICD codes, prescriptions, and interventions. Specificity was generally higher in males and younger patients, particularly those aged 18–40 years, and highest among Asian/Pacific Islander and privately insured patients. PPV was highest among patients who were female, younger, or privately insured. PPV and sensitivity were lowest among males, Asian/Pacific Islander, and older patients. Variability of phenotyping results underscores the importance of refining chronic pain phenotyping algorithms within EHRs to enhance their accuracy and applicability. While our current algorithms provide valuable insights, enhancement is needed to ensure more reliable chronic pain identification across diverse patient populations.
Perspectives
This study evaluates chronic pain phenotyping algorithms using electronic health records, highlighting variability in performance across sociodemographic and disease-related factors. By combining structured data elements, the findings advance chronic pain identification, promoting equitable healthcare practices and highlighting the need for tailored algorithms to address subgroup-specific biases and improve outcomes.
期刊介绍:
The Journal of Pain publishes original articles related to all aspects of pain, including clinical and basic research, patient care, education, and health policy. Articles selected for publication in the Journal are most commonly reports of original clinical research or reports of original basic research. In addition, invited critical reviews, including meta analyses of drugs for pain management, invited commentaries on reviews, and exceptional case studies are published in the Journal. The mission of the Journal is to improve the care of patients in pain by providing a forum for clinical researchers, basic scientists, clinicians, and other health professionals to publish original research.