Introduction

Systemic Lupus Erythematosus (SLE) is a chronic autoimmune disease with diverse clinical manifestations1. Gender, ethnicity, age of onset, and socioeconomic class strongly influence the occurrence of SLE, with large geographic differences in reported incidence and prevalence2,3. The contributions of genetic variation, immunity, the female hormone, and sex chromosomes have been extensively discussed in research4. There are also many studies exploring the association between SLE and female-specific disease.

Endometriosis is also a chronic multifactorial disease associated with systemic inflammatory response, affecting women of reproductive age and causing a huge clinical burden of chronic pelvic pain, abnormal uterine bleeding, and infertility5,6. Multiple articles suggest that female sex hormones may affect the maintenance of immunity or the development of autoimmune diseases7,8.

Epidemiological studies suggest a strong link between endometriosis and female-dominated autoimmune disease9,10. Several published studies have also analyzed the risk of SLE in women with endometriosis, but not all findings support a significant association between the two diseases11,12,13,14,15. According to a recent meta-analysis, only a few studies under review can provide high-quality evidence to support a significant association between endometriosis and SLE. Due to the small size of most of the included studies, the potential for spurious associations is high, and their limited statistical power also neutralizes important associations found in other well-designed large studies in meta-analyses. Furthermore, some of the included studies were cross-sectional and case–control studies, possibly biased by suboptimal control selection16. Therefore, we conducted a nationwide retrospective cohort study to assess the risk of endometriosis in women diagnosed with SLE by age matching methods and also adjusted by the degree of urbanization, status of income, and co-morbidities.

Methods

Study population

This study had a retrospective cohort design (Fig. 1). The primary data were from the Taiwan National Health Insurance Research Database (NHIRD), which is a public database with de-identified participant data. The National Health Insurance (NHI) program in Taiwan has been launched in 1995. The 2000 longitudinal health insurance research database (2000 LHIRD) comprised 1,000,000 beneficiaries who were stratified sampled by age and sex from the population covered by the NHI system (23,753,407 individuals, 99% of populations in Taiwan) in the year 2000. Therefore, there were no differences in the percentages of gender and ages between NHIRD and LHIRD. In 2000 LHIRD, Physicians recorded diagnosis codes based on the International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM). Bureau of National Health Insurance validated all claims data to ensure accuracy. In this study, we used the 1997–2013 claim data in the 2000 LHIRD database without missing data. Because our research focused on gender-specific diseases, we only selected women for analysis. This study got an approval letter from the Institutional Review Board (IRB) of the Affiliated Chung Shan Medical University Hospital (CSMUH) before it started. They agreed to waive informed consent.

Figure 1
figure 1

Flowchart of enrollment of the SLE cohort and the non-SLE cohort from the Longitudinal Health Insurance Database, 1997–2013.

Study cohort and identification of SLE

We identified a total of 2832 women with documented SLE diagnoses (ICD-9 code 710.0) between 1997 and 2013 as the SLE cohort and defined the index date as the first diagnosis of SLE. Representation of SLE patients by ICD-9 codes alone still lacks validation. To ensure an accurate diagnosis, the SLE cohort had to have an SLE diagnosis within one year of hospital admission or two or more outpatient visits. In this design, the secondary diagnosis of SLE was a clue to the accuracy of SLE diagnosis. From this aspect, the first diagnosis of SLE should be the index date (Fig. 2). In this study, observations were made between 1997 and 2013, and left-censored and truncated data may have biased estimates of causal effects17,18. To reduce this bias, we excluded prevalent SLE patients diagnosed with SLE before 2000 (n = 734) and patients with endometriosis (ICD-9: 617) diagnosed before the index date (n = 116). In addition, we wanted to rule out the effect of surgery on the female organs and the possibility that the patient already had endometriosis-related diseases or cancer. Therefore, we excluded patients who had undergone gynecological surgery related to endometriosis, adnexa, uterus, or gynecological cancer (Supplementary Table S1) before the index date (n = 52).

