Introduction

Epilepsy is a disorder of the brain characterized by an enduring predisposition to seizures1. In the United States, approximately 2.5 million people have epilepsy, and it contributes to $12.5 billion in direct and indirect costs each year2. Although the cause of epilepsy is not completely understood, some risk factors have been identified, such as genetic conditions, abnormalities in brain development, stroke, head injuries, infections, tumors, or brain damage during or after birth3.

Diabetes is the most common metabolic and endocrine disease, affecting 6.9% of people in the United States4. It has been estimated that at least 20% of American adults over the age of 18 will have diabetes by the year 20505. Microvascular and macrovascular complications are the major causes of death and disability in people with diabetes6,7. Diabetes is also one of the determinants for perioperative complications and mortality in both cardiac and non-cardiac surgeries8,9.

Previous studies have shown that patients with diabetes have a higher predisposition to develop epilepsy10,11. In contrast, the risk of diabetes in patients with epilepsy is not completely understood due to limitations of previous investigations, such as inappropriate study design, small sample size, and inadequate adjustment for confounding factors12,13,14,15,16. In addition, the impact of epilepsy on the outcomes after diabetes has not been validated. Using the reimbursement claims of the Taiwan National Health Research Database, we conducted this study included two analyses to investigate the risk and outcomes of diabetes in patients with epilepsy.

Methods

Source of data

In this study, we used the research data of the representative sample included one million persons in the Taiwan’s National Health Insurance. Details of this database were described in the previous studies9,17,18,19. There is no direct human participation in this study. Our study was approved by the Joint Institutional Review Boards of Taipei Medical University (TMU-JIRB-201801059; TMU-JIRB-201701050; TMU-JIRB-201912046). The Joint Institutional Review Boards of Taipei Medical University waived the need for informed consent of this study. All methods were carried out in accordance with relevant guidelines and regulations.

Study design

There were two analyses in the present investigation. In Analysis I (the retrospective cohort analysis), we excluded data from individuals with previous medical histories of diabetes and/or epilepsy from 1996 to 1999 in the cohort included 1,000,000 persons. The cohort with incident epilepsy included 2854 adults aged ≥ 20 years who were identified in the 2000–2008. These patients had at least one visit of outpatient or inpatient care for epilepsy. We used propensity-score matching procedure by sociodemographic factors and medical conditions at the same study time interval to select 22,832 adults as the cohort without epilepsy and all of them had no medical history of epilepsy. Therefore, members of both the cohorts with and without epilepsy had no history of diabetes at the beginning of follow-up period. We started the follow-up period in 2000 and it continued until the end of 2013. Incident cases of diabetes were identified during the follow-up period. The aim of this analysis was to evaluate the risk of diabetes in patients with epilepsy.

In Analysis II, we identified 92,438 patients with admission of types 2 diabetes admission in 2004–2013, 930 of them had epilepsy previously. We compared the short-term outcomes between diabetes patients with and without epilepsy including complications, the consumption of medical resources, and the case fatality within 30 days during or after hospitalization.

Definitions and measurements

People with low income were identified according to the definition of the Ministry of Health and Welfare, Taiwan. Physicians’ diagnostic codes from the International Classification of Diseases, Ninth Revision, Clinical Modification (ICD-9-CM) were used to define diseases and morbidities in this study, such as diabetes (250) and epilepsy (345). Coexisting medical conditions included mental disorders (290–319), hypertension (401–405), chronic obstructive pulmonary disease (491, 492, and 496), head injury (800–804 and 850–854), stroke (430–438), ischemic heart disease (410–414), asthma, hyperlipidemia (272.0, 272.1, and 272.2), liver cirrhosis (571.2, 571.5, and 571.6), heart failure (428), and atrial fibrillation (427.3). Post-diabetes complications included septicemia (038 and 998.5), pneumonia (480–486) and urinary tract infection (599.0). Renal dialysis included hemodialysis and peritoneal dialysis were also recorded by the administrative code (D8 and D9).

Statistical analysis

In Analysis I, we used a propensity-score matching procedure (exposure vs nonexposure ratio = 1:8) to select patients with and without epilepsy. A non-parsimonious multivariable logistic regression model was used to estimate a propensity score for patients with and without epilepsy. Clinical significance guided the initial choice of covariates in this model to include age, sex, low income, mental disorders, hypertension, chronic obstructive pulmonary disease, traumatic brain injury, stroke, ischemic heart disease, asthma, hyperlipidemia, liver cirrhosis and heart failure. We matched people with epilepsy to people without epilepsy using a greedy matching algorithm (without replacement) with a caliper width of 0.2 SD of the log odds of the estimated propensity score. The chi-square tests were used to examine the distributions of categorical data, including such as (age, sex, low income, and history of diseases) between people with and without epilepsy. Using the multiple Cox proportional hazards models, the hazard ratios (HRs) with 95% confidence intervals (CIs) for diabetes risk in the cohort with epilepsy were calculated with the adjustment of all covariates. The stratified analyses were used to evaluate the risk of diabetes in patients with epilepsy within subgroups.

