Background

Psychiatric disorders are common comorbidities among patients with cancer [1] and may contribute to increased morbidity [2] and mortality [3, 4] after cancer diagnosis. In a previous study, we reported a highly increased risk of common psychiatric disorders, including depression, anxiety, and stress-related disorders, namely post-traumatic stress disorder (PTSD), acute stress reaction, adjustment disorder, and other stress reactions, among cancer patients, especially during the first year after cancer diagnosis [5]. Underlying reasons for such increased risk may include a severe stress response after receiving cancer diagnosis [6,7,8] and psychiatric symptoms caused by cancer treatment [9, 10], pain [11], and inflammation [12, 13]. Inflammation in the tumor micro-environment drives tumor development and progression [14] and cancer patients have a high burden of cancer-induced systemic inflammation [15].

Inflammation has been suggested to be involved in the development of depression [16] and other psychiatric disorders [17]. For instance, inflammatory cytokines have been shown to influence neurocircuitry in the brain through the consequence of neurotransmitter signaling [18], including a cascade of behavioral and immune responses that might lead to depression, anxiety [19], and PTSD [19, 20] among vulnerable individuals. Although the link between inflammation and psychiatric disorders has been less explored among patients with cancer, chronic inflammatory disorders have been reported to be risk factors for depression and anxiety among cancer patients [21].

Non-steroidal anti-inflammatory drugs (NSAIDs) are commonly prescribed for pain and inflammation. The anti-inflammatory actions of NSAIDs include inhibition of cyclooxygenase (COX) activity and prostaglandin synthesis [22]. Due to its non-competitive and irreversible acetylation of COX, aspirin is different from non-aspirin NSAIDs in terms of indications and adverse effects [23]. A recent meta-analysis of 26 relatively small randomized clinical trials suggested that NSAIDs play an antidepressant role in patients with major depressive disorder and are reasonably safe [24]. Preclinical studies indicate that the use of aspirin is associated with a lower risk of depression in the general population [25], and among patients with stroke [26] or osteoarthritis [27]. There is, however, a lack of evidence in this regard among cancer patients and on psychiatric disorders other than depression. Our recent preclinical study showed that low-dose aspirin might counteract the inflammation-related cognitive impairment in a mouse model of breast cancer [28]. It is therefore plausible that aspirin may help to prevent inflammation-related psychiatric disorders among cancer patients.

To this end, we performed a nationwide register-based study in Sweden to investigate the role of pre-diagnostic use of NSAIDs, especially aspirin, in the risk of depression, anxiety, and stress-related disorders following cancer diagnosis. Our hypothesis was that pre-diagnostic use of NSAIDs, especially aspirin, is associated with a decreased risk of depression, anxiety, and stress-related disorders following cancer diagnosis, compared with no use of NSAIDs.

Methods

Study design

From the Swedish Cancer Register [29], we identified 338,009 patients that were diagnosed with a first primary malignancy between July 1, 2006, and December 31, 2013. Through cross-linkages with the Swedish Causes of Death Register, Migration Register, and Patient Register, we followed these patients individually from the date of cancer diagnosis until death, emigration from Sweden, or 1 year after cancer diagnosis, whichever came first, using the Swedish personal identity numbers. We focused on the first year after cancer diagnosis because the risk of psychiatric disorders appears to be highest immediately after cancer diagnosis [5]. Patients were excluded from the analysis if they had conflicting information (i.e., died or emigrated before cancer diagnosis) (n = 982), or were diagnosed at autopsy (n = 2336). Because we aimed at assessing the risk of newly diagnosed psychiatric disorders, patients with preexisting depression, anxiety, or stress-related disorder before cancer diagnosis ascertained since 1973 onward according to the Patient Register [30] were also excluded (n = 17,787), leaving 316,904 patients in the final analysis (Fig. 1). We hypothesized the newly onset depression, anxiety, and stress-related disorders after cancer diagnosis might be more closely related to cancer-related inflammation and the psychological stress patients experienced after receiving a cancer diagnosis.

Fig. 1
figure 1

Flowchart of the study design. NSAIDs, non-steroidal anti-inflammatory drugs

Pre-diagnostic use of NSAIDs

