EUVIMEDAtklāt EUVIMED
Open access

Predicting Clinical Outcomes at the Toronto General Hospital Transitional Pain Service via the Manage My Pain App: Machine Learning Approach

James Skoric iD, Anna M Lomanowska iD, Tahir Janmohamed iD, Heather Lumsden-Ruegg iD, Joel Katz iD, Hance Clarke iD, Quazi Abidur Rahman iD

JMIR Medical Informatics · 2025

DOI: 10.2196/67178 ↗

At a glance

Journal article in JMIR Medical Informatics, 2025. Written by James Skoric and 6 co-authors. Institution: Department of Electrical and Computer Engineering, McGill University, Montreal, QC, Canada. Major MEDLINE topics: Machine Learning, Mobile Applications, Pain Management, Chronic Pain. Cited 4 times so far (Crossref); 57 references. The full text is freely available in PubMed Central.

AbstraktsSubjectsBibliogrāfiskie datiCiteRelated studies

Abstract (original language)

Background

Chronic pain is a complex condition that affects more than a quarter of people worldwide. The development and progression of chronic pain are unique to each individual due to the contribution of interacting biological, psychological, and social factors. The subjective nature of the experience of chronic pain can make its clinical assessment and prognosis challenging. Personalized digital health apps, such as Manage My Pain (MMP), are popular pain self-tracking tools that can also be leveraged by clinicians to support patients. Recent advances in machine learning technologies open an opportunity to use data collected in pain apps to make predictions about a patient’s prognosis.

Objective

This study applies machine learning methods using real-world user data from the MMP app to predict clinically significant improvements in pain-related outcomes among patients at the Toronto General Hospital Transitional Pain Service.

Methods

Information entered into the MMP app by 160 Transitional Pain Service patients over a 1-month period, including profile information, pain records, daily reflections, and clinical questionnaire responses, was used to extract 245 relevant variables, referred to as features, for use in a machine learning model. The machine learning model was developed using logistic regression with recursive feature elimination to predict clinically significant improvements in pain-related pain interference, assessed by the PROMIS Pain Interference 8a v1.0 questionnaire. The model was tuned and the important features were selected using the 10-fold cross-validation method. Leave-one-out cross-validation was used to test the model’s performance.

Results

The model predicted patient improvement in pain interference with 79% accuracy and an area under the receiver operating characteristic curve of 0.82. It showed balanced class accuracies between improved and nonimproved patients, with a sensitivity of 0.76 and a specificity of 0.82. Feature importance analysis indicated that all MMP app data, not just clinical questionnaire responses, were key to classifying patient improvement.

Conclusions

This study demonstrates that data from a digital health app can be integrated with clinical questionnaire responses in a machine learning model to effectively predict which chronic pain patients will show clinically significant improvement. The findings emphasize the potential of machine learning methods in real-world clinical settings to improve personalized treatment plans and patient outcomes.

Subjects

MeSH terms (MEDLINE)

Machine LearningMobile ApplicationsPain ManagementChronic PainHumansMaleFemaleMiddle AgedAdultOntarioPain MeasurementPrognosisSurveys and QuestionnairesAged

Author keywords

CanadaTorontoappapplicationchronic painchronic pain managementclinical outcomedigital healthdigital health toollogistic regressionmachine learningmachine learning methodsmachine learning modelsmanage my painpain

Authors and institutions

  • Department of Electrical and Computer Engineering, McGill University, Montreal, QC, Canada.
  • ManagingLife, Toronto, ON, Canada.
  • Transitional Pain Service, Department of Anesthesia and Pain Management, Toronto General Hospital, University Health Network, Toronto, ON, Canada.
  • Department of Psychology, York University, Toronto, ON, Canada.
  • Department of Anesthesiology and Pain Medicine, University of Toronto, Toronto, ON, Canada.
  • Department of Computer Science, Trent University, 1600 West Bank Drive, Peterborough, ON, K9L 0G2, Canada, 1 (705) 748-1011 ext 7854.

ORCID profiles: James Skoric, Anna M Lomanowska, Tahir Janmohamed, Heather Lumsden-Ruegg, Joel Katz, Hance Clarke, Quazi Abidur Rahman

Cite

APA

Skoric, J., Lomanowska, A. M., Janmohamed, T., Lumsden-Ruegg, H., Katz, J., Clarke, H., & Rahman, Q. A. (2025). Predicting Clinical Outcomes at the Toronto General Hospital Transitional Pain Service via the Manage My Pain App: Machine Learning Approach. JMIR Medical Informatics. https://doi.org/10.2196/67178

Vancouver

Skoric J, Lomanowska AM, Janmohamed T, Lumsden-Ruegg H, Katz J, Clarke H, et al. Predicting Clinical Outcomes at the Toronto General Hospital Transitional Pain Service via the Manage My Pain App: Machine Learning Approach. JMIR Medical Informatics. 2025. doi:10.2196/67178

BibTeX
@article{Skoric2025,
  author = {Skoric, James and Lomanowska, Anna M and Janmohamed, Tahir and Lumsden-Ruegg, Heather and Katz, Joel and Clarke, Hance and Rahman, Quazi Abidur},
  title = {Predicting Clinical Outcomes at the Toronto General Hospital Transitional Pain Service via the Manage My Pain App: Machine Learning Approach},
  journal = {JMIR Medical Informatics},
  year = {2025},
  doi = {10.2196/67178}
}
Start for free →