Figure 2
figure 2

Diagram of follow-up from index date for SLE patients and matched comparators.

Outcome and potential confounders

We defined the primary outcome as the diagnosis of endometriosis. The diagnostic code for endometriosis (ICD-9: 617) may be derived from clinical evidence or surgical intervention. According to the definition of endometriosis diagnosis, the surgery that allows direct visualization and pathology reporting is the gold standard for diagnosis. Because not every patient with underlying endometriosis is a candidate for surgical intervention, a diagnosis based on clinical evidence alone should not be underestimated. However, validation of the NHIRD database for endometriosis diagnoses is lacking. To strengthen the clinical evidence for endometriosis, we included only women with at least one documented hospital admission or two outpatient visits. Since the surgical diagnosis may lead to diagnostic delay and underestimation, we used surgical diagnosed endometriosis as a surrogate outcome for sensitivity analysis. We defined surgically diagnosed endometriosis as a patient with an endometriosis diagnostic code and a record of gynecologic or obstetric surgery related to the ovary or uterus. We tracked all individuals in the SLE and non-SLE groups from the index date until the event of endometriosis or the end of this study. We considered endometriosis diagnosed between the first and second SLE diagnosis to be a real event and do not exclude it to avoid unnecessary exclusion. Therefore, follow-up starts from the index date of these patients and matched comparators (Fig. 2). The medium follow-up time for the SLE group and age-matched non-SLE group was 92 and 88 months, respectively.

We defined factors that may be associated with endometriosis or SLE as potential confounders, including demographic variables (urbanization and low income), length of hospital stay, and comorbidities2,6,7,16,23. We identified the length of hospitalization and co-morbidities within one year before the index date and distinguished the degree of urbanization into urban, suburban, and rural24. We divided the length of hospital stays into four categories: 0 days, 1–6 days, 7–13 days, and more than 14 days. The co-morbidities we considered were hypertension, diabetes, hyperlipidemia, coronary artery disease, chronic liver diseases, chronic renal failure, cancer, vaginitis and vulvovaginitis, depression, and pelvic inflammatory disease19,20,21,22 (Supplementary Table S2).

Comparison individuals

The non-SLE cohort included women who were not diagnosed with SLE between 1997 and 2013 (n = 479,715). We individually matched the non-SLE population with the SLE population in a ratio of 4:1 according to the age on the index date. Matched non-SLE patients and their matched SLE patients have the same index date and the same exclusion criteria. To balance baseline characteristics and minimize potential confounding bias, we performed propensity score matching (PSM) analysis via PROC PSMATCH in SAS software, selecting one SLE and two non-SLEs via a greedy nearest neighbor algorithm with 0.01 calipers. Propensity scores for SLE were estimated using logistic regression with predicted variables including age, urbanization, length of hospital stay, and comorbidities.

Statistical analysis

We used absolute standardized difference (ASD) to present differences in socio-demographic characteristics (such as age, urbanization, and income), length of hospital stay, baseline comorbidities, and concomitant medication between the two groups. The concomitant medication we identified was between one year before and three months after the index date and included systemic corticosteroids, NSAIDs (excluding aspirin), aspirin, hydroxychloroquine, azathioprine, sulfasalazine Sulfapyridines, proton pump inhibitors (PPIs), histamine-2 (H2) inhibitors, and statins. When the ASD is less than 0.125, we can regard the difference between the two groups as small. The incidence density rate and its 95% CI of endometriosis were calculated.

We also plotted the cumulative incidence curves of endometriosis between the two groups using the Kaplan–Meier method and determined differences in these curves by the log-rank test. We employed multivariate Cox proportional hazards regression models to assess adjusted HR (aHR) and crude HR (cHR) and associated 95% CIs of newly diagnosed endometriosis in the SLE group compared with the non-SLE group. Covariates employed in the multivariate model included age, urbanization, low income, length of hospital stay, and comorbidities. To assess possible study bias due to over-adjustment, we performed a multivariate Cox regression adjusted for baseline age, urbanization, and low income, and a multivariate Cox regression adjusted for baseline age, urbanization, low income, and comorbidities.

