Introduction

Depression is a prevalent psychological disease worldwide. A meta-analysis reported an approximately 27.0% prevalence of depressive symptoms in 83 cross-sectional studies (95% confidence intervals [95% CIs] = 24.0–29.0)1. In Korea, about 6.7% of all age population suffered from depression (95% CI = 5.7–7.6)2. Depression increases the risk of several physical illnesses, such as cardiovascular disease, stroke, and diabetes3. The disturbances of metabolism, immune-inflammatory responses, autonomic regulation, and hypothalamic-pituitary-adrenal-axis in depression patients were suggested to be linked with the elevated risk of chronic diseases3. In line with this idea, depression was reported to increase the risk of a number of gastrointestinal diseases4,5. Several prior studies suggested a relationship between depression or psychological stress and gastrointestinal diseases4,5. For instance, reflux oesophagitis was related to stress (odds ratio = 1.94, 95% CI = 1.25–3.02)4.

Peptic ulcer disease is defined as a submucosal injury in the digestive tract, mainly in the stomach and proximal duodenum6. The prevalence of peptic ulcer disease is approximately 5–10%, with a decreasing tendency worldwide due to a attenuation of Helicobacter pylori infection and anti-acid medications7,8. In Korea, approximately 5.6% of the adult population has peptic ulcer disease9. In addition to H. pylori infection and the chronic nonsteroidal anti-inflammatory drug medications, the possible pathophysiological causes of peptic ulcer disease include the hypersecretion of acidic contents, dietary factors, and stress6. Peptic ulcers have been associated with psychological stress, schizophrenia and anxiety10,11,12. Peptic ulcer patients showed higher odds for anxiety disorders (adjusted odds ratio [AOR] = 4.41, 95% CI = 1.82–10.61) and stress (AOR = 1.11, 95% CI = 1.01–1.23)10,12. In addition, peptic ulcer patients had 1.47 times higher odds for depression (95% CI = 1.19–1.82)9. Inflammation and the disease burdens of pain, poor quality of life, and stress in peptic ulcer patients were presumed to contribute to the elevated risk of depression in peptic ulcer patients9. In addition to genetic factors, depression is induced by stress-related hypercortisolemia13. Thus, the stress from disease burden, pain, and poor quality of life could increase the risk of depression14.

Therefore, it can be postulated that depression and peptic ulcer diseases have a reciprocal relationship. However, few studies have evaluated the bidirectional relation between depression and peptic ulcer disease. We hypothesized that peptic ulcer disease might elevate the risk of depression and that depression elevates the risk of peptic ulcer disease. The high rate of depression in peptic ulcer patients in previous cross-sectional studies could be due to the mutual relationship between depression and peptic ulcers. To prove this hypothesis, this study investigated two independent follow-up cohort studies using control groups matched for demographic factors.

Results

Study I

The 30.1 months (SD = 39.3) and 35.4 months (SD = 31.4) were followed in the depression group and the control I group, respectively. The rate of peptic ulcers was 8.9% (2,703/30,306) and 7.3% (8,896/121,224) in the depression group and the control group (P < 0.001, Table 1). The demographic factors were comparable between two groups (P = 1.000). The Charlson comorbidity index (CCI) was different between the depression and control I groups (P < 0.001). The depression group demonstrated 1.14 of adjusted HR for peptic ulcers (95% CI = 1.09–1.19, P < 0.001, Table 2 and Fig. 1(a)).

Table 1 General Characteristics of Participants.
Table 2 Crude and adjusted hazard ratios (95% confidence interval) of depression for peptic ulcer (Study I), and peptic ulcer for depression (Study II).
Figure 1
figure 1

Kaplan-Meier survival analysis. (a) The group with depression had a higher cumulative rate of peptic ulcers than the control I group. (b) The group with peptic ulcers had a higher cumulative rate of depression than the control II group.