We linked the cohort of cancer patients to the Swedish Prescribed Drug Register, which contains information on all prescribed medications that are dispensed in Sweden since July 2005 [31]. The vast majority of prescribed medications are subsidized with a celling of co-payment in Sweden. Medications are coded according to the Anatomical Therapeutic Chemical (ATC) Classification System in this register. We identified all records of NSAIDs (aspirin: N02BA01, N02BA51, B01AC06; non-aspirin NSAIDs: M01A) dispensed within 365 days before cancer diagnosis. Patients were then classified into the mutually exclusive categories “no use of NSAIDs,” “use of aspirin alone,” “use of non-aspirin NSAIDs alone,” or “use of both.” We also grouped the medications by cyclooxygenase selectivity. Aspirin, flurbiprofen, ketoprofen, fenoprofen, tolmetin, and oxaprozin were defined as COX-1 selective NSAIDs, whereas coxibs, meloxicam, etodolac, mefenamic acid, and diclofenac were defined as COX-2 selective NSAIDs. Nonselective NSAIDs and use of both categories were collapsed into an additional group.

As aspirin is the most frequently used NSAID, and our animal study suggested its protective role in cognitive well-being in a mouse model of breast cancer [28], we specifically studied aspirin and categorized the use of aspirin according to recency of use, daily dose, and duration of use. Recency of use was defined by the time between cancer diagnosis and last dispensation during 365 days before cancer diagnosis, and classified as “previous use” if the last dispensation was more than 90 days before cancer diagnosis or “current use” if no more than 90 days. The information of daily dose was extracted from the prescription text, and a mean daily dose was calculated from the prescribed daily dose of each dispensation. The daily dose was then categorized as low (20–150 mg), medium (151–300 mg), or high (> 300 mg). Duration of use was defined as the number of days that patients were supplied with aspirin, as estimated by the total dispensed dose divided by the mean daily dose. We defined a patient as a long-term user if the estimated duration was 300 days or more (the median of all duration values). Possible regimens of aspirin use, combining information on recency, dose, and duration, were also examined.

Post-diagnostic depression, anxiety, and stress-related disorders

Through the Patient Register, we identified all patients with an inpatient or outpatient hospital visit that resulted in a diagnosis of psychiatric disorders [International Statistical Classification of Diseases and Related Health Problems 10th Revision (ICD-10): F10-F99] during the follow-up (from date of cancer diagnosis until up to 1 year after cancer diagnosis). We then limited the analysis to three groups of psychiatric disorders that are common among cancer patients [32, 33] and potentially related to inflammation [34], including (1) depression disorders (ICD-10: F32, F33), (2) anxiety disorders (ICD-10: F40, F41), and (3) stress-related disorders, namely PTSD, acute stress reaction, adjustment disorder, and other stress reactions (ICD-10: F43).

Covariables

Information on age at diagnosis, date of diagnosis, cancer type, and cancer stage was obtained from the Cancer Register. We studied the most common cancer types, including prostate cancer, breast cancer, gastrointestinal cancers, lung cancer, skin cancer, kidney and bladder cancers, gynecological cancers, hematological malignancies, and other less common cancers including tumor of the central nervous system. Using the European Network of Cancer Registries Condensed TNM Scheme and International Federation of Gynecology and Obstetrics (FIGO) staging system, we classified non-hematological malignancies as localized limited (T-localized/N0/M0 or FIGO 0-I), localized advanced (T-advanced/N0/M0 or FIGO II), regional spread (any T/N+/M0 or FIGO III), distant metastasis (any T/any N/M+ or FIGO IV), and unknown stage. “Mx” was regarded as “M0” because “Mx” is commonly used when there are no clinical indications of distant metastasis.

We calculated chronic disease score based on the medications used during the year before cancer diagnosis, as a comorbidity measure [35, 36]. We excluded psychiatric medications, anti-inflammatory drugs, and analgesics from this calculation because they are related to the outcome and exposure of interest in the present study. We also ascertained potential indications for NSAID use through the Patient Register and classified them as cardiovascular diseases (ICD-10: G45.9, I00–02, I05–09, I20–21, I30, I32–33, I38–40, I63, I65.2, I80–83, I88, Z95), inflammatory musculoskeletal conditions (ICD-10: M05–19, M45–46, M60, M65), inflammatory systemic diseases (ICD-10: M30–36), and pain and fever (ICD-10: F45.4, G43–44, G50.0–50.1, M25.5, M54.5, M54.9, M79.1, N94.4, R50.8–50.9, R51–52). We further linked the cohort to the Longitudinal Integrated Database for Health Insurance and Labour Market Studies (LISA) [37] for ascertainment of various potential confounders, including educational level, occupation, region of residence (east, south, and north according to the first-level Classification of Territorial Units for Statistics), and marital status at cancer diagnosis.