We performed a stratified analysis to assess statistical interactions26. Retrospective observational studies have limited us to finding new diagnoses of endometriosis in populations that are too young (right-censored) or old (left-censored or truncated). Therefore, we performed an age subgroup analysis to examine the incidence rate or risk of endometriosis. The aHR was calculated for specific age groups including < 20, 20–29, 30–44, and ≥ 45 years. In addition, we also stratified aHR by urbanization and co-morbidities to see if the association of SLE with endometriosis was at particular risk in specific populations.

Given the limitations of the retrospective design, we hoped to assess the data quality and correctness of diagnostic codes and reduce erroneous findings due to misclassification. Therefore, we performed a sensitivity analysis to see if the results would change significantly under different definitions. In terms of endometriosis, the diagnostic credibility of endometriosis is more acceptable for women undergoing surgical intervention. Hence, we defined patients with a diagnosis of endometriosis after gynecologic surgery as a secondary outcome and assessed adjusted hazard ratios for incidence in the study and control populations. We performed a landmark analysis and set a landmark time point at 24 months to explore the potential time-varying effects of SLE on endometriosis. We assessed the aHR and 95% CI for newly diagnosed endometriosis between index date and landmark time point and after the landmark time point in the SLE and non-SLE groups, respectively27. All statistical analyses were performed using SAS Version 9.4 (SAS Institute, Carey, North Carolina, USA). All methods are performed following relevant guidelines and regulations and confirmed in the STROBE checklist (Supplementary Table S3).

Ethical approval

This study got an approval letter from the Institutional Review Board (IRB) of the Affiliated Chung Shan Medical University Hospital (CSMUH) before it started. They agreed to waive informed consent.

Results

This study consisted of 1930 SLE patients and 7720 non-SLE patients in the 1:4 matched groups. After PSM, patients in the SLE group (n = 193) and the non-SLE group (n = 4246) who did not meet the matching criteria were excluded. Ultimately, there were 1732 SLE patients and 3474 non-SLE patients in the 1:2 PSM group. Table 1 shows the baseline characteristics among study groups. There was no significant difference in age, urbanization, low-income status, and some co-morbidities including hypertension, diabetes, and hyperlipidemia between control and SLE groups, regardless of before and after PSM (ASD < 0.1). In the 1:4 matched groups, patients with SLE had a higher proportion of hospitalization records and co-morbidities including coronary artery disease, chronic liver disease, chronic renal failure, cancer, vaginitis, vulvovaginitis, and depression compared with non-SLE patients (ASD > 0.1). In both of 1:4 matching and 1:2 PSM groups, patients with SLE had a higher proportion of usage of co-medication including systemic corticosteroids, NSAID, aspirin, hydroxychloroquine, azathioprine, sulfasalazine, PPI, and H-2 inhibitor (ASD > 0.1).

Table 1 Baseline characteristics among study groups.

Table 2 shows the incidence rate (per 10,000 person-months) of endometriosis before PSM was 4.92 (95% CI 3.97–6.11) in the SLE group and 3.51 (95% CI 3.10–3.98) in the non-SLE group, respectively. The crude relative risk was 1.41 (95% CI 1.10–1.80) in the SLE group compared to the non-SLE group before PSM. After PSM, the crude relative risk was 1.20 (95% CI 0.91–1.58) and was not significant. In the multiple-variables regression adjusted with age, urbanization, and low income, the adjusted HR was 1.41 (95% CI 1.10–1.81). The patients with SLE had a 1.32 (95% CI 1.02–1.70) times higher risk of endometriosis after adjusting for sex, age, urbanization, length of hospitalization, and co-morbidities than the individuals without SLE before propensity score matching. The relative risk of endometriosis was 1.20 (95% CI 0.91–1.58) in patients with SLE compared with the propensity score-matched non-SLE individuals. The cumulative incidence curves of endometriosis were plotted by the Kaplan–Meier method and the SLE cohort showed a higher cumulative incidence of endometriosis than that of the non-SLE cohort in the 1:4 age matching group (Fig. 3).