The <40-year-old men, the <40-year-old women, and the 40–59-year-old women subgroups showed high adjusted HRs for peptic ulcer (P < 0.001, Table 3).

Table 3 Subgroup analyses of crude and adjusted hazard ratios (95% confidence interval) of depression for peptic ulcer according to age and sex.

Study II

The 53.2 months (SD = 37.8) and 53.4 months (SD = 38.4) were followed in the peptic ulcer group and the control II group, respectively. The rate of depression was 6.4% (8,144/127,590) and 3.5% (4,515/127,590) in the peptic ulcer group and the control II group (P < 0.001, Table 1). The demographic factors were identical between two groups (P = 1.000). The CCI was different between the peptic ulcer and control II groups (P < 0.001). The peptic ulcer group demonstrated 1.68 of adjusted HR of depression (95% CI = 1.62–1.74, P < 0.001, Table 2 and Fig. 1(b)).

The peptic ulcer group showed high adjusted HRs of depression in all subgroup analyses (P < 0.001, Table 4).

Table 4 Subgroup analyses of crude and adjusted hazard ratios (95% confidence interval) of peptic ulcer for depression according to age and sex.

Discussion

Depression and peptic ulcer disease demonstrated a reciprocal relationship with one another. Depression was associated with the elevated the risk of peptic ulcer disease (adjusted HR = 1.14, 95% CI = 1.09–1.19, P < 0.001). On the other hand, peptic ulcer disease was related with the elevated the risk of depression (adjusted HR = 1.68, 95% CI = 1.62–1.74, P < 0.001). These associations were maintained in most age and sex subgroups. This is the first study to demonstrate the bidirectional relationship between depression and peptic ulcers. In addition, this study used control groups matched for demographic factors, and past medical histories were rigorously adjusted using the CCI. The previous studies also mentioned an association between depression and peptic ulcers5,9,15. A nationwide cohort study described that the depression patients had 1.35 times higher risk of peptic ulcer (95% CI = 1.29–1.42)5. Another cross-sectional study reported elevated odds of depression in peptic ulcer patients9. However, neither study matched the control group for the income and region of residence. Because both depression and peptic ulcers are related to the income and region of residence, these factors should be even between the study and control groups16,17. In addition, causality could not be concluded due to a cross-sectional study design9. In contrast, a cross-sectional study described no relation between depression and peptic ulcer disease15. The nonsignificant relationship between depression and peptic ulcer disease might have originated from the small sample of 30 peptic ulcer patients in that cohort population15. This study improved previous findings by using a large cohort, matched control groups, and a bidirectional study design. The bidirectional association between depression and peptic ulcer could improve the medical care of both depression and peptic ulcer patients by evaluation or management of both diseases concurrently. For instance, the medically resistant peptic ulcer patients could have untreated depression, and vice versa.

The mutual interplay between the gut and brain in immune and hormonal systems could influence the risk of peptic ulcer disease in depression patients and vice versa18. The immune dysfunction following the consistent activation of the hypothalamic-pituitary-adrenal axis in depression patients could elevate the risk of peptic ulcer disease. Indeed, decreases in T-cell and natural-killer-cell activities were reported in depression patients19. Corticotropin-releasing hormone (CRH), which is elevated in depression patients, increases gastrointestinal permeability by recruiting mast cells20. This hyperactivation of the hypothalamic-pituitary-adrenal axis in depression patients also indirectly influences peptic ulcer disease by disturbing the immune system19. Moreover, several other neuropeptides of substance P, opioids, oxytocin, and prolactin are released during stress and depression, which induces gastric mucosal hypoperfusion and gastric hypomotility21. Conversely, peptic ulcer disease increases the expression of neuropeptides of substance P and its receptors, thereby elevating the risk of depression22. In addition, peptic ulcer disease was related to immune dysfunction characterized by the downregulation of regulatory T cells and T helper cell functions23,24. Therefore, these hormonal and immune perturbations in peptic ulcer patients could be attributed to the occurrence of depression.

