TY - JOUR T1 - A Dynamic Graph Neural Network Framework for Chronic Postsurgical Pain Trajectory Prediction Using Temporal Opioid and Psychological Data AU - Samuel Boateng AU - Kwesi Mensah AU - Kojo Asante AU - Linda Owusu JF - Journal of Artificial Intelligence for Healthcare Systems JO - J. Artif. Intell. Healthc. Syst. SN - 3149-8981 Y1 - 2025 VL - 4 IS - 2 SP - 107 N2 - Chronic postsurgical pain (CPSP) affects 10–50% of surgical patients and is a major contributor to long-term opioid use and reduced quality of life. Current predictive models treat patients independently and fail to capture how risk evolves over time or how postoperative opioid trajectories influence divergence in outcomes. We propose a dynamic graph neural network (GNN) framework in which patients are modeled as nodes and similarity-based edges evolve over time based on opioid prescription patterns, pain scores, and preoperative psychological factors. The model includes (1) a patient graph with static preoperative features, (2) a temporal edge update mechanism, (3) a GNN message-passing layer that aggregates information from dynamically connected patients, and (4) a prediction head estimating CPSP risk at 3, 6, and 12 months. By modeling changing patient relationships after surgery, the framework captures how similar patients may diverge or converge depending on postoperative management, enabling more accurate and personalized CPSP risk prediction using longitudinal electronic health record data. UR - https://cirpublications.com/k916545028 ER -