Table 2  Incidence of endometriosis in study groups.
Figure 3
figure 3

The cumulative incidence curves of endometriosis were plotted by the Kaplan–Meier method.

We also conducted a subgroup analysis stratified by age, degree of urbanization, and co-morbidities to clarify the interactions and effects of SLE on endometriosis in each subgroup (Table 3). The result showed that patients with SLE had significant higher risk of endometriosis in the sub-group including age between 30 and 44 years (aHR 1.46, 95% CI 1.03–2.08), lived in rural areas (aHR 3.25, 95% CI 1.51–7.00), without diabetes (aHR 1.32, 95% CI 1.02–1.71), without hyperlipidemia (aHR 1.33, 95% CI 1.02–1.73), without coronary artery diseases (aHR 1.33, 95% CI 1.02–1.72), without chronic liver diseases (aHR 1.35, 95% CI 1.03–1.77), without chronic renal failure (aHR 1.32, 95% CI 1.02–1.70), without cancer (aHR 1.30, 95% CI 1.00–1.69) and without depression (aHR 1.44, 95% CI 1.10–1.90). However, we did not find a significant interaction between SLE exposure and other factors on endometriosis risk.

Table 3 Stratified analysis of endometriosis risk between SLE and non-SLE groups before propensity score matching.

Table 4 represents the sensitivity analysis and the landmark analysis. It shows that the aHR in the first 24 months was non-significant 1.17 (95% CI 0.67–2.04), but 24 months after the first diagnosis of SLE, the aHR was modified to significant 1.45 (95% CI 1.08–1.95). However, the P for time-varying is not significant (time-varying p = 0.4224). When we defined endometriosis as a patient with an ICD-9 code of endometriosis and undergoing gynecological surgery, the increased risk of endometriosis in patients with or without SLE is not significant.

Table 4 Sensitivity analysis of endometriosis risk in SLE and non-SLE patients.

Discussion

This nationwide retrospective cohort study revealed a statistically significant association between SLE and endometriosis. After adjusting for age, urbanization, low-income status, length of hospitalization, and co-morbidities, the aHR of endometriosis for SLE patients was 1.32 (95% CI 1.02–1.70). However, after further PSM, the aHR of endometriosis for SLE patients was not significant (1.20, 95% CI 0.91–1.59). In addition, when we limit the diagnosis of endometriosis to patients who have undergone surgery, its correlation with SLE is not significant.

According to the meta-analysis reported by Shigesi et.al, the major problem of current epidemiological studies regarding the association between endometriosis and autoimmune diseases is the limited case number. Due to limited statistical power, this may lead to a non-significant result. Other issues are suboptimal control selection and the difficulty in determining the order of disease progression and manifestation16. In our study, we used the cohort study design and PSM to analyze the risk of endometriosis. After analyzing the baseline characteristics between the study groups (Table 1), we can conclude that patients with SLE have a significantly higher rate of co-morbidities and medication usage in the age-matched group before PSM. The PSM can minimize the potential confounding bias by measuring co-variates. However, overmatching could also leads to biased conclusions. The procedure of PSM excluded the patients with extreme propensity scores might decrease the sample size and statistic power, and might increase the homogeneity between groups. From this perspective, age-matched non-SLE individuals were more likely general individuals. Based on the result before propensity score matching, the risk of endometriosis was significantly elevated in the cohort of women with SLE compared with the age-matched general cohort of women. After PSM, the sample size was reduced and a control group that was different from the general population was also selected.