The poor diet quality induced by depression could elevate the risk of peptic ulcers. Poor diet quality was related to depression in a meta-analysis study25. An abnormally high-fat diet is associated with oesophageal acid exposure and gastro-oesophageal reflux, which elevate the risk of peptic ulcer disease26,27. Moreover, the unbalanced diet that is often associated with depression patients may influence the gut microbiota, which increases the risk of peptic ulcer disease28. On the other hand, chronic gastric pain and stress related to the disease burden of peptic ulcer disease could elevate the risk of depression. Chronic pain was reported to change the endocannabinoid system, which affects neurotransmission and neuroendocrine systems29.

The reciprocal relationship between depression and peptic ulcer disease was consistent according to age, sex, and duration of follow-up. The impact of depression on peptic ulcers and the impact of peptic ulcers on depression were maintained in short-term follow-up as well as in long-term follow-up of up to 3 years. The adjusted HRs of depression for peptic ulcers were 1.33 (95% CI = 1.24–1.43) for a follow-up period < 1 year, 1.24 (95% CI = 1.12–1.37) for 2 years, and 1.21 (95% CI = 1.07–1.36) for 3 years (P < 0.001 for each comparison, Table, Supplemental Digital Content 1). On the other hand, the adjusted HRs of peptic ulcers for depression were 1.46 (95% CI = 1.34–1.60) for a follow-up period <1 year, 1.86 (95% CI = 1.67–2.07) for 2 years, 2.02 (95% CI = 1.80–2.28) for 3 years, and 1.66 (95% CI = 1.59–1.74) for ≥4 years (P < 0.001 for each comparison, Table, Supplemental Digital Content 2).

This study used a large cohort population. In addition, several possible confounders were matched or adjusted. Both depression and peptic ulcer are associated with numerous covariates3,10,11,12. Although each possible confounder could be adjusted as covariates, the high number of variables might result in a multicollinearity of multiple variable. Therefore, we calculated CCI as single covariate in this study. This study was based on health insurance data. Thus, the disease classifications were made by physicians, which improved the accuracy of the diagnoses. On the other hand, there was a possibility of selection bias if there were differences in medical accessibility between the study and control groups. To prevent selection bias, this study included a control group matched with the study group for the income and region of residence as well as other demographic factors. In addition, the severity and medication histories of depression and peptic ulcers were not classified in this study. The depression group included bipolar disorder patients. Finally, information on the lifestyle factors of stress, dietary habits, obesity, smoking, and alcohol consumption was not available in the NHIS-NSC data. To estimate the potential influence of the lifestyle factors on depression and peptic ulcer, E-value was calculated in this study30,31,32. The E-value was 1.54 in study I and 2.75 in study II. These E-values were higher than previously reported E-values of smoking for depression (1.21)33 and obesity for depression (2.15)34, although E-value of alcohol consumption for depression was 3.4135. For peptic ulcer, the E-value was 1.18 of obesity, 2.08 of alcohol consumption, 2.34 of smoking, and 2.90 of use of nonsteroidal anti-inflammatory drug36,37. Further study considering these covariates could delineate the bidirectional association between depression and peptic ulcer after adjusting lifestyle factors.

To sum up, depression and peptic ulcers had reciprocal association.

Materials and Methods

Study population and data collection

The ethics committee of Hallym University approved this study (2017-I102, date approval: September 5, 2017). All methods were performed in accordance with the guidelines and regulations of the ethics committee of Hallym University. The university’s institutional review board waived the requisite for written informed consents. The study protocol conforms to the ethical guidelines of the 1975 Declaration of Helsinki as reflected in a priori approval by the institution’s human research committee.

The Korean National Health Insurance Service-National Sample Cohort (NHIS-NSC) was used for this national cohort study. The explanation on these data was detailed in our prior studies38,39.

Participant selection

