Figures
Abstract
Background
Pain conditions (PCs) of the back, neck, and spine are frequently accompanied by psychiatric and cognitive comorbidities in older adults. However, the directionality and magnitude of the associations between psychiatric disorders and cognitive impairment in this population remain insufficiently characterized.
Objective
This population-based study examines the bidirectional relationship between Mental Health Conditions (MHCs) and Cognitive Impairment (CI) among patients with back, neck, and spine pain. It assesses whether MHCs—including depression, Bipolar Disorder (BD), Generalized Anxiety Disorder (GAD), Post-Traumatic Stress Disorder (PTSD), Panic Disorder (PaD), Persistent Mood Disorder (PMD), Suicidal Behavior (SB), Schizophrenia (SCZ), and Substance Use Disorder (SUD)—are associated with subsequent incident CI, and conversely, whether prior CI is associated with subsequent incident MHCs.
Methods
Data were drawn from the TriNetX US Collaborative Network (2016/01/01–2021/12/31), comprising over 119 million patients. Cohorts of patients with PCs were defined using ICD-10 codes. Propensity score matching was applied to balance demographics and comorbidities. Kaplan-Meier survival analysis assessed risks over a three-year follow-up.
Results
A bidirectional association was observed between MHCs and CI. PC Patients with MHCs had a higher three-year risk for CI, with the largest risk ratios (RR) observed for SCZ (RR: 4.594; 95% Confidence Interval [3.974, 5.312]) and BD (RR: 3.761[3.247, 4.356]). Other MHCs, including depression, PMD, GAD, PTSD, PaD, and SUD, were also associated with higher CI risk. Conversely, patients with pre-existing CI exhibited a higher three-year risk for subsequent MHCs, particularly BD (RR: 4.818 [3.045, 7.624]), SCZ (RR: 3.398 [2.874, 4.017]) and SB (RR: 1.913 [1.340, 2.732]).
Conclusion
Our findings indicate a bidirectional relationship between MHCs and CI among older adults with documented back, neck, and spine pain. Integrated screening and coordinated multidisciplinary care may help identify psychiatric and cognitive comorbidities earlier and support more comprehensive management of this medically complex population.
Citation: Alipour-Vaezi M, Savla J, Rukstalis MR, Rukstalis DB, Tsui K-L, Penzien DB, et al. (2026) Bidirectional associations between mental health conditions and cognitive impairment in patients with pain conditions of the back, neck, and spine: A population-based study. PLoS One 21(6): e0352339. https://doi.org/10.1371/journal.pone.0352339
Editor: Zoaib Habib Tharwani, Mayo Clinic Florida, UNITED STATES OF AMERICA
Received: August 14, 2025; Accepted: June 9, 2026; Published: June 23, 2026
Copyright: © 2026 Alipour-Vaezi et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data used in this study were accessed through the TriNetX US Collaborative Network via the TriNetX platform (TriNetX, LLC). TriNetX is a third-party, federated, real-world data and analytics platform containing de-identified electronic health record-derived data contributed by participating healthcare organizations. The individual-level patient data underlying this study are subject to TriNetX data-use restrictions, contractual requirements, and governance controls. Therefore, the authors do not have permission to publicly share, redistribute, or deposit the individual-level patient data or the underlying minimal dataset. Interested researchers may request access to the same underlying data source by obtaining access to the TriNetX US Collaborative Network through an institution that participates in the TriNetX network, subject to institutional authorization and TriNetX account approval, or by contacting TriNetX directly to inquire about data access or licensing. The relevant data source for this study is the TriNetX US Collaborative Network. The cohort definitions, inclusion and exclusion criteria, follow-up window, ICD-10 code sets, covariates, exposure and outcome definitions, and analytic procedures used in this study are provided in the manuscript and Supporting Information. These materials provide the information needed for qualified users with authorized TriNetX access to reproduce the cohort queries and replicate the analyses within the TriNetX platform. Qualified researchers who obtain access to the TriNetX US Collaborative Network and TriNetX Analytics tools should be able to replicate the study findings by following the cohort construction, propensity-score matching, risk estimation, and Kaplan–Meier analysis procedures described in the Methods section and Supporting Information. Because TriNetX is a live, continuously updated real-world data platform, exact patient counts may vary if the same queries are rerun at a later date. However, the study definitions and analytic specifications necessary to reproduce the analyses using the same data source and platform are fully described in the manuscript and Supporting Information. The authors confirm that they did not have special access privileges to the data that would be unavailable to other qualified researchers with appropriate TriNetX access. The authors accessed the data through standard authorized institutional access to the TriNetX platform. Other researchers with appropriate institutional authorization or an applicable TriNetX data license may request access to the same data source, subject to TriNetX governance, contractual requirements, and applicable institutional approvals.
Funding: This research was supported by a grant from the Virginia Center on Aging (#24-05), as well as an internal +Policy fellowship from the Institute for Society, Culture, and Environment at Virginia Tech. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have no conflict of interest to disclose.
1. Introduction
Pain conditions (PCs) are highly prevalent among adults and are associated with substantial physical and psychological health, and quality of life burden [1,2]. Chronic pain, characterized by pain persisting for over 12 weeks [3], represents an especially burdensome subset of PCs. A 2021 study indicated that approximately 21% of adults in the U.S. experienced chronic pain [4]. National Center for Health Statistics data revealed that 60% of adults reported pain in the last three months, with back pain being the most prevalent, affecting 39% of respondents [5]. Given the high prevalence and clinical burden of back, neck, and spine pain, understanding cognitive and psychiatric comorbidities among older adults with documented PCs in these anatomical regions is particularly important.
Mounting evidence links chronic pain and pain-related conditions to Cognitive Impairment (CI) in the form of cognitive deficits and increased risk for neurocognitive disorders and dementia [6] (the operational definition of CI for this study is delineated in section 2.2). Adults with high-impact chronic pain demonstrate an 18% prevalence of CI versus 3% in those who are pain-free [7], and 65% of individuals with CI report pain issues, including 46% of individuals with Alzheimer’s disease [8]. Specific pain syndromes, such as chronic lower-back pain, are often associated with poor memory and attention [9], and pre-operative CI in one-fifth of spine-surgery candidates predicts worse postoperative outcomes [10,11].
Mental Health Conditions (MHCs) are also commonly associated with chronic pain and pain-related conditions [12,13]. Approximately 35–45% of individuals with chronic pain also experienced depression [14,15], and 25% of individuals with chronic pain report symptoms of anxiety and/or depression, fivefold higher than the population without chronic pain [16]. Co-occurrence also extends to Post-Traumatic Stress Disorder (PTSD) and Bipolar Disorder (BD) [17,18]. Mood and anxiety disorders, in turn, are associated with greater pain intensity, disability, and health-care utilization [19]. Furthermore, a meta-analysis identified a high prevalence of Suicidal Behavior (SB), including suicidal ideation and suicide attempts, among people with chronic pain [20].
Several overlapping pathophysiological and clinical pathways may help explain why chronic pain, MHCs, and CI frequently co-occur. Persistent or recurrent pain has been associated with alterations in brain regions involved in attention, memory, emotional regulation, and pain modulation, including prefrontal-limbic and thalamocortical networks [21–24]. Pain-related symptoms may also contribute to neuroinflammation, hypothalamic-pituitary-adrenal axis dysregulation, autonomic arousal, sleep disturbance, and reduced physical activity, all of which have been linked to both psychiatric symptoms and cognitive decline [25–28]. Conversely, MHCs may be associated with altered pain perception through altered affective processing, attentional bias toward pain, catastrophizing, reduced coping capacity, and impaired treatment adherence [29–31]. CI may be associated with additional pain-management challenges, including limitations in medication adherence, self-monitoring, communication of symptoms, and engagement with behavioral or rehabilitative interventions [32–34]. These shared pathways support the clinical rationale for examining MHC-CI associations specifically among older adults with documented PCs of the back, neck, and spine.
Despite these epidemiological and pathophysiological connections, less is known about how MHCs and CI are associated with each other among patients with documented back, neck, and spine PCs. Cross-sectional studies document cognitive deficit across a range of mental illnesses [35–37], and evidence suggests that MHCs have a greater impact on cognitive decline than many somatic diseases or demographic factors [38]. Yet prior work has typically examined only one directional pathway- either MHC to CI or CI to MHC- and often relies on small single-center samples, limiting generalizability. Even fewer investigations focus on patients already burdened by back, neck, and spine PCs, despite emerging evidence that convergent biological and psychosocial mechanisms may be associated with greater neuropsychiatric vulnerability [39–41]. As a result, clinicians still lack reliable, population-level estimates of how mental-health diagnoses and cognitive deficits co-occur or appear sequentially within this large and clinically fragile group. Because back, neck, and spine pain-related conditions are associated with both psychiatric morbidity and cognitive vulnerability, we examined MHC–CI bidirectional associations specifically within this PC population rather than in a general adult cohort [42,43].
To close this knowledge gap, we leveraged the TriNetX U.S. Collaborative Network, comprising 119 million de-identified electronic health records from 68 healthcare organizations, to assemble a retrospective cohort of adults aged 65 years or older with newly documented PCs of the back, neck, and spine between 2016 and 2021. After propensity-score matching for demographics and comorbidities, we pursued two complementary objectives: (i) to quantify the association between pre-existing MHCs and the three-year incidence estimates for CI, and (ii) to quantify the association between pre-existing CI and the three-year incidence estimates for MHCs in the same population. Characterizing these reciprocal associations may inform integrated screening, referral, and multidisciplinary treatment strategies for older adults living with documented back, neck, and spine PCs.
2. Methods
2.1. Data source and study population
In this research, a retrospective cohort study was conducted with data from the TriNetX US Collaborative Network [44,45]. TriNetX is a federated real-world data and analytics platform that provides access to de-identified EHR-derived data contributed by participating healthcare organizations. The platform contains structured clinical information, including patient demographics, encounters, diagnoses, procedures, medications, laboratory results, and other routinely documented clinical variables [46]. The dataset used in this study represents approximately 119 million patients affiliated with 68 healthcare organizations in the United States and includes records from both inpatient and outpatient settings, such as hospitals, primary care clinics, and specialist clinics. TriNetX Analytics allows investigators to define cohorts using standardized clinical codes, apply inclusion and exclusion criteria, conduct cohort comparisons, perform propensity-score matching, and estimate risk-based and time-to-event outcomes [47]. TriNetX deidentification complies with the standards in Section 164.514(a) of the HIPAA Privacy Rule, verified by a qualified expert’s formal determination per Section 164.512(b)(1) [48]. This manuscript reports a retrospective study of medical records that were fully anonymized before being accessed by the research team (TriNetX database). IRB designation of this study as non-human subjects research was obtained by the research team (IRB-24–1741). The Carilion Clinic IRB reviewed this study and determined it does not meet the definition of human subjects research (45 CFR 46.102(d)); therefore, the IRB did not require approval or oversight of this study.
TriNetX demographics and diagnoses reflect structured EHR documentation. We did not perform imputation. For categorical demographics (e.g., race/ethnicity/sex) that may be missing in EHR data, TriNetX can display these values as “Unknown”; patients with unknown categories were retained, and such categories were treated as valid levels when included in baseline covariates. Comorbidities were defined based on the presence of diagnosis codes; absence of a coded diagnosis was treated as absence of the corresponding recorded comorbidity, recognizing that under-coding or care received outside participating systems may result in misclassification.
To maintain patient confidentiality, the TriNetX system automatically adjusted the number of patients to 10 where outcomes involved fewer than 10 patients in either cohort. Statistical comparisons of continuous and categorical data were conducted using t-tests and chi-square tests, respectively, with significance set at the level of 0.05. All statistical analyses were performed using the TriNetX Analytics tool, integrated within the TriNetX platform.
2.2. Study cohorts
To construct study cohorts, the TriNetX database was accessed using the International Classification of Diseases, Tenth Revision (ICD-10) codes to meet the criteria for diagnoses. Table 1 represents the ICD-10 code(s) used as the baseline for each diagnosis. Data was collected for visits to the network hospitals from January 1, 2016, to December 31, 2021. Inclusion and exclusion criteria that were applied across each cohort are depicted in Fig 1.
SG: Study Group; CG: Control Group; MHC: Mental Health Condition; BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood Disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use; PC: Pain Conditions; CI: Cognitive Impairment.
This timeframe allows for a 3-year follow-up period to assess the incidence of CI and MHCs, considering that CI typically develops over time. Only patients who were ≥ 65 years old at the index PC diagnosis of the back, neck, and spine were included in this study. This age restriction was used to focus on an older population in whom CI is more commonly diagnosed and clinically consequential, thereby improving interpretability for geriatric care and reducing heterogeneity associated with substantially different baseline CI risk profiles in younger adults.
Baseline (pre-existing) CI and MHC status were defined using the presence of the corresponding ICD-10 diagnosis codes recorded on or before the index date (Table 1). Diagnosis codes were used for phenotype definition; medications were not used as proxies for CI or MHC status. Because TriNetX is a multi-site EHR network rather than a claims database with continuous enrollment records, available pre-index lookback may vary across patients, and diagnoses received outside participating healthcare organizations may not be captured. No minimum prior observation period was required in the primary analysis. Therefore, incident outcomes in this study should be interpreted as newly documented EHR diagnoses after the index date rather than definitive biological onset of disease.
Clinical Concepts for Orthopedics was used as the basis for selecting codes representing PCs of the back, neck, and spine [49]. We limited PCs to back, neck, and spine diagnoses to define a clinically coherent and highly prevalent musculoskeletal pain phenotype in older adults and to reduce heterogeneity that would arise from pooling fundamentally different PC etiologies with distinct clinical courses, coding practices, and risk profiles for MHCs and CI. Code selection was accomplished with input from medical specialists familiar with these diagnoses. MHCs commonly co-occurring with PCs of the back, neck, and spine, per previous literature, were included in the study, and representative ICD-10 codes were selected with clinical expert input.
CI was operationalized using ICD-10 codes F01–F03, F06.7, G30.0, G30.1, G30.8, G30.9, G31.0, and G31.1 (Table 1). This definition was selected to capture persistent neurocognitive disorders documented in structured EHR diagnosis fields, including dementia diagnoses (F01–F03; G30.*; G31.0–G31.1) and mild neurocognitive disorder (F06.7). During code selection, we excluded diagnoses representing transient/acute cognitive states (e.g., delirium) and cognitive symptoms explicitly attributable to acute intoxication/withdrawal or other clearly delineated secondary causes, to focus on persistent CI diagnoses rather than short-lived syndromes. In addition, patients with malignant neoplasms, Parkinson’s disease, and Traumatic Brain Injury were excluded to reduce potential confounding and ensure cohort specificity.
MHCs were operationalized using ICD-10 codes for depression (F32–F33), BD (F31), GAD (F41.1), PTSD (F43.1), PaD (F41.0), PMD (F34), SCZ and related psychotic disorders (F20–F29), and SUD (F10–F19) (Table 1). These code sets were selected to capture clinician-diagnosed psychiatric conditions documented in structured EHR diagnosis fields rather than symptom-only presentations. To reduce heterogeneity and misclassification, we did not use nonspecific psychiatric symptom codes or broad “unspecified” categories as substitutes for disorder-level diagnoses. SB was identified using T14.91 and R45.851 (Table 1) and was analyzed as a clinically important construct; although SB is not itself an MHC diagnosis, it is strongly associated with underlying psychiatric illness and was therefore included as a separate study group and within the “Any MHC” composite definition.
The Control Group (CG) cohort was defined once and used as a shared reference group in both directions of analysis. It comprised all patients with documented PCs of the back, neck, and spine who had no recorded MHC and no recorded CI on or before the index date. All Study Groups (SGs) were propensity-score matched to this same CG to estimate incident outcomes during follow-up.
For the MHC → CI analyses, nine SGs were constructed. Each included patients with documented PCs of the back, neck, and spine who had a prior diagnosis of one specific MHC but no prior CI. These disorders were: depression, BD, Generalized Anxiety Disorder (GAD), PTSD, Panic Disorder (PaD), Persistent Mood Disorder (PMD) (includes cyclothymia, dysthymia, unspecified mood disorders), SB (while not a MHC, the large majority of people attempting suicide have a MHC [50]), Schizophrenia (SCZ), and Substance Use Disorder (SUD). In addition, an “Any mental health condition (Any MHC)” cohort pooled patients with documented PCs of the back, neck, and spine with any of the psychiatric disorders evaluated in this study or SB, again excluding those with prior CI. This terminology was used because SB is clinically relevant to mental health but is not itself a psychiatric diagnosis. These groups enabled us to examine the associations between individual and aggregate MHCs and subsequent CI risk.
For the CI → MHC analyses, we built an additional SG consisting of patients with documented PCs of the back, neck, and spine who had a documented CI diagnosis but no MHC diagnosis on or before the index date. We compared this SG with the same CG described above to quantify the association between pre-existing CI and the incidence of MHCs.
Outcomes were defined as incident diagnoses occurring after the index date and within a standardized 3-year follow-up period. CI was defined as the first occurrence after the index date of any CI in the TriNetX database during follow-up among patients without those CI codes on or before the index date. MHCs were defined analogously by the first documented diagnosis of MHC codes after the index PC diagnosis among patients without those MHC codes on or before the index date.
Because ICD-10 codes reflect clinical documentation rather than standardized research assessments, outcome definitions represent coded clinical diagnoses and may be subject to under-documentation or misclassification inherent to EHR data. Therefore, this study captured recognized and documented diagnoses of PCs of the back, neck, and spine, MHCs, and CI. Unrecognized, undiagnosed, or undocumented conditions could not be identified if patients were not evaluated for these conditions or if the relevant ICD-10 codes were not recorded in the EHR.
We used a 3-year follow-up window to ensure a consistent and comparable observation period across all cohorts and both directions of the bidirectional analysis, while balancing outcome ascertainment against loss to follow-up and heterogeneity in longitudinal capture inherent to multi-site EHR-derived data. Accordingly, time-to-event analyses were censored at 3 years after the index date.
To address the possibility that a single qualifying ICD-10 diagnosis could capture acute or subacute pain, we conducted two sensitivity analyses using stricter chronicity-oriented definitions of the PC phenotype. In the first sensitivity analysis, PC was defined as at least two diagnoses within the same qualifying PC diagnosis category from the prespecified back, neck, and spine ICD-10 code listed in Table 1, with the two diagnoses recorded 3–6 months apart. For example, a patient qualified if they had two qualifying diagnoses for the same PC category, such as two cervical spine pain diagnoses, two neck/back pain diagnoses, two radiculopathy diagnoses, or two spinal stenosis-related diagnoses within the specified time window. This approach was intended to strengthen the operational definition of chronicity while preserving the clinically curated PC categories used in the primary analysis. In the second sensitivity analysis, PC was defined using a chronicity-enriched ICD-10 subset including M50, M48, M99.23, M99.33, M99.43, M99.53, M99.63, M99.73, M51, M79.7, and M47. For both sensitivity analyses, the primary composite comparisons were repeated: prior Any MHC→incident CI and prior CI→incident Any MHC.
2.3. Statistical analysis
Propensity score matching [51,52] was employed to match patients in each of the two CGs to those in the related SGs in a 1:1 ratio. Propensity scores, ranging from 0 to 1, were calculated using logistic regression to predict the membership in the baseline cohorts based on patient covariates, including demographics—age, gender, and race—and medical conditions such as cardiovascular diseases, cerebrovascular diseases, metabolic and vascular conditions, chronic lower respiratory disease, chronic kidney disease, and sepsis. The greedy nearest neighbor algorithm was used for matching [53].
After propensity score matching, relative risks and Kaplan–Meier survival curves [54] were estimated using the TriNetX analytics platform after propensity score matching on selected baseline covariates. The primary analyses were defined as the two main bidirectional composite comparisons: (i) the association between prior Any MHC and subsequent incident CI, and (ii) the association between prior CI and subsequent incident Any MHC. The two primary composite comparisons were repeated under both stricter chronicity-oriented PC sensitivity definitions described above.
To assess the potential influence of delayed documentation of pre-existing disease, we performed a simple back-of-the-envelope robustness assessment using the matched cohort counts reported in Tables 2 and 3. For each primary comparison and selected secondary comparisons, we estimated the number and proportion of post-index outcome diagnoses in the SG that would need to represent delayed documentation rather than newly documented outcomes for the observed excess risk to disappear. This was calculated as the difference between the observed number of outcome cases in the SG and the observed number of outcome cases in the matched CG, divided by the observed number of outcome cases in the SG.
Disorder-specific analyses were treated as secondary/exploratory analyses to characterize which psychiatric diagnostic categories contributed most to the overall bidirectional pattern. Accordingly, disorder-specific findings, particularly those with small absolute risk differences or confidence intervals close to the null, were interpreted cautiously.
These analyses assume that the matched cohorts are comparable with respect to observed characteristics (exchangeability), that exposures and outcomes are accurately captured by diagnosis codes, and that follow-up censoring is independent of the event process. Kaplan–Meier estimation further assumes correct event timing and non-informative censoring. While propensity score matching reduces confounding by observed covariates, residual confounding due to unmeasured factors may remain.
3. Results
3.1. Demographic and population characteristics
A total of 1,843,483 individuals were initially identified as the Control Group (CG). Baseline demographics for both the CG and each SG cohort for analysis of the associations between PC, MHCs, and CI are detailed in S1 Table. Propensity score matching was conducted across various cohorts, including 492,103 patients identified with any MHC, 260,272 with depression, 23,897 with BD, 60,219 with GAD, 13,551 with PTSD, 11,160 with PaD, 14,755 with PMD, 7,335 with SB, 15,544 with SCZ, and 222,567 with SUD. Furthermore, an additional cohort was created to investigate the association between prior CI and the incidence of MHCs among patients with documented PCs of the back, neck, and spine. This cohort includes 36,560 patients with documented PCs of the back, neck, and spine with prior CI diagnosis. S2 Table lists the baseline demographics for both the CG and each SG cohort for analysis of the association between CI and MHC.
Before matching, several demographic and clinical differences were observed between the CG and SGs. For example, compared with the CG, patients with any prior MHC had higher proportions of type 2 diabetes mellitus, hyperlipidemia, essential hypertension, chronic lower respiratory disease, chronic kidney disease, and cardiovascular/cerebrovascular comorbidities. Similar baseline differences were observed in several disorder-specific cohorts; for instance, patients with prior depression, BD, SCZ, and SUD generally showed higher comorbidity burdens than the CG. In the CI → MHC analysis, patients with prior CI were substantially older than the CG and had higher frequencies of vascular and cardiometabolic comorbidities, including essential hypertension, atrial fibrillation/flutter, ischemic stroke, chronic kidney disease, and sepsis. To address these baseline differences and improve comparability between cohorts, we applied 1:1 propensity-score matching on age, sex, race, and major comorbidity groups before estimating outcome risks. Detailed pre- and post-matching cohort characteristics are presented in S1–S13 Tables.
3.2. Association of prior mental health conditions with cognitive impairment incidence
For the primary MHC → CI analysis, prior Any MHC was associated with a higher three-year incidence estimate for subsequent CI compared with the matched control group without prior MHC or CI (RR = 1.777; 95% confidence interval: 1.727, 1.828; Table 2). In secondary disorder-specific analyses, the largest relative risk estimates were observed for SCZ (RR = 4.594; 95% confidence interval: 3.974, 5.312), BD (RR = 3.761; 95% confidence interval: 3.247, 4.356), and SB (RR = 3.193; 95% confidence interval: 2.519, 4.048). Other MHCs, including depression, GAD, PTSD, PaD, PMD, and SUD, were also statistically associated with higher incident CI risk, with complete disorder-specific estimates presented in Table 2.
To aid the interpretation of the effect size magnitude, Table 2 reports both relative risks (risk ratios) and the corresponding absolute 3-year risks (%). Across matched comparisons, the control-group 3-year CI risk ranged from 0.7% to 1.7%. For example, the SCZ cohort had a 6.4% 3-year CI risk versus 1.4% in its matched control group (absolute risk difference +5.0 percentage points (pp); RR 4.594). The BD and SB cohorts showed 3.5% vs 0.9% (+2.6 pp; RR 3.761) and 3.8% vs 1.2% (+2.6 pp; RR 3.193), respectively. In contrast, more modest RRs corresponded to smaller absolute differences (e.g., PaD 2.2% vs 1.4%, + 0.8 pp; SUD 2.0% vs 1.2%, + 0.8 pp), which may have more limited standalone clinical implications.
Kaplan–Meier analysis for the MHC → CI comparison (Fig 2B) showed that Patients with PCs with prior Any MHC had a lower probability of remaining free from incident CI during follow-up than matched PC controls without prior MHC or CI. The three-year event-free survival probability was 96.6% in the prior Any MHC cohort compared with 98.1% in the matched CG. Cox proportional hazards analysis showed a similar pattern (hazard ratio: 1.811; 95% confidence interval: 1.760, 1.864).
Panel A shows incident MHC among Patients with PCs with prior CI compared with matched PC controls without prior CI or MHC. Panel B shows incident CI among Patients with PCs with prior Any MHC compared with matched PC controls without prior MHC or CI. The x-axis represents follow-up time after the index PC diagnosis in days, and the y-axis represents the estimated probability of remaining free from the outcome diagnosis. MHC: Mental Health Condition; PC: Pain Condition; CI: Cognitive Impairment.
3.3. Association of prior cognitive impairment with mental health condition incidence
For the primary CI → MHC analysis, prior CI was associated with a higher three-year incidence estimate for subsequent Any MHC compared with the matched control group without prior CI or MHC (RR = 1.502; 95% confidence interval: 1.437, 1.570; Table 3). In secondary disorder-specific analyses, the largest relative risk estimates were observed for BD (RR = 4.818; 95% confidence interval: 3.045, 7.624), SCZ (RR = 3.398; 95% confidence interval: 2.874, 4.017), SB (RR = 1.913; 95% confidence interval: 1.340, 2.732), and depression (RR = 1.628; 95% confidence interval: 1.542, 1.718). Other disorder-specific estimates were smaller or not statistically significant and are presented in Table 3. These secondary findings should be interpreted as exploratory, particularly where absolute risk differences were small.
Table 3 similarly presents absolute risks and risk ratios for incident MHCs following baseline CI. Several estimates close to the null corresponded to very small absolute differences, despite statistical testing in a large cohort (e.g., GAD 0.9% vs 0.8%, + 0.1 pp, RR 1.036; PMD 0.3% vs 0.2%, + 0.1 pp, RR 1.308; PaD 0.2% vs 0.2%, approximately 0.0 pp, RR 0.836). By contrast, larger absolute differences were observed for any MHC (12.1% vs 8.1%, + 4.0 pp, RR 1.502) and depression (8.7% vs 5.4%, + 3.3 pp, RR 1.628). We also note that large relative risks for rare outcomes can translate into small absolute differences (e.g., BD 0.3% vs 0.1%, + 0.2 pp, RR 4.818), underscoring the importance of reporting absolute measures alongside relative measures.
The outcomes presented above were limited to individual MHCs and any MHC. We did not include combinations such as depression and GAD or depression and PTSD due to the limitations of the TriNetX database in tracking the incidence of multiple MHCs simultaneously following a diagnosis of CI.
Kaplan–Meier analysis for the CI → MHC comparison (Fig 2A) showed that Patients with PCs with prior CI had a lower probability of remaining free from incident MHC during follow-up than matched PC controls without prior CI or MHC. The three-year event-free survival probability was 80.1% in the prior-CI cohort compared with 89.1% in the matched CG. Cox proportional hazards analysis showed a similar pattern (hazard ratio: 2.007; 95% confidence interval: 1.916, 2.103).
3.4. Sensitivity and robustness analyses
First, sensitivity analyses using stricter PC definitions showed results consistent with the primary analysis. When PC was defined as at least two diagnoses within the same qualifying PC category recorded 3–6 months apart, the MHC → CI analysis showed a risk ratio of 1.944 (95% CI: 1.897, 1.992), and the CI → MHC analysis showed a risk ratio of 1.487 (95% CI: 1.381, 1.601). When PC was defined using only chronicity-enriched ICD-10 codes, the MHC → CI analysis showed a risk ratio of 1.877 (95% CI: 1.821, 1.934), and the CI → MHC analysis showed a risk ratio of 1.251 (95% CI: 1.191, 1.314). These findings suggest that the main bidirectional pattern was not driven solely by patients with a single potentially acute or subacute back, neck, or spine pain diagnosis.
Second, to assess the potential influence of incomplete prior-history capture, we performed a back-of-the-envelope robustness assessment using the matched cohort counts in Tables 2 and 3. In the overall MHC → CI analysis, 12,912 CI cases were observed in the Any MHC cohort compared with 7,266 in the matched CG; therefore, approximately 5,646 cases, or 43.7% of observed CI cases in the Any MHC cohort, would need to reflect delayed documentation to reduce the association to the null. For the strongest MHC → CI findings, the corresponding proportions were approximately 78.2% for SCZ, 73.4% for BD, and 68.7% for SB. In the CI → MHC analysis, 4,426 MHC cases were observed in the prior-CI cohort compared with 2,946 in the matched CG; therefore, approximately 1,480 cases, or 33.4% of observed MHC cases in the prior-CI cohort, would need to reflect delayed documentation to fully explain the overall CI → MHC association. These calculations do not eliminate the possibility of incomplete prior-history capture, but they suggest that substantial differential delayed documentation would be required to fully account for the main observed associations.
4. Discussion
This study examined the bidirectional associations between MHCs and CI among older adults with documented PCs of the back, neck, and spine using a large retrospective EHR-based cohort. Building on prior evidence linking pain-related conditions, MHCs, and CI, we aimed to advance the literature by examining the bidirectional associations between MHCs and CI among older adults with PC of the back, neck, and spine. Overall, our results indicate that the presence of several MHCs—including depression, BD, GAD, PTSD, PaD, PMD, SB, SCZ, and SUD—was significantly associated with elevated three-year risk estimates for incident CI in patients with PC. Importantly, documented PCs of the back, neck, and spine should be understood as the clinical context in which these bidirectional associations were examined. Older adults with back, neck, and spine PCs may already experience pain-related functional limitation, sleep disturbance, reduced physical activity, and increased healthcare contact, all of which may intersect with psychiatric and cognitive vulnerability [55–58]. Therefore, the observed MHC–CI associations should be interpreted within the broader clinical complexity of chronic back, neck, and spine pain. The sensitivity analyses using repeated PC-category diagnoses and a chronicity-enriched ICD-10 subset further supported the overall bidirectional pattern under stricter chronicity-oriented definitions. Additionally, these patients with documented PCs of the back, neck, and spine and pre-existing CI had higher three-year risk estimates for several subsequent MHCs compared with matched patients without prior CI or MHCs. The importance of recognizing these comorbidities is underscored by existing literature showing that psychiatric comorbidities are associated with more complex pain experience, functional outcomes, and clinical management in patients with PC [59–62]. In the present study, this concern is further reinforced by the observed bidirectional associations between prior MHCs and subsequent CI, and between prior CI and subsequent MHCs, among older adults with PC of the back, neck, and spine.
In the MHC → CI analysis, the presence of SCZ, BD, SB, PTSD, and PMD was associated with the highest CI risk ratios among patients with documented PCs of the back, neck, and spine. These results are consistent with previous research outlining associations between PC and MHCs with regard to impairments in various cognitive domains, including memory and attention [63–65]. Similarly, the established presence and importance of cognitive dysfunction in patients with MHCs is also reinforced in this research [66]. Notably, patients with documented PCs of the back, neck, and spine and pre-existing SCZ demonstrated the highest three-year risk estimate for incident CI. Indeed, the association between SCZ and CI is well documented, including evidence of greater cognitive decline and neurovascular burden among patients with SCZ [65]. Additionally, our findings align with recent literature demonstrating strong evidence for a connection between serious mental illness and premature aging, with possible relevance to susceptibility to neurocognitive disorders [67]. Evidence also exists for multifactorial connections between BD and CI [68]. The association observed for SB should be interpreted cautiously, because SB is not itself a psychiatric diagnosis but is closely linked to underlying psychiatric illness, mood and anxiety disorders, and dementia-related vulnerability [69–71].
In the CI → MHC analysis, the risk ratios for subsequent SCZ and BD were notably high, with BD showing the highest relative risk among the psychiatric outcomes evaluated among patients with documented PCs of the back, neck, and spine and pre-existing CI. One potential explanation for this finding is some similarity in symptom presentation; for example, a portion of patients with frontotemporal dementia are misdiagnosed or concurrently diagnosed with BD or SCZ [72–74]. The risk for developing SB was also significantly elevated, and depression remained substantially increased among patients with PCs and prior CI. The observed CI → MHC associations appeared strongest for psychiatric outcomes with recognized cognitive or neuropsychiatric features. One possible explanation is that prodromal neurocognitive symptoms may later be documented as part of a late-onset MHC. Conversely, SUD showed lower risk ratios in our research, a finding counter to a strong body of evidence supporting cognitive deficits as a risk factor for SUD [75]. The age of our study population (65 years or older) may account for this difference, as psychosocial variables for older adults with PC and CI, such as the need for caregiver involvement, may be reflected in lower observed diagnosis rates of substance use concerns.
Kaplan-Meier analysis indicated that patients with documented PCs of the back, neck, and spine and pre-existing CI were more likely to receive a subsequent MHC diagnosis during follow-up than the matched CG (80.1% vs. 89.0%). We also found a 1.5% difference in the three-year incidence estimates for subsequent CI over three years for patients with PC and MHCs compared to CG. These findings should be interpreted by considering both relative and absolute measures of effect. In several disorder-specific analyses, relatively high risk ratios occurred in the context of low baseline event rates; therefore, large relative risks may correspond to modest absolute risk differences. Clinically, these findings remain meaningful because they help identify subgroups of older adults with documented back, neck, and spine PCs who may warrant closer psychiatric or cognitive attention during follow-up. However, small absolute risk differences should be interpreted cautiously and should not be overstated as large individual-level risk increases. Thus, the results support integrated screening and coordinated care while also emphasizing the importance of interpreting statistical significance alongside absolute clinical magnitude.
These findings have important clinical and public health implications for the management of older adults with PC of the back, neck, and spine. Because prior MHCs were associated with subsequent CI and prior CI was associated with subsequent MHCs, psychiatric and cognitive conditions should be considered as interrelated comorbidities in this population. In practice, this supports multimorbidity-aware care models in which pain management, psychiatric evaluation, and cognitive screening are coordinated rather than addressed separately. For patients with PC and documented MHCs, clinicians may consider closer attention to cognitive symptoms during follow-up. Similarly, for patients with PC and documented CI, psychiatric symptoms may warrant earlier recognition and referral. These implications do not establish causal effects but highlight the value of integrated screening and coordinated care pathways for a clinically complex group of older adults.
4.1. Strengths and limitations
The primary strength of this study is the large, multisite cohort, which includes patients from diverse clinical settings and enhances the generalizability of the findings. Second, the use of 1:1 propensity score matching is a methodological strength that improves covariate balance and cohort comparability, thereby reducing confounding from unmeasured variables and strengthening the interpretability of the observed associations. In addition, the use of real-world data from existing medical records enhances external validity. However, reliance on clinician diagnosis and ICD-10 coding is also a limitation, as diagnostic rigor and coding practices cannot be directly controlled [76]. When defining diagnostic condition categories using ICD-10 codes, excluding broad or nonspecific codes may reduce confounding but may also exclude patients with clinical relevant histories. For example, excluding anxiety disorder, unspecified, from this study likely removes patients with anxiety resulting from PC of the back, neck, and spine, but also patients who may have GAD. Although sensitivity analyses used repeated PC-category diagnoses and a chronicity-enriched ICD-10 subset, EHR-based ICD-10 definitions cannot fully capture pain duration, intensity, anatomical severity, or functional impact. Thus, findings should be interpreted as associations among patients with documented back, neck, and spine PCs diagnoses rather than directly measured pain chronicity or severity.
Incomplete capture of prior history is another limitation of multi-site EHR data. Patients may have received CI or MHC diagnoses outside participating healthcare organizations, and the absence of a pre-index ICD-10 code in TriNetX does not necessarily confirm the absence of disease. Although our back-of-the-envelope robustness assessment suggested that a substantial proportion of post-index diagnoses would need to represent delayed documentation to fully explain the main associations, this calculation does not replace a formal washout analysis and cannot fully eliminate the possibility of incomplete prior-history capture. We also could not distinguish whether each qualifying diagnosis was recorded in an outpatient or inpatient setting. Because encounter setting may affect diagnostic certainty, disease severity, and surveillance intensity, this limitation should be considered when interpreting findings.
Detection or surveillance bias is also an important limitation. Patients with MHCs, CI, or greater medical complexity may have more frequent encounters and therefore more opportunities for additional diagnoses to be detected and recorded. The current TriNetX interface available to us did not provide a direct and reliable encounter-count variable that could be incorporated as a healthcare-utilization proxy in the present analysis. Adjustment for encounter frequency would require exported patient-level data and additional data-governance approval, which was not feasible within the current revision timeline. Therefore, differences in diagnostic intensity may have contributed to the observed associations and should be considered when interpreting the results.
Although our study was carefully designed to include patients with documented PCs of the back, neck, and spine without prior diagnoses to assess incidence over the subsequent three years, the findings remain correlational and should not be interpreted causally. Given the large sample size, even small differences can reach statistical significance; therefore, the clinical relevance of modest associations, partically RRs with confidence interval near 1, should be interpreted with caution. Follow-up duration is an additional limitation. CI and dementia-related diagnoses may develop over longer intervals than 3 years, particularly in a cohort restricted to patients aged ≥65 years. Therefore, restricting follow-up to 3 years may underestimate longer-term cumulative incidence and may not fully capture slower trajectories of cognitive decline. Our findings should be interpreted as associations within a 3-year post-index window, and future studies should evaluate these associations over longer horizons (e.g., 5–10 years) and/or in prospective cohorts with repeated, standardized cognitive assessments.
Competing risks, particularly death, are also important in this older cohort. Standard Kaplan–Meier and Cox approaches assume non-informative censoring; however, death may preclude subsequent documentation of CI or MHC and may therefore act as a competing event. Without a formal competing-risk analysis, the direction of potential bias cannot be determined with certainty. If patients with prior MHCs or CI have higher mortality than matched controls, treating death as non-informative censoring may overestimate cumulative incidence in the exposed cohorts and potentially exaggerate relative associations. Conversely, if death occurs before CI or MHC can be documented, observed diagnosis rates may be underestimated, potentially attenuating the associations. Accordingly, our time-to-event estimates should be interpreted as associations with documented diagnoses during follow-up rather than competing-risk-adjusted cumulative incidence estimates.
Another limitation of this study is the lack of a specified time frame for assessing prior MHCs in patients with PC. We chose not to impose such a restriction to capture a wider range of psychiatric conditions, including those that may have developed episodically or over a longer period, which could still be related to cognitive function and pain perception. Furthermore, residual and unmeasured confounding is likely. Several important determinants of both MHCs and CI—particularly education level (cognitive reserve), socioeconomic status, mobility/functional status, and physical activity—are not consistently available as structured variables in TriNetX and therefore could not be comprehensively adjusted for. Also, TriNetX diagnosis codes do not encode domain-specific neurocognitive profiles (e.g., memory, executive function, or language), and structured neuropsychological testing data are not consistently captured in EHR-derived networks; consequently, we could not determine which cognitive domain(s) were impaired, which limits the granularity of interpretation of CI-related findings. In addition, psychiatric and pain-related medications (e.g., antidepressants, antipsychotics, mood stabilizers, benzodiazepines, opioids, and adjuvant analgesics) may serve as proxies for underlying disease severity or treatment indication; however, medication exposure is not captured uniformly or reliably across participating health systems in a way that permits comprehensive confounding adjustment. Accordingly, our estimates should be interpreted as associations that may be influenced by residual/unmeasured confounding despite matching and adjustment for measured covariates.
Future studies could address these limitations through prospective designs incorporating standardized measures of cognition (including domain-specific testing), pain severity and interference, educational attainment, and mobility/physical activity assessments. EHR-based analyses could further evaluate robustness through (i) adjustment for available proxy indicators of functional impairment/frailty (e.g., fall-related diagnoses, use of assistive devices, frailty-related codes) and (ii) baseline adjustment/stratification by medication exposure classes when medication data are sufficiently complete. These approaches would help clarify the extent to which the observed associations are explained by cognitive reserve, functional limitation, socioeconomic status, or medication-related confounding. Complementary designs, such as negative control outcomes or exposures, alternative cohort definitions requiring repeated pain encounters, and replication across independent networks, could further strengthen interpretability and generalizability. Future work should also examine whether directly measured pain duration, intensity, anatomical severity, functional impact, encounter settings, and years lived with PC, MHCs, or CI before the index date modify the observed MHC-CI associations. Finally, detailed cross-tabulation and subgroup analyses by age, sex, and other clinically relevant characteristics to determine whether the observed associations differ across patient subgroups.
4.2. Conclusions
In this study, we observed a clear, bidirectional relationship between MHCs and CI among older adults with documented PCs of the back, neck, and spine: pre-existing MHCs—particularly SCZ, BD, and SB—were associated with higher subsequent CI risk, while prior CI was associated with subsequent MHC risk. By quantifying both directions in a single, real-world dataset, our study fills a critical evidence gap and underscores the need for integrated care pathways that span primary care, pain management, psychiatry, and geriatrics. For example, integrated pain management care teams, while pooling expertise to mitigate patients’ experience of pain, could benefit from early targeted screening of psychiatric and cognitive concerns, thus capturing potential undiagnosed comorbidities and informing treatment. In clinics without integrated models, these results suggest the value of brief, cross-specialty screening and facilitating referrals to specialized care. Considering that assessment and effective multidisciplinary treatment approaches can be cumbersome and time-consuming processes for all involved, future research may focus on broadening resources (1) to streamline screening to expedite appropriate referrals and treatment, and (2) to improve collaboration and communication between members of treatment teams for these medically complex patients.
Supporting information
S1 Table. Baseline Demographic Characteristics for Patients with PCs with or without prior diagnosis of different Mental Health Conditions.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVC: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s001
(PDF)
S2 Table. Baseline Demographic Characteristics for Patients with PCs with or without prior diagnosis of cognitive impairment.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVC: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s002
(PDF)
S3 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with any Mental Health Condition after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and Vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s003
(PDF)
S4 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Depression after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s004
(PDF)
S5 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Bipolar Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s005
(PDF)
S6 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Generalized Anxiety Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s006
(PDF)
S7 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Post-Traumatic Stress Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s007
(PDF)
S8 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Panic Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s008
(PDF)
S9 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Persistent Mood Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s009
(PDF)
S10 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Suicidal Behavior after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s010
(PDF)
S11 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Schizophrenia after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s011
(PDF)
S12 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Substance Use Disorder after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s012
(PDF)
S13 Table. Baseline Demographic Characteristics for Patients with Pain Conditions with Cognitive Impairment after Propensity Score Matching.
BD: Bipolar Disorder; PTSD: Post-traumatic Stress Disorder; GAD: Generalized Anxiety Disorder; PaD: Panic Disorder; PMD: Persistent Mood disorder; SB: Suicidal Behavior; SCZ: Schizophrenia; SUD: Substance Use Disorder; CKD: Chronic Kidney Disease; CLRD: Chronic Lower Respiratory Disease; CVD: Cardiovascular Diseases; CBVD: Cerebrovascular Diseases; MVC: Metabolic and vascular Conditions; *: Presented in Number (Percentage of Cohort) format; **: Presented in Mean (Standard Deviation) format.
https://doi.org/10.1371/journal.pone.0352339.s013
(PDF)
References
- 1. Hadi MA, McHugh GA, Closs SJ. Impact of Chronic Pain on Patients’ Quality of Life: A Comparative Mixed-Methods Study. J Patient Exp. 2019;6(2):133–41. pmid:31218259
- 2. Dueñas M, Ojeda B, Salazar A, Mico JA, Failde I. A review of chronic pain impact on patients, their social environment and the health care system. J Pain Res. 2016;9:457–67. pmid:27418853
- 3. Treede R-D, Rief W, Barke A, Aziz Q, Bennett MI, Benoliel R, et al. Chronic pain as a symptom or a disease: the IASP Classification of Chronic Pain for the International Classification of Diseases (ICD-11). Pain. 2019;160(1):19–27. pmid:30586067
- 4. Rikard SM, Strahan AE, Schmit KM, Guy GP Jr. Chronic Pain Among Adults - United States, 2019-2021. MMWR Morb Mortal Wkly Rep. 2023;72(15):379–85. pmid:37053114
- 5.
Lucas JW, Connor EM, Bose J. Back, lower limb, and upper limb pain among US adults, 2019. 2021.
- 6. Zhang X, Gao R, Zhang C, Chen H, Wang R, Zhao Q, et al. Evidence for Cognitive Decline in Chronic Pain: A Systematic Review and Meta-Analysis. Front Neurosci. 2021;15:737874. pmid:34630023
- 7. Nahin RL, DeKosky ST. Comorbid Pain and Cognitive Impairment in a Nationally Representative Adult Population: Prevalence and Associations With Health Status, Health Care Utilization, and Satisfaction With Care. Clin J Pain. 2020;36(10):725–39. pmid:32740305
- 8. Hunt LJ, Covinsky KE, Yaffe K, Stephens CE, Miao Y, Boscardin WJ, et al. Pain in Community-Dwelling Older Adults with Dementia: Results from the National Health and Aging Trends Study. J Am Geriatr Soc. 2015;63(8):1503–11. pmid:26200445
- 9. Corti EJ, Gasson N, Loftus AM. Cognitive profile and mild cognitive impairment in people with chronic lower back pain. Brain Cogn. 2021;151:105737. pmid:33945940
- 10. Bronheim RS, Cotter E, Skolasky RL. Cognitive impairment is associated with greater preoperative symptoms, worse health-related quality of life, and reduced likelihood of recovery after cervical and lumbar spine surgery. N Am Spine Soc J. 2022;10:100128. pmid:35706693
- 11. Bronheim RS, Kebaish KM, Jain A, Neuman BJ, Skolasky RL. Worsening pain and quality of life for spine surgery patients during the COVID-19 pandemic: Roles of psychological distress and patient activation. N Am Spine Soc J. 2022;9:100103. pmid:35187509
- 12.
Love-Jones SJ. Pain as a subjective, multidimensional experience. Pain: A Review Guide. 2019:141–4.
- 13.
Hooten WM. Chronic pain and mental health disorders: shared neural mechanisms, epidemiology, and treatment. Elsevier. 2016.
- 14. Smitherman TA, Rains JC, Penzien DB. Psychiatric comorbidities and migraine chronification. Curr Pain Headache Rep. 2009;13(4):326–31. pmid:19586598
- 15. Meda RT, Nuguru SP, Rachakonda S, Sripathi S, Khan MI, Patel N. Chronic Pain-Induced Depression: A Review of Prevalence and Management. Cureus. 2022;14(8):e28416. pmid:36171845
- 16. De La Rosa JS, Brady BR, Ibrahim MM, Herder KE, Wallace JS, Padilla AR, et al. Co-occurrence of chronic pain and anxiety/depression symptoms in U.S. adults: prevalence, functional impacts, and opportunities. Pain. 2024;165(3):666–73. pmid:37733475
- 17. Linnemørken LTB, Granan L-P, Reme SE. Prevalence of Posttraumatic Stress Symptoms and Associated Characteristics Among Patients With Chronic Pain Conditions in a Norwegian University Hospital Outpatient Pain Clinic. Front Psychol. 2020;11:749. pmid:32431641
- 18. Siqveland J, Hussain A, Lindstrøm JC, Ruud T, Hauff E. Prevalence of Posttraumatic Stress Disorder in Persons with Chronic Pain: A Meta-analysis. Front Psychiatry. 2017;8:164. pmid:28959216
- 19. Porensky EK, Dew MA, Karp JF, Skidmore E, Rollman BL, Shear MK, et al. The burden of late-life generalized anxiety disorder: effects on disability, health-related quality of life, and healthcare utilization. Am J Geriatr Psychiatry. 2009;17(6):473–82. pmid:19472438
- 20. Kwon C-Y, Lee B. Prevalence of suicidal behavior in patients with chronic pain: a systematic review and meta-analysis of observational studies. Frontiers in psychology. 2023;14:1217299.
- 21. Patel M, Hasoon J, Diez Tafur R, Lo Bianco G, Abd-Elsayed A. The Impact of Chronic Pain on Cognitive Function. Brain Sci. 2025;15(6):559. pmid:40563731
- 22. Seminowicz DA, Moayedi M. The Dorsolateral Prefrontal Cortex in Acute and Chronic Pain. J Pain. 2017;18(9):1027–35. pmid:28400293
- 23. Gartner KE, Rustioni S, Vohra A, Almosawi M, Hill N, Stewart T, et al. A comprehensive review of the supraspinal mechanisms of spinal cord stimulation on chronic pain and cognition. Front Pain Res (Lausanne). 2025;6:1589723. pmid:40792126
- 24. Chen T, Wang J, Wang Y-Q, Chu Y-X. Current Understanding of the Neural Circuitry in the Comorbidity of Chronic Pain and Anxiety. Neural Plast. 2022;2022:4217593. pmid:35211169
- 25. Amodeo G, Magni G, Galimberti G, Riboldi B, Franchi S, Sacerdote P, et al. Neuroinflammation in osteoarthritis: From pain to mood disorders. Biochem Pharmacol. 2024;228:116182. pmid:38556026
- 26. Slevin M, Tero-Vescan A. Monomeric [CRP] and CRP-Controlled Stress and Pain Hypersensitization as Novel Predictors of Cognitive Disturbance and AD in Chronic Inflammatory Disease. Int J Mol Sci. 2025;26(23):11279. pmid:41373439
- 27. Tyrtyshnaia A, Manzhulo I, Egoraeva A, Ivashkevich D. Cognitive and Affective Dysregulation in Neuropathic Pain: Associated Hippocampal Remodeling and Microglial Activation. Int J Mol Sci. 2025;26(13):6460. pmid:40650236
- 28. Eller-Smith OC, Nicol AL, Christianson JA. Potential Mechanisms Underlying Centralized Pain and Emerging Therapeutic Interventions. Front Cell Neurosci. 2018;12:35. pmid:29487504
- 29. Simic K, Savic B, Knezevic NN. Pain Catastrophizing: How Far Have We Come. Neurol Int. 2024;16(3):483–501. pmid:38804476
- 30. Slawek DE, Syed M, Cunningham CO, Zhang C, Ross J, Herman M, et al. Pain catastrophizing and mental health phenotypes in adults with refractory chronic pain: A latent class analysis. J Psychiatr Res. 2022;145:102–10. pmid:34890916
- 31. Rusu AC, Gajsar H, Schlüter M-C, Bremer Y-I. Cognitive Biases Toward Pain: Implications for a Neurocognitive Processing Perspective in Chronic Pain and its Interaction With Depression. Clin J Pain. 2019;35(3):252–60. pmid:30499835
- 32. Cravello L, Di Santo S, Varrassi G, Benincasa D, Marchettini P, de Tommaso M, et al. Chronic Pain in the Elderly with Cognitive Decline: A Narrative Review. Pain Ther. 2019;8(1):53–65. pmid:30666612
- 33. Santos KC, Durkee-Neuman E, Ong A, Sin M-K. Pain Management in Cognitively Impaired Older Adults. Int J Nurs Health Care Res (Lisle). 2024;7(3):1528. pmid:38919605
- 34. Hnatešen D, Radoš I, Dimitrijević I, Budrovac D, Omrčen I, Pavić R, et al. Influence of the Cognitive and Emotional Status of Patients with Chronic Pain on Treatment Success (Reduction in Pain Intensity and Adherence to Pharmacotherapy): A Prospective Study. Int J Environ Res Public Health. 2022;19(23):15968. pmid:36498036
- 35. Gotlib IH, Joormann J. Cognition and depression: current status and future directions. Annu Rev Clin Psychol. 2010;6:285–312. pmid:20192795
- 36. Lima IMM, Peckham AD, Johnson SL. Cognitive deficits in bipolar disorders: Implications for emotion. Clin Psychol Rev. 2018;59:126–36. pmid:29195773
- 37. Wang Y, Meng W, Liu Z, An Q, Hu X. Cognitive impairment in psychiatric diseases: Biomarkers of diagnosis, treatment, and prevention. Front Cell Neurosci. 2022;16:1046692. pmid:36406755
- 38. Li C, Gheorghe DA, Gallacher JE, Bauermeister S. Psychiatric comorbid disorders of cognition: a machine learning approach using 1175 UK Biobank participants. Evid Based Ment Health. 2020;23(4):140–5. pmid:32727815
- 39. Green M, Hayley A, Gunnersen JM, Nazemian V, Cabble A, Thompson S, et al. Transforming Chronic Pain Management: Integrating Neuromodulation with Advanced Technologies to Tackle Cognitive Dysfunction - A Narrative Review. J Pain Res. 2025;18:2497–507. pmid:40395938
- 40. Jaffal SM. Neuroplasticity in chronic pain: insights into diagnosis and treatment. Korean J Pain. 2025;38(2):89–102. pmid:40159936
- 41. Innes KE, Sambamoorthi U. The Potential Contribution of Chronic Pain and Common Chronic Pain Conditions to Subsequent Cognitive Decline, New Onset Cognitive Impairment, and Incident Dementia: A Systematic Review and Conceptual Model for Future Research. J Alzheimers Dis. 2020;78(3):1177–95. pmid:33252087
- 42. Gong T, Yu W, Zhao P, Wu Z, Zhu Y, Gong Q, et al. Chronic pain and cognitive dysfunction: clinical manifestations, underlying mechanisms, and emerging therapeutic strategies. Front Neurosci. 2025;19:1641903. pmid:41195280
- 43. Demyttenaere K, Bruffaerts R, Lee S, Posada-Villa J, Kovess V, Angermeyer MC, et al. Mental disorders among persons with chronic back or neck pain: results from the World Mental Health Surveys. Pain. 2007;129(3):332–42. pmid:17350169
- 44. Palchuk MB, London JW, Perez-Rey D, Drebert ZJ, Winer-Jones JP, Thompson CN, et al. A global federated real-world data and analytics platform for research. JAMIA Open. 2023;6(2):ooad035. pmid:37193038
- 45. Alipour-Vaezi M, McNamara RS, Rukstalis MR, Gentry EC, Rukstalis DB, Penzien DB. Comparative risk of developing interstitial cystitis with childhood gastrointestinal, urological, autoimmune, or psychiatric disorders. Neurourology and Urodynamics. 2023.
- 46. Ludwig RJ, Anson M, Zirpel H, Thaci D, Olbrich H, Bieber K, et al. A comprehensive review of methodologies and application to use the real-world data and analytics platform TriNetX. Front Pharmacol. 2025;16:1516126. pmid:40129946
- 47. Nassar M, Abosheaishaa H, Elfert K, Beran A, Ismail A, Mohamed M, et al. TriNetX and Real-World Evidence: A Critical Review of Its Strengths, Limitations, and Bias Considerations in Clinical Research. ASIDE Intern Med. 2025;1(2):24–33. pmid:40697879
- 48. Alipour-Vaezi M, McNamara RS, Rukstalis MR, Gentry EC, Rukstalis DB, Penzien DB, et al. Comparative Risk of Developing Interstitial Cystitis With Childhood Gastrointestinal, Urological, Autoimmune, or Psychiatric Disorders. Neurourol Urodyn. 2025;44(7):1448–54. pmid:40566828
- 49. CMS.gov. ICD-10: Centers for Medicare & Medicaid Services. https://www.cms.gov/medicare/coding-billing/icd-10-codes?redirect=/ICD10 2023 October 1.
- 50. Hawton K, Saunders K, Topiwala A, Haw C. Psychiatric disorders in patients presenting to hospital following self-harm: a systematic review. J Affect Disord. 2013;151(3):821–30. pmid:24091302
- 51. Rosenbaum PR, Rubin DB. The central role of the propensity score in observational studies for causal effects. Biometrika. 1983;70(1):41–55.
- 52. Kane LT, Fang T, Galetta MS, Goyal DKC, Nicholson KJ, Kepler CK, et al. Propensity Score Matching: A Statistical Method. Clin Spine Surg. 2020;33(3):120–2. pmid:31913173
- 53. Austin PC. A comparison of 12 algorithms for matching on the propensity score. Stat Med. 2014;33(6):1057–69. pmid:24123228
- 54. D’Arrigo G, Leonardis D, Abd ElHafeez S, Fusaro M, Tripepi G, Roumeliotis S. Methods to Analyse Time-to-Event Data: The Kaplan-Meier Survival Curve. Oxid Med Cell Longev. 2021;2021:2290120. pmid:34594473
- 55. Rudy TE, Weiner DK, Lieber SJ, Slaboda J, Boston RJ. The impact of chronic low back pain on older adults: a comparative study of patients and controls. Pain. 2007;131(3):293–301. pmid:17317008
- 56. Kawashima A, Komatsu A, Jin X, Shimada H, Arai H, Saito T. Chronic pain and decline in activities of daily living among community-dwelling older adults: a systematic review of longitudinal studies. Eur Geriatr Med. 2025;16(6):2085–96. pmid:40915988
- 57. Wong AYL, Forss KS, Jakobsson J, Schoeb V, Kumlien C, Borglin G. Older adult’s experience of chronic low back pain and its implications on their daily life: Study protocol of a systematic review of qualitative research. Syst Rev. 2018;7(1):81. pmid:29793522
- 58. Dagnino APA, Campos MM. Chronic Pain in the Elderly: Mechanisms and Perspectives. Front Hum Neurosci. 2022;16:736688. pmid:35308613
- 59. Sheng J, Liu S, Wang Y, Cui R, Zhang X. The Link between Depression and Chronic Pain: Neural Mechanisms in the Brain. Neural Plast. 2017;2017:9724371. pmid:28706741
- 60.
Penzien DB, Smitherman TA, Rains JC. Identifying psychiatric comorbidity in refractory migraine patients. Refractory Migraine: Mechanisms and Management. 2010. p. 80–97.
- 61. Roughan WH, Campos AI, García-Marín LM, Cuéllar-Partida G, Lupton MK, Hickie IB, et al. Comorbid Chronic Pain and Depression: Shared Risk Factors and Differential Antidepressant Effectiveness. Front Psychiatry. 2021;12:643609. pmid:33912086
- 62. Jackson KL, Rumley J, Griffith M, Agochukwu U, DeVine J. Correlating Psychological Comorbidities and Outcomes After Spine Surgery. Global Spine J. 2020;10(7):929–39. pmid:32905726
- 63. Marvel CL, Paradiso S. Cognitive and neurological impairment in mood disorders. Psychiatr Clin North Am. 2004;27(1):19–36, vii–viii. pmid:15062628
- 64. Higgins DM, Martin AM, Baker DG, Vasterling JJ, Risbrough V. The Relationship Between Chronic Pain and Neurocognitive Function: A Systematic Review. Clin J Pain. 2018;34(3):262–75. pmid:28719507
- 65. McCutcheon RA, Keefe RSE, McGuire PK. Cognitive impairment in schizophrenia: aetiology, pathophysiology, and treatment. Mol Psychiatry. 2023;28(5):1902–18. pmid:36690793
- 66. Millan MJ, Agid Y, Brüne M, Bullmore ET, Carter CS, Clayton NS, et al. Cognitive dysfunction in psychiatric disorders: characteristics, causes and the quest for improved therapy. Nat Rev Drug Discov. 2012;11(2):141–68. pmid:22293568
- 67. Diniz BS, Fries GR, Kuo C-L, Xu M, Lenze EJ. Premature aging in serious mental illness. Neuropsychopharmacology. 2026;:10.1038/s41386-026-02322–4. pmid:41548025
- 68. Huang Y, Zhang Z, Lin S, Zhou H, Xu G. Cognitive Impairment Mechanism in Patients with Bipolar Disorder. Neuropsychiatr Dis Treat. 2023;19:361–6. pmid:36798654
- 69. An JH, Lee KE, Jeon HJ, Son SJ, Kim SY, Hong JP. Risk of suicide and accidental deaths among elderly patients with cognitive impairment. Alzheimers Res Ther. 2019;11(1):32. pmid:30975186
- 70. Arnone D, Karmegam SR, Östlundh L, Alkhyeli F, Alhammadi L, Alhammadi S, et al. Risk of suicidal behavior in patients with major depression and bipolar disorder - A systematic review and meta-analysis of registry-based studies. Neurosci Biobehav Rev. 2024;159:105594. pmid:38368970
- 71. Xu YE, Barron DA, Sudol K, Zisook S, Oquendo MA. Suicidal behavior across a broad range of psychiatric disorders. Mol Psychiatry. 2023;28(7):2764–810. pmid:36653675
- 72. Maia da Silva MN, Porto FHdG, Lopes PMG, Sodré de Castro Prado C, Frota NAF, Alves CHL, et al. Frontotemporal Dementia and Late-Onset Bipolar Disorder: The Many Directions of a Busy Road. Front Psychiatry. 2021;12:768722. pmid:34925096
- 73. Digiovanni A, Ajdinaj P, Russo M, Sensi SL, Onofrj M, Thomas A. Bipolar spectrum disorders in neurologic disorders. Front Psychiatry. 2022;13:1046471. pmid:36620667
- 74. Giamarelou A, Polychronopoulos P, Skokou M, Messinis L, Gourzis P. Frontotemporal dementia misdiagnosed as schizophrenia or other psychotic disorder. Eur psychiatr. 2017;41(S1):s812–s812.
- 75. Melugin PR, Nolan SO, Siciliano CA. Bidirectional causality between addiction and cognitive deficits. Int Rev Neurobiol. 2021;157:371–407. pmid:33648674
- 76. Hogans B, Siaton B, Sorkin J. Diagnostic rate estimation from Medicare records: Dependence on claim numbers and latent clinical features. J Biomed Inform. 2023;145:104463. pmid:37517509