In Analysis II, differences in the balances of age, sex, low income, history of diseases, and medications between diabetes patients with and without epilepsy were examined using chi-square tests. We performed multiple logistic regressions to estimate odds ratios (ORs) and 95% CIs of complications and mortality after diabetes in patients with epilepsy by adjusting for sociodemographic factors and history of diseases. All significance tests were two-sided using p < 0.05 as the level of significance. All data analyses were performed with SAS, version 9.1 (SAS Institute Inc., Cary, NC, USA) statistical software.

Results

The distributions of age, sex, low income, mental disorders, hypertension, chronic obstructive pulmonary disease, traumatic brain injury, stroke, ischemic heart disease, asthma, hyperlipidemia, liver cirrhosis and heart failure were balanced between cohorts with and without epilepsy because propensity-score matching was used in the Analysis I (Table 1).

Table 1 Characteristics of study subjects with and without epilepsy.

The cohort with epilepsy had a higher incidence of diabetes than the non-epilepsy cohort (10.3 vs. 8.19 per 1000 person-years, P < 0.0001) and the corresponding HR of diabetes associated with epilepsy was 1.31 (95% CI 1.14–1.50) during the follow-up period (Table 2). In the subgroup analysis, the association between epilepsy and risk of diabetes was significant in women (HR 1.23, 95% CI 1.01–1.51), men (HR 1.38, 95% CI 1.15–1.65), and those aged 30–39 years (HR 1.66, 95% CI 1.09–2.52), 50–59 years (HR 1.45, 95% CI 1.10–1.91), and 70–79 years (HR 1.45, 95% CI 1.04–2.00).

Table 2 Risk of diabetes in association with epilepsy stratified by age and sex.

Among the 92,438 patients with diabetes admission (Table 3), patients with epilepsy had higher proportions of males (P < 0.0001), older people (P < 0.0001), low income (P < 0.0001), stay in medical center (P < 0.0001), mental disorders (P < 0.0001), stroke (P < 0.0001), chronic obstructive pulmonary disease (P < 0.0001), ischemic heart disease (P = 0.001), traumatic brain injury (P < 0.0001), liver cirrhosis (P < 0.0001), asthma (P = 0.0476), congestive heart failure (P = 0.0314), and atrial fibrillation (P = 0.0156) compared with non-epilepsy patients.

Table 3 Characteristics of hospitalized diabetes patients with and without previous epilepsy.

Table 4 shows that patients with epilepsy had a higher risk of urinary tract infection (OR 1.51, 95% CI 1.37–1.67), pneumonia (OR 1.68, 95% CI 1.37–2.07), and septicemia (OR 1.34, 95% CI 1.09–1.65) after diabetes admission compared with those without epilepsy in the Analysis I.

Table 4 Adverse outcomes after diabetes admission in patients with epilepsy*.

The supplemental file (Table S1) demonstrates that the risk of diabetes was more significant in patients with epilepsy who had alcohol-related illness (HR 1.64, 95% CI 1.12–2.40). The epilepsy-related clinical indicators also had impacts on post-diabetes adverse events, such as generalized seizure (OR 1.42, 95% CI 1.02–1.98), low income (OR 1.80, 95% CI 1.18–2.74), emergency care (OR 1.81, 95% CI 1.41–2.34), and traumatic brain injury (OR 1.59, 95% CI 1.09–2.33).

Discussion

Using the data from the Taiwan’s National Health Insurance, our Analysis I showed patients with epilepsy had an increased risk of diabetes during the follow-up period. In the Analysis II, we found the increased risk of pneumonia, urinary tract infection, and septicemia in patients with diabetes who had a history of epilepsy. Our investigation is the first population-based study showing the associated risk and outcomes of diabetes for patients with epilepsy.

Age, gender, and low income are known factors associated with diabetes20,21,22. Several medical conditions, such as hypertension, mental disorders, ischemic heart disease, chronic obstructive pulmonary disease, asthma, renal dialysis, and stroke also commonly coexist with diabetes9. The abovementioned diseases have also been identified as common comorbidities of epilepsy in previous studies12,13,14,15,16. These factors were potential confounders when analyzing the association between epilepsy and risk of diabetes. To avoid confounding bias when investigating this relationship, we adjusted these sociodemographic factors and coexisting medical conditions in the multivariate regression models.