Statistical analysis

We described baseline characteristics of the cancer patients according to their levels of NSAID use. We calculated the incidence rates (IRs) of depression, anxiety, and stress-related disorders by diving the number of patients that received a diagnosis of such disorders by the accumulated number of person-years during follow-up. We then investigated the rate of the studied disorders in relation to the different levels of NSAID use using Cox proportional hazards models. In the Cox models, the “time to event” data were used by setting the date of cancer diagnosis (from the Cancer Register) as the time when an individual started being at risk for the outcome, the date of diagnosis of depression, anxiety, or stress-related disorder (from Patient Register) as the time of event, and the earliest date among death (from the Causes of Death Register), emigration (from the Migration Register), and 1 year after cancer diagnosis as the time of censoring if no event happened. We adjusted for age at cancer diagnosis, sex, calendar year of cancer diagnosis, educational level, occupation, place of residence, marital status, and comorbidity in model 1 and additionally adjusted for indications for NSAID use in model 2. We created one dummy variable per indication of NSAID use. In model 3, we further adjusted for cancer type and cancer stage. We first analyzed all studied disorders together and then analyzed separately depression, anxiety, and stress-related disorders. We then focused on aspirin and studied the effect of recency of use, daily dose, duration of use, and combined regimens of aspirin use. To calculate stratum-specific HRs, we fitted separate models for each level of sociodemographic factors, comorbidity, indications for use, and cancer characteristics for aspirin use as well as for current, low-dose, and long-term aspirin use. To test for effect modification by these variables, we included interaction terms between NSAID use and these variables in the multivariable models and used Wald tests to test the statistical significance of the estimated interaction terms (for one exposure and one stratification variable at a time).

Because patients with other psychiatric disorders might be more likely to use NSAIDs and at higher risk of studied disorders after cancer diagnosis, we performed a sensitivity analysis where cancer patients with any pre-existing psychiatric disorders before cancer diagnosis were excluded. Additionally, as patients with gastrointestinal symptoms might avoid the use of NSAIDs and might have a higher risk of depression, anxiety, and stress-related disorders in general, we conducted another sensitivity analysis where we stratified the analysis by use of proton pump inhibitors, defined through at least two dispensations, within 1 year before cancer diagnosis. In all analyses, time since cancer diagnosis was used as the underlying timescale. We used Schoenfeld residuals to test the proportional hazards assumption for the main exposure (i.e., NSAID use) in all models and found no major deviation from the assumption.

The statistical analyses were performed using SAS, version 9.4, SAS Institute and Stata, version 16, StataCorp LP. We used a two-sided P < 0.05 to indicate statistical significance.

Results

Among the 316,904 patients included in the analysis, the median age at cancer diagnosis was 68 years and 53.4% were male. 58,761 (18.5%) of these patients used aspirin alone and 49,059 (15.4%) used non-aspirin NSAIDs alone during the year before cancer diagnosis (Fig. 1). Cancer patients who used aspirin alone were more likely to be male, older, less educated, were less likely to be working, had more comorbidities, and were more likely to have a deceased partner, compared with patients who did not use any NSAIDs (Table 1). Compared with no users, aspirin users were more likely to have cardiovascular disease, whereas non-aspirin NSAID users were more likely to have inflammatory musculoskeletal conditions such as arthritis.

Table 1 Baseline characteristics of cancer patients at the time of cancer diagnosis by exclusive use of NSAIDs

Types of NSAID use and risk of depression, anxiety, and stress-related disorders