The individuals with depression were selected among 1,125,691 patients with 114,369,638 medical claim codes. The ICD-10 codes from F31 (bipolar affective disorder) to F33 (recurrent depressive disorder) were categorized as depression from 2002 to 2013. The depression patients who visited clinics for ≥2 times were included in this study (n = 42,370).

Peptic ulcers were categorized based on the ICD-10 codes from K25 (gastric ulcer) to K27 (peptic ulcer, site unspecified) diagnosed by the physician who conducted the endoscopy. Among these participants, the patients who were treated ≥2 times were included in this study (n = 133,349).

Study I

The control I participants who had not depression between 2002 and 2013 were matched 4:1 with the depression patients. From the total population (n = 1,083,321), the control I participants were matched with depression patients for age, sex, income, and region of residence. The control participants were assigned a random number order and then chose in consecutive order to minimize selection bias. The index date was defined as the date of the diagnosis of depression. The exclusion criteria were as follows; the control participants who died before the index date, the participants with peptic ulcers before the index date. To calculate the occurrence of depression after diagnosis of peptic ulcer, we excluded the 8,268 participants who were diagnosed as depression before the peptic ulcer. The un-matched depression patients with the control participants were removed (n = 56). In addition, the participants under 20 years old were removed (n = 3,740). The mean follow-up time was comparable between the depression (77.5 months, standard deviation [SD] = 44.0) and control I groups (78.4 months, SD = 43.9). Lastly, the 30,306 of depression participants and 121,224 control I participants were included (Fig. 2(a)). The occurrence of peptic ulcers were investigated in both the depression and control I groups.

Figure 2
figure 2

(a) A schematic illustration of the participant selection process used in the present study. Among a total of 1,125,691 individuals, 30,306 depression patients were matched with 121,224 control I participants based on age group, sex, income group, region of residence, and prior medical history. (b) Schematic illustration of the participant selection process that was used in the present study. From a total of 1,125,691 participants, 127,590 peptic ulcer patients were matched with 127,590 control II participants based on age group, sex, income group, region of residence, and past medical histories.

Study II

The control II participants who had not peptic ulcer were matched 1: 1 with peptic ulcer patients. The matching process was identical with study I. The 2,743 peptic ulcer participants who had histories of peptic ulcer before index date were excluded. The un-matched peptic ulcer patients with control II participants were excepted (n = 7). In addition, the participants who were under 20 years old were removed (n = 3,009). The mean follow-up time was comparable between peptic ulcer (98.3 months, SD = 38.3) and control II groups (97.7 months, SD = 38.6). Lastly, the 127,590 peptic ulcer patients and 127,590 control II participants were included (Fig. 2(b)). The occurrence of depression was investigated in both the peptic ulcer and control II groups.

Variables

The age groups were divided into 14 age groups. The income groups were classified as 5 classes. The region of residence was classified as urban and rural areas.

The comorbidities were selected using ICD-10 codes. The 16 comorbidities before the index date, except for peptic ulcers, were evaluated using CCI (0 [no comorbidity] through 28 [multiple comorbidities])40. CCI was used as a continuous variable.

Statistical analyses

The rate of demographic factors and comorbidities of the depression and control groups (study I) and between the peptic ulcer and control groups (study II) were analysed using a chi-square test.

The hazard ratio (HR) of depression (independent variable) for the development of peptic ulcers (dependent variable) (study I) and the HR of peptic ulcers (independent variable) for the development of depression (dependent variable) (study II) were analysed using a stratified Cox-proportional hazards model. The matched variables were stratified. Crude (simple) and adjusted (CCI) models were analysed. The 95% CI was counted. A Kaplan-Meier curve and log rank test were calculated.

To evaluate the different association according to age and sex, the participants were sub-grouped by age (20–39, 40–59, and 60+ years) and sex (men and women). Another subgroup analysis was conducted according to the follow-up periods.

Two-tailed analyses were performed. The statistical significance was considered as P < 0.05. The SPSS v. 21.0 (IBM, Armonk, NY, USA) was used for analysis.