Abstract
Purpose
To determine whether pre-existing mood disorders (MD) are associated with increased postoperative complications, healthcare utilization, and opioid use following ankle open reduction and internal fixation (ORIF).
Methods
This retrospective, propensity-matched cohort study utilized the TriNetX federated electronic health records database. Adults (≥18 years) undergoing ankle ORIF between January 1, 2004 and December 31, 2024 were stratified by presence or absence of a preoperative MD diagnosis and matched 1:1 for age, sex, race, ethnicity, BMI, diabetes, chronic kidney disease, and nicotine dependence. Outcomes included readmission, emergency department (ED) visits, physical therapy utilization, surgical site infection (SSI), deep vein thrombosis/pulmonary embolism (DVT/PE), and opioid use.
Results
After matching, 31,040 patients were included per cohort. At 3 and 6 months, MD patients demonstrated significantly higher rates of readmission (OR 1.69, 1.78), ED visits (OR 1.91, 2.01), physical therapy utilization (OR 1.24, 1.28), SSI (OR 1.55, 1.57), and DVT/PE (OR 1.45, 1.50), respectively (all p < 0.001). Opioid use was significantly elevated at all timepoints from 2 weeks through 1 year (OR range 1.48–1.67; all p < 0.001).
Conclusion
Pre-existing mood disorders are associated with significantly worse outcomes following ankle ORIF, including elevated complication rates, greater healthcare utilization, and prolonged opioid use. These findings support routine preoperative mental health screening and multidisciplinary perioperative management in this population.
Introduction
Mood disorders (MD), including depression and anxiety, represent a substantial and growing global health burden, with recent estimates indicating over 359 million cases of anxiety and 332 million cases of depression worldwide, accounting for more than 60% of all mental health disorders. 1 In the United States, a nationally representative analysis from the National Epidemiologic Survey on Alcohol and Related Conditions-III survey found that the 12-months prevalence of major depressive disorder is approximately 10.4%, with higher rates observed in younger adults and females. 2 Large-scale epidemiologic studies confirm that MD are the most common psychiatric diagnoses, affecting over 22% of adults, and frequently co-occur with anxiety and other psychiatric conditions. 3 Psychiatric diagnoses are an especially important consideration in orthopedic surgical populations. Notably, orthopedic patients, particularly those with foot and ankle pathology, exhibit even higher rates of depression and anxiety, with some reports of prevalence up to three times greater than the general population.4,5
Orthopedic trauma, including ankle fractures, is associated with a marked increase in psychiatric symptoms, with up to 56% of patients reporting depression, anxiety, or posttraumatic stress disorder during their postoperative course. 6 The American Academy of Orthopedic Surgeons (AAOS) guidelines emphasize that anxiety, depression, and premorbid psychiatric conditions are independently associated with worse pain, decreased functional outcomes, and impaired return to work following orthopedic trauma. 7 These psychosocial factors are now recognized as critical determinants of recovery, often exerting a greater influence on long-term disability and patient-reported outcomes than objective physical measures.8,9
Open reduction and internal fixation (ORIF) is the standard surgical intervention with extensive evidence supporting its efficacy in restoring alignment and function.10,11 However, postoperative recovery can be complex and multifactorial, with MD emerging as significant predictors of patient satisfaction, pain, and functional outcomes. 12 Patients with depression or anxiety report lower preoperative and postoperative outcome scores, less improvement, and higher dissatisfaction rates after foot and ankle surgery. 9 Longitudinal studies reveal that more than half of patients undergoing ankle ORIF experience mild to moderate depressive symptoms postoperatively, particularly those with a prior history of mental health disorders or limited ability to work during recovery. 13 Furthermore, persistent psychological distress is associated with a twofold increased risk of unsatisfactory surgical outcomes, independent of fracture severity or demographic factors. 14
Despite mounting evidence of the interplay between MD and orthopedic outcomes, there remains a paucity of data specifically examining the effect of MD on postoperative outcomes following ankle ORIF. Addressing this gap is essential for optimizing patient-centered care, improving functional outcomes, and reducing postoperative complications in individuals undergoing ankle ORIF. The purpose of this study is to evaluate the impact of MD on clinical outcomes and postoperative complications following ankle ORIF.
Methods
Data source
Data for this study were queried on November 20, 2025, from the TriNetX Research Network, a global federated research database containing de-identified electronic medical records from over 100 healthcare organizations and more than 150 million patients. The database is compliant with the Health Insurance Portability and Accountability Act (HIPAA) and includes information on diagnoses, procedures, demographics, medications, laboratory values, and clinical outcomes. TriNetX has been utilized extensively in the orthopedic literature for retrospective outcomes research.
Study design
This was a retrospective database cohort study of adult patients (≥18 years) who underwent open reduction and internal fixation (ORIF) for ankle fractures between January 1, 2004, and December 31, 2024. International Classification of Diseases, Tenth Revision (ICD-10) and Current Procedural Terminology (CPT) codes were utilized to construct patient cohorts. A complete list of all codes that were used for cohort building in this study can be found in (Appendix A Supplemental Digital Content 1). Patients were included if they underwent Ankle ORIF.
Two cohorts were established for comparison. The Ankle ORIF with history of MD contained patients with a history of MD who underwent Ankle ORIF. The non-MD cohort consisted of patients who underwent ORIF without any prior diagnosis of MD.
Mood disorder definitions
For this study, mood disorders (MD) were defined using ICD-10 diagnostic codes encompassing four primary categories: (1)
The TriNetX database captures diagnosis codes as recorded in the electronic health record, as such patients with a documented history of MD diagnosis and treatment were selected.
Outcomes assessed
The postoperative outcomes were assessed at 3 months and 6 months following ankle ORIF and included Readmission, Emergency Department (ED) visit, Opioid Use, Physical Therapy Utilization, Surgical Site Infection (SSI), and Deep Venous Thrombosis/Pulmonary Embolism (DVT/PE). Opioid Use was also assessed at 2 weeks, 6 weeks, and 1 year. A complete list of all codes used to define these outcomes can be found in (Appendix B Supplemental Digital Content 2).
Statistical analysis
Baseline demographics between mood disorder (MD) and non-MD cohorts before propensity-score matching.
Demographics of both cohorts before propensity-score matching. Abbreviations: SMD, standardized mean difference; SD, standard deviation; MD, mood disorder.
For patient privacy, TriNetX does not display exact counts for outcomes with fewer than 10 patients and instead rounds values up to 10; however, matching is performed using the exact patient counts. All statistical analyses were conducted within the TriNetX analytics environment. Measures of association (risk ratios, odds ratios, hazard ratios with 95% confidence intervals) were calculated to compare complication rates between groups. P-values were derived using z-tests for categorical variables, with p < 0.05 considered statistically significant.
Results
Patient characteristics
Demographics between mood disorder (MD) and non-MD cohorts after propensity-score matching.
Demographics of both cohorts after propensity-score matching. Abbreviations: SMD, standardized mean difference; SD, standard deviation; MD, mood disorder.
Outcomes at 3 months
At 3 months, readmission was present in 3286 patients of the MD cohort and 2037 patients of the non-MD cohort (p < 0.001). ED visit was observed in 4152 MD patients and 2327 non-MD patients (p < 0.001). Physical therapy utilization was seen in 11,189 MD patients and 9700 non-MD patients (p < 0.001). SSI was present in 594 MD patients and 385 non-MD patient (p < 0.001). DVT/PE was observed in 864 MD patients and 601 MD patients (p < 0.001). The matched cohorts had 31,040 patients each and the mean follow up time after matching was 85.438 days for the MD group as compared to 81.931 days for the non-MD group (Figure 1). Bar graph depicting the rate of postoperative outcomes of ankle open reduction and internal fixation at 3 months for the mood disorders (MD) and non-mood disorders (non-MD) cohorts. The * symbol indicates statistically significant outcomes for readmission (p < 0.001), emergency department visit (ED visit) (p < 0.001), physical therapy utilization (p < 0.001), surgical site infection (p < 0.001), and deep venous thrombosis/pulmonary embolism (DVT/PE) (p < 0.001).
The odds ratio for readmission was 1.686 (95% CI: 1.591, 1.786), ED visit was 1.905 (95% CI: 1.806, 2.010), physical therapy utilization was 1.240 (95% CI: 1.199, 1.282), SSI was 1.553 (95% CI: 1.365, 1.768), and DVT/PE was 1.450 (95% CI: 1.305, 1.611).
Outcomes at 6 months
At 6 months, readmission was present in 3966 patients of the MD cohort and 2359 patients of the non-MD disorder cohort (p < 0.001). ED visit was observed in 5703 MD patients and 3121 non-MD patients (p < 0.001). Physical therapy utilization was seen in 11,189 MD patients and 10,237 non-MD patients (p < 0.001). SSI was present in 715 MD patients and 458 non-MD patients (p < 0.001). DVT/PE was observed in 1018 MD patients and 687 MD patients (p < 0.001). The matched cohorts had 31,040 patients each and the mean follow up time after matching was 163.82 days for the MD group as compared to 152.27 days for the non-MD group (Figure 2). Bar graph depicting the rate of postoperative outcomes of ankle open reduction and internal fixation at 6 months for the mood disorders (MD) and non-mood disorders (non-MD) cohort. The * symbol indicates statistically significant outcomes for readmission (p < 0.001), emergency department visit (ED visit) (p < 0.001), physical therapy utilization (p < 0.001), surgical site infection (p < 0.001), and deep venous thrombosis/pulmonary embolism (DVT/PE) (p < 0.001).
The odds ratio for readmission was 1.781 (95% CI: 1.688, 1.879), ED visit was 2.014 (95% CI: 1.921, 2.110), physical therapy utilization was 1.279 (95% CI: 1.237, 1.322), SSI was 1.574 (95% CI: 1.399, 1.722), and DVT/PE was 1.498 (95% CI: 1.358, 1.653).
Opioid use
At 2 weeks, opioid use was observed in 18,867 MD patients and 15,867 non-MD patients with p-value (<0.001). The mean follow-up time was 13.75 days for the MD cohort and 13.45 days for the non-MD cohort. The odds ratio was 1.482 (95% CI: 1.436, 1.530).
At 6 weeks, opioid use was observed in 20,446 MD patients and 17,284 non-MD patients with p-value (<0.001). The mean follow-up time was 40.72 days for the MD cohort and 39.50 days for the non-MD cohort. The odds ratio was 1.536 (95% CI: 1.487, 1.587).
At 3 months, opioid use was observed in 21,052 MD patients and 17,808 non-MD patients with p-value (<0.001). The mean follow up time after matching was 85.438 days for the MD group as compared to 81.931 days for the non-MD group. The odds ratio was 1.566 (95% CI: 1.516, 1.618).
At 6 months, opioid use was observed in 21,867 MD patients and 18,576 non-MD patients with p-value (<0.001). The mean follow up time after matching was 163.82 days for the MD group as compared to 152.27 days for the non-MD group. The odds ratio was 1.599 (95% CI: 1.547, 1.654).
At 1-year, opioid use was observed in 22,795 MD patients and 19,352 non-MD patients with p-value (<0.001). The mean follow up time after matching was 308.48 days for the MD group as compared to 274.03 days for the non-MD group. The odds ratio was 1.670 (95% CI: 1.614, 1.728). (Figure 3). Bar graph depicting the rate of postoperative opioid use after ankle open reduction and internal fixation for the mood disorders (MD) and non-mood disorders (non-MD) cohort. The * symbol indicates statistically significant outcomes at 2 weeks (p < 0.001), 6 weeks (p < 0.001), 3 months (p < 0.001), 6 months, and 1 year (p < 0.001).
Discussion
This study demonstrates that patients with pre-existing MD who undergo ankle ORIF experience significantly worse outcomes across multiple clinical outcomes compared to those without MD. Patients with MD exhibited elevated opioid utilization at 2 weeks, 6 weeks, 3 months, 6 months, and 1 year postoperatively. Additionally, at both 3-months and 6-months follow-up, the MD cohort demonstrated higher rates of hospital readmissions, ED visits, and physical therapy utilization. Furthermore, significantly elevated rates of SSI and DVT/PE at both the 3-months and 6-months time points were observed. The observed findings are consistent with the established literature on postoperative consequences of MD in other foot and ankle surgeries. Depression in particular has been associated with both significantly worse outcomes and limited postoperative improvement in the setting of total ankle arthroplasty (TAA).15,16 However, uniquely to TAA, a 2018 study Cunningham et al. found that depression was not independently associated with 90-days readmissions, emergency department utilization, or wound complications, suggesting that the effect of mood disorders on postoperative outcomes may be procedure-specific. 17
The persistent elevation in opioid use among MD patients at all postoperative timepoints represents a clinically significant finding with important implications for pain management protocols following ankle ORIF. This aligns with evidence from prior studies indicating that mental health disorders are independent risk factors for new persistent opioid use after ankle fracture treatment, regardless of injury severity.18,19 Previous literature has also established strong associations between depression, anxiety, and chronic opioid use, with psychiatric disorders serving as independent risk factors for prolonged opioid consumption and opioid use disorder development.20,21 Patients with MD have been reported to experience altered pain perception, lower pain thresholds, and diminished analgesic response to standard pharmacologic interventions, potentially driving higher opioid requirements.22,23 Furthermore, the psychological distress associated with MD may amplify the subjective pain experience through central sensitization mechanisms and maladaptive coping strategies. 24 The sustained increase opioid use among MD patients at 1 year is also notable, as it potentially suggests progression toward chronic opioid dependence rather than appropriate tapering following acute postoperative recovery. It is notable that opioid use was elevated in both cohorts across all timepoints, which likely reflects broad prescribing patterns following ankle ORIF, a procedure known to carry a high baseline burden of postoperative pain requiring pharmacologic management. The clinically meaningful finding is the consistently and significantly greater opioid utilization in the MD cohort relative to matched controls at every timepoint assessed.
The significantly elevated rates of ED visits, hospital readmissions, and physical therapy utilization at both 3 and 6 months among MD patients reflect the complex interplay between psychiatric illness and postoperative recovery trajectories. Patients with depression and anxiety disorders have demonstrated lower treatment adherence, decreased engagement with rehabilitation protocols, and reduced self-efficacy regarding recovery, all of which can compromise healing and functional restoration.25,26 The increased ED utilization may stem from inadequate pain control, heightened anxiety, or complications that arise more frequently in this population due to suboptimal self-care and delayed help-seeking behavior for emerging problems.27–29 Similarly, higher readmission rates suggest either increased complication incidence or difficulty managing recovery in the outpatient setting. The increase in physical therapy utilization at 3 months and 6 months, despite generally poorer adherence patterns in MD populations, may reflect either more intensive rehabilitation requirements due to delayed recovery or referral patterns aimed at addressing functional deficits that persist longer in these patients. The literature suggests that even after symptomatic improvement, individuals with MD may continue to experience functional impairment, necessitating prolonged or intensified rehabilitation efforts.30,31
The significantly higher rates of SSI and DVT/PE at both 3 and 6 months in the MD cohort represent serious complications with substantial morbidity implications. The association between depression and impaired immune function is well-established, with dysregulation of inflammatory cytokines, altered neutrophil function, and compromised wound healing documented in multiple studies.32,33 Additionally, MD are associated with health behaviors that increase infection risk, including smoking, poor nutrition, decreased physical activity, and suboptimal medication adherence, particularly with prophylactic antibiotics. 34 The elevated DVT/PE rates may similarly reflect multiple contributory factors, including reduced mobility secondary to pain catastrophizing or motivational deficits, inadequate adherence to thromboprophylaxis regimens, and potential prothrombotic inflammatory states associated with depression. 35 A prior retrospective analysis further supports these findings, concluding that patients with psychiatric diagnoses had higher odds of SSI and DVT/PE within 1 month and up to 1 year after fixation, mirroring the elevated risks observed in the current cohort. 36
Pain catastrophizing, a psychological construct characterized by magnification of pain, rumination, and feelings of helplessness, has been independently associated with worse postoperative outcomes across multiple orthopedic domains.37,38 Validated instruments such as the Pain Catastrophizing Scale (PCS) are increasingly used in surgical risk stratification. 39 However, because this study utilized a large, federated administrative database, patient-reported outcome measures and psychometric assessments including catastrophizing scales were not available for capture or analysis. The TriNetX platform does not contain standardized psychological survey data, precluding the incorporation of catastrophizing scores into the study design.
The findings of this study should also be interpreted in the context of the well-established pain catastrophizing literature. Pain catastrophizing, defined as a negative cognitive-affective orientation toward pain involving magnification, rumination, and perceived helplessness, has been consistently shown to predict worse pain intensity, functional outcomes, opioid consumption, and patient satisfaction following orthopedic surgery, including foot and ankle procedures.37,40,41 Patients with mood disorders, particularly depression and anxiety, demonstrate significantly higher rates of catastrophizing behavior, and this psychological trait may serve as a key mediating mechanism linking pre-existing MD to the adverse outcomes observed in the current study.42,43 Prior work has demonstrated that catastrophizing is a stronger predictor of postoperative pain and disability than radiographic or surgical findings alone,40,44 and that even moderate reductions in catastrophizing through cognitive behavioral therapy or perioperative psychological interventions are associated with meaningful improvements in surgical outcomes. 45 Future prospective investigations should incorporate validated catastrophizing instruments such as the PCS to better delineate the relative contributions of mood disorder diagnosis versus catastrophizing behavior to postoperative outcomes following ankle ORIF.
These findings have several important implications for clinicians caring for patients undergoing ankle ORIF. First, routine preoperative screening for MD should be standard practice to identify high-risk patients and guide perioperative optimization strategies. Second, patients with MD should be counseled regarding their elevated risk for postoperative complications, including the potential for prolonged opioid use and hospital readmission, emphasizing the importance of psychiatric optimization and multimodal pain management. Third, a multidisciplinary approach incorporating psychiatric consultation, enhanced wound monitoring, aggressive thromboprophylaxis, early mobilization, and closer outpatient follow-up may help mitigate these risks. Finally, these results highlight the need for further research to determine how preoperative psychiatric intervention can improve surgical outcomes and to identify which specific interventions are most effective in reducing complications in this high-risk population.
Several limitations must be considered when interpreting these results. First, the retrospective design and reliance on electronic health record data from the TriNetX database may introduce misclassification bias, particularly with respect to the accurate identification and documentation of MD, as many cases remain undiagnosed or inadequately captured in administrative datasets. Additionally, the database does not allow differentiation of opioid prescriptions written specifically for ankle-related pain from those prescribed for other concurrent pain conditions, which may contribute to the overall elevation in opioid use observed across both cohorts. The same limitation applies to physical therapy utilization, which may reflect rehabilitation for comorbid conditions rather than exclusively ankle ORIF recovery. Second, residual confounding by unmeasured or incompletely captured variables such as MD severity, psychiatric medication adherence, adequacy of preoperative psychiatric optimization, socioeconomic status, nutritional status, or substance use cannot be excluded despite propensity score matching and adjustment for known covariates. Furthermore, the analysis did not account for other important coexisting variables that could function as confounders, including medical comorbidities such as cardiac disease and rheumatoid disorders, which may both worsen outcomes and be directly or indirectly associated with mood disorders. Third, despite propensity score matching on nine clinical and demographic variables, BMI remained modestly imbalanced between cohorts following matching (SMD 0.184), representing a potential limitation of this study. Notably, both groups fell within the Class I obesity range (31.5 vs 30.1 kg/m2), minimizing the likelihood that this difference meaningfully influenced clinical outcomes. Additionally the database does not capture patient-reported outcome measures, functional scores, or pain assessments, limiting our ability to assess the full impact of MD on patient experience and quality of life beyond objective clinical endpoints. Finally, the generalizability of these findings may be limited to populations represented within the TriNetX network, which may differ in demographic composition, healthcare access, or clinical practice patterns compared to other institutions or international settings.
Conclusion
In conclusion, this retrospective database cohort study found that pre-existing MDs were associated with significantly higher rates of postoperative opioid utilization, healthcare resource utilization including ED visits and hospital readmissions, and medical complications including SSI and DVT/PE following ankle ORIF. These findings suggest that MD exert substantial and sustained effects on multiple dimensions of postoperative recovery, extending well beyond the acute perioperative period. Clinically, this underscores the importance of routine preoperative screening for MD, comprehensive patient counseling regarding elevated complication risks, and implementation of multidisciplinary perioperative optimization strategies incorporating psychiatric consultation, multimodal analgesia, and enhanced postoperative monitoring.
Supplemental material
Supplemental Material - Impact of mood disorders on postoperative outcomes following ankle open reduction and internal fixation
Supplemental Material for Impact of mood disorders on postoperative outcomes following ankle open reduction and internal fixation by Pranav Sivaram, Prajwal Guruprasad Omkar Anaspure, Cesar de Cesar Netto, Samuel Adams, Connor O’Neill, Albert T. Anastasio in Journal of Orthopaedic Surgery.
Footnotes
Acknowledgements
The authors have no acknowledgements to declare. No third-party editorial assistance was used in the preparation or submission of this manuscript.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Supplemental material
Supplemental material for this article is available online.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