A total of 5613 patients received a diagnosis of depression, anxiety, and stress-related disorders during the year after cancer diagnosis. Compared with no NSAID use, the use of aspirin alone was associated with a lower rate of the studied disorders in all models (HR, 0.88; 95% CI, 0.81 to 0.97 in model 3 with adjustment for sociodemographic factors, comorbidity, indications, and cancer characteristics) (Table 2). Similar results were found for depression, anxiety, and stress-related disorders separately (Supplementary Table S1). In contrast, the use of non-aspirin NSAIDs alone was associated with an increased rate of the studied disorders (Table 2 and Supplementary Table S1), compared with no NSAID use. We did not find an association between the use of both aspirin and non-aspirin NSAIDs and the studied disorders. The sensitivity analyses showed similar results after excluding patients with any pre-existing psychiatric disorders (Supplementary Table S2) or after stratifying the analysis by use of proton pump inhibitors within 1 year before cancer diagnosis (Supplementary Table S3).

Table 2 Hazard ratios (95% confidence intervals) of depression, anxiety, and stress-related disorders during the year after cancer diagnosis, in relation to pre-diagnostic use of NSAIDs

A lower rate of depression, anxiety, and stress-related disorders, although not statistically significant, was suggested for use of COX-1 selective NSAIDs (HR, 0.93; 95% CI, 0.85–1.01) compared with no NSAID use (Supplementary Table S4). The use of COX-2 selective NSAIDs was associated with a higher rate (HR, 1.26; 95% CI, 1.15–1.38) of the studied disorders compared with no NSAID use. A combined use of COX-1 selective, COX-2 selective, and nonselective NSAIDs was associated with a moderately increased rate of the studied disorders.

Recency, daily dose, and duration of aspirin use

The association of aspirin with reduced rate of depression, anxiety, and stress-related disorders was primarily noted among current users (HR, 0.84; 95% CI, 0.75 to 0.93), low-dose users (HR, 0.88; 95% CI, 0.80 to 0.98), and long-term users (HR, 0.84; 95% CI, 0.76 to 0.94) (Table 3). Among commonly combined regimens, individuals with a combination of current, low-dose, and long-term aspirin use had the lowest rate of the studied disorders after cancer diagnosis (HR, 0.77; 95% CI, 0.68 to 0.87).

Table 3 Hazard ratios (95% confidence intervals) of depression, anxiety, and stress-related disorders during the year after cancer diagnosis in relation to pre-diagnostic exclusive use of aspirin, analysis by recency of use, daily dose, and duration of use

Subgroup analysis and effect modification

The magnitude of the inverse association of aspirin use alone with the rate of depression, anxiety, and stress-related disorders was greater among females than males, among patients who lived in the east of Sweden than patients who lived in other parts of Sweden, among patients with cardiovascular disease than patients without cardiovascular disease, and among breast cancer patients than patients with other cancer types (all P values for interaction < 0.05) (Table 4). The association did not, however, differ by calendar period of cancer diagnosis, age, educational level, marital status, occupation, comorbidity, other indications for NSAID use, or cancer stage. Similar result patterns were found for current use, long-term use, and low-dose use of aspirin.

Table 4 Hazard ratios (95% confidence intervals) of depression, anxiety, and stress-related disorders during the year after cancer diagnosis in relation to pre-diagnostic exclusive use of aspirin, stratified analysis by different factors

Discussion

To the best of our knowledge, this nationwide register-based cohort study is the first to examine the association of prior NSAID use with the risk of depression, anxiety, and stress-related disorders after cancer diagnosis. The study included all patients with newly diagnosed cancer in Sweden between July 2006 and December 2013 and found that aspirin use, especially long-term and low-dose use, shortly before cancer diagnosis was associated with a reduced rate of depression, anxiety, and stress-related disorders during the first year after cancer diagnosis. Non-aspirin NSAID use, on the other hand, was associated with a higher rate of depression, anxiety, and stress-related disorders.