There are some possible reasons that may explain why patients with epilepsy had increased risk and adverse outcomes of diabetes. First, it has been reported that patients with epilepsy have increased cortisol levels23,24. Generalized neuronal discharge of a seizure stimulates the hypothalamus either directly, through specific neurotransmitter changes, or through the release of other substances24. The activation of the hypothalamus–pituitary–adrenal axis causes elevated cortisol. Hypercortisolism is responsible for the occurrence of dyslipidemia, insulin intolerance, and diabetes25. Subclinical hypercortisolism may also contribute to the risk of diabetes26. Second, people with epilepsy exercise less and tend to be more obese27. Social stigma and concerns for injury discourage patients with epilepsy from exercise and activity. Concomitant somatic and psychological diseases also limit their participation in physical activity. Anti- epilepsy drugs can also stimulate appetite and cause lethargy, thereby contributing to weight gain28, which is a common risk factor for diabetes. Third, epilepsy is highly associated with psychiatric disease13,14,16. Depression and antipsychotic medications are known risk factors for diabetes29,30. Fourth, patients with epilepsy are more likely to have low socioeconomic status, which may limit their knowledge, attitude, and practice for caring for impaired glucose homeostasis31.

Our results showed epilepsy increases the risk of diabetes, which aligns with the findings of previous studies12,13,14,15,16. However, little is known about the effect of gender on the association between epilepsy and diabetes. In a further analysis of this study, we found that the impact of epilepsy on risk of diabetes is significant in both male and female populations. Moreover, alcohol-related illness, severe mental disorder, low income, and emergency care for epilepsy further increase the risk of diabetes. This finding is reasonable because individuals with those factors usually have poor epilepsy control32.

Our analysis also showed that patients with epilepsy have a higher risk of diabetes, except those who are older than 60 years of age. This phenomenon may be because the incidence of diabetes in the non- epilepsy group is lower among young people, therefore making the effect of epilepsy more prominent. Another possible explanation is that epilepsy severity decreases with age33, making the impact of epilepsy on other diseases less evident in the elderly group.

In the Analysis II investigating in-hospital adverse outcomes, we found that the numbers of post-diabetes infections in patients with epilepsy are significantly higher than those without epilepsy. Although these findings have not been reported previously, one study of adverse postoperative outcomes in patients with epilepsy showed similar results17. Epilepsy and related comorbidities are also responsible for increased risk of community-acquired pneumonia34. Epilepsy itself is known to increase the risk of aspiration pneumonia due to increased oral secretions, impaired swallowing mechanism, and difficulty in attaining adequate patient positioning35. Use of anti-epilepsy drugs also increases the risk of infection. Although the mechanism is unclear, anti-epilepsy drugs decrease the production of some proinflammatory cytokines, which might facilitate and worsen infection36. We considered that the possibility that the difference of adverse events after diabetes admission between the epilepsy group and the non-epilepsy group could simply reflect the difference of events between the epilepsy group and the non-epilepsy group not related to diabetes. This is because adverse events, such as pneumonia and urinary tract infection, are not specific events to diabetes.

We also found that patients with epilepsy who had low income, alcohol-related disease, severe mental disorder, emergency care for epilepsy, and traumatic brain injury were at an increased risk of diabetes. This is reasonable because those patients typically have poor self-care and epilepsy control.

To the best of our knowledge, the present study is the first investigations reporting that epilepsy increases the risk of diabetes and poor post-diabetes outcomes. Previously, it was known that patients with epilepsy face a mortality rate 1.4–9.7 times greater than that of the general population37,38. Causes of mortality include the underlying neurologic cause of epilepsy (stroke and cancer), sudden unexpected death in epilepsy, status epilepticus, consequence of seizure attack (accident, drowning, and aspiration pneumonia), suicide, and iatrogenic death37,38. The impact of diabetes on patients with epilepsy could be more pronounced than that of other diseases because poor glycemic control and hyperglycemia are themselves associated with the severity of seizures in human and animal studies39,40. This finding implies that epilepsy and diabetes have reciprocal effects and that poor control of both diseases can result in a vicious cycle.

This study has some limitations. First, the National Health Research Database lacks information on laboratory data, clinical examinations, socioeconomic factors, and lifestyle and thus those factors were not considered as covariates in this study. Second, the duration and severity of epilepsy are not available from the database. Thus, we could not analyze the severity-related effects of epilepsy on diabetes. Third, people with minor or well-controlled epilepsy may not consult a doctor. However, if epilepsy is associated with diabetes, this misclassification would lead to underestimation of the association between epilepsy and diabetes risk. In addition, although we adjusted for several major potential confounders, residual confounding effects are always possible. Finally, the use of retrospective data in this study could not confirm the causal inference for the association between epilepsy and diabetes risk. This study is based on the database in Taiwan, which means the generalizability to other races or countries is uncertain.

In conclusion, we investigated patients with epilepsy had an increased risk of diabetes and adverse post-diabetes outcomes. This study provided a comprehensive assessment of diabetes risk and short-term outcomes in patients with epilepsy. Since epilepsy is associated with diabetes and uncontrolled diabetes aggravates epilepsy, diabetes prevention is important in patients with epilepsy. Strategies for prevention such as education, healthier lifestyles, better access to medical service, and control of comorbidities are needed.