Because of the limitation of non-invasive diagnostic tools for endometriosis, it is impossible to know exactly how many patients have endometriosis. Vice versa, the diagnostic code for endometriosis based on clinical symptoms and physical examination may also include patients who do not have endometriosis. Since surgical exploration is the standard diagnostic method for endometriosis, from the perspective of epidemiological research, it is more convincing to use the surgical code of endometriosis-related diseases to identify patients with endometriosis16. However, not all patients diagnosed with endometriosis require surgery. Therefore, patients with endometriosis who have never undergone surgery will be omitted, leading to underpowered results. The aHR (1.24, 0.86–1.79) of SLE patients with endometriosis and gynecological surgery is not significant, which may also be due to the small sample size and statistical power.

Endometriosis and SLE are both diseases that occur months to years before clinical diagnosis. According to our study, SLE patients have a higher incidence of being diagnosed with endometriosis in the future. The Kaplan–Meier curve in Fig. 2 shows the crude relative risk of endometriosis in SLE patients in the age-matched group is significantly increased when compared with non-SLE patients. Landmark analysis in Table 4 also shows that after 24 months from the index date, the incidence of endometriosis represented an upward trend. The association of SLE with endometriosis did not change significantly over time, as the time-varying P-value did not show significance. However, such results should also remind us that there is a significant delay in the diagnosis of endometriosis. The burden of endometriosis in SLE patients still requires special attention.

Table 4 also shows that SLE patients between the ages of 30 and 44 had a higher incidence of endometriosis compared with non-SLE patients. An epidemiological study in northeastern Italy showed a relatively high incidence of endometriosis and adenomyosis between the ages of 30 and 5024, which was comparable to our results. However, we did not find a significant moderating effect of age on the association between SLE and endometriosis (the p-value for interaction was not significant).

One of the limitations of our study is the possible misclassification of cases in the study cohort, as well as data validation. Further study about data verification for the diagnosis of SLE and endometriosis from NHIRD is still required. When dealing with this problem, we screen patients according to the actual situation of medical treatment. For hospitalized patients, patient-related diagnoses will be withheld due to the team review mechanism. For outpatients, more than one visit can indirectly illustrate the need for medical attention and the authenticity of the diagnosis. Another question is whether one diagnosis affects another. Immunosuppressed women with SLE may not be able to undergo extensive surgery or may not need surgery due to the use of medication to improve symptoms. Therefore, we can hypothesize that when an endometriosis diagnosis requires surgery, these patients may be underestimated as ineligible for surgery due to other medical problems. In addition, as the population of this study is only Taiwan residents, our results might only apply to East Asia populations if SLE varies by race or ethnicity. The lack of information about birth history, menopausal status, or history of hormone therapy can also affect and confound our findings. Another limitation is that SLE patients have a higher rate of medication usage and those medications are specific to SLE patients and cannot be adjusted. Because data from healthcare databases were not from randomized trials, drug use may be associated with differences in disease severity. Therefore, it is difficult for this study to assess the actual mediating effect of the drug. The treatment for SLE also varies according to the severity and clinical manifestations of the disease. We still need another study to assess the effect of drugs on these two diseases and to find out whether different drugs in SLE patients affect the development of endometriosis.

The advantages of our research include a large population-based cohort study and 13 years of follow-up, effective diagnostic codes for endometriosis, and methods for defining SLE that can reduce the possibility of misclassification and underestimation, as well as time assumption. The 1:4 age matching design and patients selection methods we used are suitable for adjusting confounding factors without loss of representativeness of the general population. Taken together, the framework we used in this study helped us to obtain a sufficient number of cases and reliable confidence intervals.

Conclusion

In conclusion, the risk of endometriosis was significantly higher in SLE patients than in general populations. Further prospective studies of patients newly diagnosed with SLE, including long-term follow-up and careful gynecological evaluations, are important for clarification.