The different results for aspirin and non-aspirin NSAIDs are consistent with recent studies of depression in the general population [25] and among patients with stroke [26]. We further extended the knowledge to other common psychiatric disorders, including anxiety and stress-related disorders (namely PTSD, acute stress reaction, adjustment disorder, and other stress reactions). The different results for aspirin and non-aspirin NSAIDs are also biologically plausible. Accumulating evidence supports the role of COX-1 inhibition in attenuating neuroinflammation, leading to protection against inflammatory brain damage [28, 38, 39]. In contrast, COX-2 inhibitors have been shown to augment nitro-oxidative and oxidative stress in the brain [40], and to interfere with the resolution of inflammation by decreasing the negative immunoregulator Prostaglandin E2 [41], thereby aggravate neuroinflammation. Consistent with this, selective COX-2 inhibitors have also been related to increased psychiatric symptoms including depression, anxiety, and changes in cognition [42]. Taken together, COX-1, rather than COX-2 inhibition, might be the key factor in blocking neuroinflammation [38]. Our findings that COX-2 selective NSAID use was associated with a higher risk of common psychiatric disorders compared with nonselective NSAID use also supports this hypothesis. Aspirin selectively inhibits COX-1, particularly at a low dose [38]. As the majority of aspirin is used at low dose, the observed protective effect of aspirin on the studied disorders is likely driven by COX-1 inhibition. The null association of high-dose aspirin may on the other hand be due to additional inhibition of COX-2 [25]. In contrast, although non-aspirin NSAIDs have mixed selectivity, they are mostly selective for COX-2 inhibition or non-selective, possibly leading to the observed harmful effect of non-aspirin NSAIDs on these psychiatric disorders. This was however partly inconsistent with the findings of a recent meta-analysis that found celecoxib to have an antidepressant effect when added to traditional antidepressants [24]. One possible explanation for the contradictory findings might be the fact that we studied newly onset depression, anxiety, and stress-related disorders after cancer diagnosis whereas Bai et al. studied the treatment effort on prevalent depression [24].

We further found that current, long-term, and low-dose aspirin use was associated with the lowest rate of depression, anxiety, and stress-related disorders after cancer diagnosis. Current and long-term aspirin use reflects persistent anti-inflammatory activity, in addition to low-dose use with enhanced inhibition of COX-1. The stratified results by cancer stage showed clear evidence for an inverse association between aspirin and the studied disorders in most stages of cancer, apart from distant metastatic cancer. Furthermore, the effect of aspirin was more pronounced among females, in line with the proposed female-specific impact of low-dose aspirin in anti-inflammation [43]. The stronger association noted for females might alternatively be attributable to the stronger findings among breast cancer patients, which corroborates with our preclinical findings using animal models [28]. The underlying reasons for the stronger association among patients with breast cancer, compared with patients with other cancers, remain unknown. This finding, together with the fact that patients with breast cancer have indeed the highest prevalence of depression among patients of different cancer types [33], highlights a potentially specific role of inflammation in breast cancer-related depression [44].

The strength of the study includes the nationwide population-based study design, independent collection of information on drug exposures and psychiatric disorders, the comprehensive information of covariables, and thorough statistical analysis including multivariable adjustments for potential confounders. Common systemic and random errors are therefore minimized. Some potential limitations of the study should, however, still be noted. The Prescribed Drug Register does not include information on medications used over the counter or in hospitals and nursing homes. We speculate however that this is non-differential between individuals that would later receive a cancer diagnosis and subsequently also a diagnosis of depression, anxiety, and stress-related disorders and individuals that would not receive a diagnosis of psychiatric disorders after being diagnosed with cancer. Such misclassification would therefore most likely have diluted the magnitude of the studied association. Also, this should not have affected the results on aspirin use greatly because low-dose aspirin is mostly prescribed in Sweden [45]. Further, because of its observational nature, residual confounding due to unknown and unmeasured confounders may exist. Patients with a pre-existing psychiatric disorder might be more likely to use NSAIDs and at higher risk of depression, anxiety, and stress-related disorders after cancer diagnosis. We therefore excluded patients with any psychiatric disorders—in addition to patients with depression, anxiety, and stress-related disorders—prior to cancer diagnosis and observed similar results. However, the exclusion of these patients was likely incomplete because not all patients with psychiatric disorders attend health care. Similarly, we investigated the role of gastrointestinal symptoms, which could indicate high stress levels and reduced NSAID use, by stratifying the analysis by use of proton pump inhibitors during the year before cancer diagnosis and found again similar results.

Conclusions

Aspirin use, especially current, long-term, and low-dose use, was associated with a decreased risk of depression, anxiety, and stress-related disorders following cancer diagnosis, while the use of non-aspirin NSAIDs was associated with an increased risk, compared with no use of NSAIDs. Our findings call for pre-clinical research in examining the underlying mechanisms of low-dose aspirin and depression, anxiety, and stress-related disorders after cancer diagnosis and, if confirmed in further studies, provide a rationale for randomized clinical trials.