Introduction

Dementia is one of the major global health problems. In Taiwan, the prevalence is up to 8% among those aged ≧ 65 in community studies [1, 2]. There are 35.6 million people worldwide who have dementia, with 7.7 million new cases being diagnosed each year, and the incidence continues to rise with the aging population [3]. It is, therefore, considered a heavy burden to family members, caregivers, and society [4,5,6].

Herpes simplex virus (HSV) infections in non-genital or genital regions are considered as common viral blister diseases [7, 8]. In previous studies, HSV infections have also been reported to be related to Alzheimer dementia [9,10,11]. Nonetheless, a nationwide, population-based, matched cohort study is still needed to clarify the association between HSV infections and dementia. Furthermore, we have also carried out this study to investigate whether treatment with anti-herpetic medications could attenuate the risk of developing dementia in patients with HSV infections.

Methods

Data Sources and Ethics

The National Health Insurance (NHI) Program was launched in Taiwan in 1995, and as of June 2009, it included contracts with 97% of the medical providers with approximately 23 million beneficiaries, or more than 99% of the entire population [12]. The NHIRD includes comprehensive data on inpatient care, ambulatory care, dental care, and prescription drugs availed by the insured as well as their sex and date of birth. Pursuant to the Personal Information Protection Act, individual identifiers are encrypted before release for research. The diagnoses recorded in the NHIRD are coded according to the International Classification of Disease, Ninth Revision, Clinical Modification (ICD-9-CM). All diagnoses of dementia were made by board-certified psychiatrists or neurologists, and HSV infections were confirmed by dermatologists or infection specialists according to the clinical, laboratory, and imaging findings. In Taiwan, the diagnosis, differential diagnosis from herpes zoster, and typing of HSV was based on the results of serum examinations including ELISA, antibody test or PCR in each individual case. The identification of HSV infection using insurance claims dataset was valid and has been used in previous studies [13,14,15]. Licensed medical records technicians verified the coding before claiming the reimbursements in hospitals and clinics. The NHI Bureau appoints several senior external specialists in neurology, psychiatry, dermatology or infection medicine for randomly reviewing the records of ambulatory care visits and inpatient claims to verify the accuracy of the diagnoses [16]. In this study, we used data from the NHIRD to investigate the association between subjects with HSV infections and dementia over a 10-year period, from the total outpatient and inpatient Longitudinal Health Insurance Database (LHID) in Taiwan (2000-2010). This study was approved by the Institutional Review Board of the Tri-Service General Hospital (TSGH IRB No. 1-104-05-145). Because the patient identifiers were encrypted before their data were used for research purposes to protect confidentiality, the requirement for written or verbal consent from patients for data linkage was waived.

Study Design and Sampled Participants

This study used a matched cohort design. From the LHID, we identified the 8362 subjects as being ≧ 50 years old with newly diagnosed HSV infections, that were selected from January 1, to December 31, 2000, according to ICD-9-CM codes 054: including genital HSV (ICD-9-CM 054.1, HSV-2) and non-genital HSV (ICD-9-CM 054.xx other than 054.1, HSV-1) infections. Each enrolled HSV patient was required to have made at least three outpatient visits within the one-year study period for symptomatic HSV infections according to these ICD-9-CM codes. The date of the HSV infection diagnosis was defined as the index date. For each patient with HSV infection, three controls without a history of HSV infections, which were frequency-matched for the exact age, sex, and index year in the control group (N = 25,086), were enrolled in this study. In addition, patients diagnosed with dementia or HSV infections before 2000 or before the first visit for HSV infections, and all patients aged < 50 were excluded. Data on the usage of anti-herpetic medications, such as acyclovir, famciclovir, ganciclovir, idoxuridine, penciclovir, tromantadine, valaciclovir, and valganciclovir, were collected.

The data of the defined daily dose (DDD) were obtained from the WHO Collaborating Centre for Drug Statistics Methodology (https://www.whocc. no/), and the duration of the usage of anti-herpetic medications was calculated by dividing the cumulative doses by the DDD of the anti-herpetic medications.

While we analyzed the effects on the risk of dementia between the two subgroups with or without anti-herpetic treatment, the sample was divided by the covariates with reference to previous studies using the NHIRD, about the treatment effects of medication associated with the risk of dementia [17,18,19].

Covariates

The covariates included sex, age group (50-64, ≥ 65 years), geographical area of residence (north, center, south, and east of Taiwan), urbanization level of residence (levels 1 to 4), levels of hospitals as medical centers, regional and local hospitals, and monthly income (in New Taiwan Dollars [NT$]; < 18,000, 18,000-34,999, ≥ 35,000). The urbanization level of residence was defined according to the population, along with various indicators of the level of political, economic, cultural, and metropolitan development. Level 1 was defined as a population of > 1,250,000, and a specific designation as political, economic, cultural, and metropolitan development. Level 2 was defined as a population between 500,000 and 1,249,999, and as playing an important role in the political system, economy, and culture. Urbanization levels 3 and 4 were defined as a population between 149,999 and 499,999, and < 149,999, respectively [20].

The Charlson comorbidity index (CCI) is the most widely used comorbidity index [21, 22]. There are 22 conditions in the CCI [23], and three of these conditions are risk factors for AD: diabetes, cerebrovascular disease, and hemiplegia (stroke) [24]. Comorbidities were assessed using the CCI, which categorizes comorbidities using the ICD-9-CM codes, scores each comorbidity category, and combines all scores to calculate a single comorbidity score. A score of zero indicates that no comorbidities were found, and higher scores indicate higher comorbidity burdens [25].

Study Outcomes

All study participants were followed from the index date until the onset of dementia (ICD-9-CM codes: 290.0, 290.10, 290.11, 290.12, 290.13, 290.20, 290.21, 290.3, 290.41, 290.42, 290.43, 290.8, 290.9, and 331.0), withdrawal from the NHI program, or the end of 2010. These patients with dementia were grouped as Alzheimer dementia (AD, ICD-9-CM 331.0), vascular dementia (VaD, ICD-9-CM 290.41-290.43), and other dementia (ICD-9-CM 290.0, 290.10-290.13, 290.20-290.21, 290.3, 290.8-290.9).

Statistical Analysis

All analyses were performed using the SPSS software version 22 (SPSS Inc., Chicago, Illinois, USA). χ2 and t tests were used to evaluate the distribution of the categorical and continuous variables, respectively. The Fisher exact test for categorical variables was used to statistically examine the differences between the two cohorts. The multivariate Cox proportional hazards regression analysis was used to determine the risk of dementia, and the results were presented as a hazard ratio (HR) with a 95% confidence interval (CI). The difference in the risk of dementia, between HSV-infected subjects and control groups was estimated using the Kaplan-Meier method with the log-rank test. A 2-tailed P value < 0.05 was considered to indicate the statistical significance.

Results

Table 1 shows the sex, age, comorbidities, urbanization, area of residence, income of the HSV patients, and the controls. When compared to controls, HSV patients tended to have higher CCI scores. HSV patients tended to have higher rates in living in urbanization level 1 or 2 areas, and in the north and east of Taiwan, than the control groups. The cumulative incidence of dementia in the HSV-infected subject and control groups, and the difference between the two groups were significant (log-rank test < 0.001, Fig. 1).

Table 1 Characteristics of study subjects at baseline
Fig. 1
figure 1

Cumulative risk of dementia among subjects aged 50 and over stratified by HSV infections among three groups of controls, HSV infection with anti-herpetic treatment and HSV infection without anti-herpetic treatment in the same plot with log-rank test

Table 2 shows the Cox regression analysis of the factors associated with the risk of developing dementia. The crude HR was 2.542 (2.331-2.771, P < 0.001, data not shown). After adjusting for age, sex, CCI scores, geographical area of residence, urbanization level of residence, and monthly income, the adjusted HR was 2.564 (95% CI 2.351-2.795, P < 0.001). Subjects with either non-genital or genital HSV infections were associated with an increased risk of overall dementia, in comparison to the non-HSV control group. HSV infections were associated with an increased risk in subjects with any type of dementia such as AD, VaD, or other dementia, when compared to the control group. The HSV-infected subjects were associated with overall increased risk in dementia even after we excluded individuals with a diagnosis of dementia within the first year and the first 5 years.

Table 2 The risk of all dementias between HSV-infected cohort and comparison cohort

We have also analyzed the individual outcomes, as AD, VaD, and other dementia in Tables 3, 4, and 5, respectively. In general, the HSV subjects were associated with an increased risk in individual outcomes as AD, VaD, and other dementia. Furthermore, excluding those individuals with a diagnosis of dementia within the first year and the first 5 years, the HSV subjects were still associated with increased risk of individual types of dementia.

Table 3 The risk of Alzheimer dementia between HSV-infected cohort and comparison cohort
Table 4 The risk of vascular dementia between HSV-infected cohort and comparison cohort
Table 5 The risk of other dementia between HSV-infected cohort and comparison cohort

Supplementary Table 1 shows the sex, age, comorbidities, urbanization, area of residence, and the income of the HSV subjects with and without anti-herpetic medication treatment. Compared to the subjects without anti-herpetic medication treatment, the treated subjects tended to have a higher male to female ratio, CCI scores, residence in higher urbanization level, and living in northern Taiwan.

Subjects with HSV infections taking anti-herpetic medications (N = 7215) were compared to those patients not taking them (N = 1147). In the subgroup with anti-herpetic medications treatment, 419 (5.80%) developed dementia in the longitudinal follow-up within 10 years. In the subgroup without anti-herpetic medications treatment, 325 (28.33%) developed dementia in the same follow-up period. Anti-herpetic medications, either over-all (adjusted HR 0.092, 0.079-0.108, P < 0.001) or individual antivirals, were associated with decreased risk of developing dementia (Table 6). Table 6 also shows the percentages of these medications, the mean durations of medications, and the adjusted hazard ratios, percentage of the decrease of risk in each day of usage of antivirals, and the differences between the durations of antiviral treatment and the associations with the decrease of risk of dementia, by the over-all or individual anti-herpetic medications. Cumulative risk of dementia among patients with HSV infections aged 50 and over was stratified by anti-herpetic medication usage with log-rank test (log-rank test < 0.001, Fig. 2). Subjects with anti-herpetic treatment were associated with a decreased risk of overall dementia, AD, VaD, and other dementia. In addition, either genital or non-genital HSV infection in the subjects with anti-herpetic medications showed a decreased risk of dementia when compared to the group without anti-herpetic medications.

Table 6 Percentage, duration, percentage of decrease of risk by days, and adjusted hazard ratio of anti-herpetic medications
Fig. 2
figure 2

Cumulative risk of dementia among HSV-infected patients aged 50 and over stratified by anti-herpetic medication use with log-rank test

Discussion

In our study, HSV-infected subjects had an almost 3-fold increased risk of developing any type of dementia, including AD, VaD, or other dementia, in comparison to the control group. The Kaplan-Meier analysis revealed that HSV-infected patients had a significantly lower 10-year psychiatric disorders-free survival rate than the controls. In addition, it took 1 year to achieve a significantly adjusted HR, and therefore, 10 years appear to be a reasonable period to follow-up patients with HSV infections. Even though the individuals with a diagnosis of dementia within the first year and the first 5 years were excluded, the HSV-infected subjects were still associated with increased risk of individual types of dementia. Several previous local cohort studies revealed that seropositivity of HSV increased the risk of Alzheimer disease [26]. However, this is the first nationwide, matched cohort study for the association between both HSV types 1 or 2 infections and the risk of all types of dementia.

In this study, we defined at least three outpatient visits within the one-year study period for HSV infections according to these ICD-9-CM codes as the study cases. However, this probably means that only those with significant clinically visible symptoms of reactivations of HSV were selected. This is not a weakness of the method but probably a strength, which could in some way correspond to those of previous cohort studies indicating an increased risk with HSV IgM-antibodies as a measure of reactivated HSV infection, as previous researches have already pointed out [26, 27]. Furthermore, at least three crucial points validate the diagnostic specificity in this claims dataset based study: first, all clinicians used the ICD-9-CM codes in Taiwan; second, licensed medical records technicians verified the coding before claiming the reimbursements; and third, the National Health Insurance Administration authority verified the audit.

The underlying mechanisms of the association between HSV infections and dementia remain unclear. Nonetheless, inflammatory changes in the brain have been reported in studies on the pathogenesis of dementia [28, 29], and previous researchers found that infectious diseases, such as hepatitis C viral infection, Helicobacter pylori infection, cytomegalovirus infections, chronic osteomyelitis, or even sepsis, were associated with an increased risk of dementia [30,31,32,33,34]. In 1982, Ball first suggested that HSV-1 might be involved in the pathogenesis of AD by finding that the brain regions damaged in HSV encephalitis, the limbic system, are the same as those affected the earliest in AD [35]. This is reinforced by the finding that receptors for HSV-1 are selectively expressed in the limbic system [36]. Several other studies have shown that HSV-1 and being a carrier of the apolipoprotein E allele 4 (ApoE e4) together confer risk for AD [9, 11, 27, 37,38,39]. Some studies have found that amyloid-β (Aβ) peptides have antiviral activity or protective effects against HSV infections in the brain by preventing the virus from fusing with the plasma membrane [40], and further suggested HSV infections as a possible risk factor for AD [41,42,43]. β-amyloid peptides have been found to have antimicrobial activity, including against HSV-1 [40, 44]. Previous studies have also shown that HSV-1 DNA is detected in AD plaques [45], HSV-1 infection-induced synaptic dysfunction via glycogen synthase kinase 3 (GSK-3) activation and intraneuronal amyloid-β protein accumulation [46], as well as the presence of intrathecal antibodies to HSV-1 [47]. Nevertheless, the potential pathogenetic link between HSV infections and the risk of other types of dementia, as shown in this study, remain unclear. Pro-inflammatory factors or oxidative stress might induce neuroinflammation and neurodegeneration and, thus, contribute to the pathogenesis of dementia [9, 48].

Previous studies have shown that the reactivation of HSV increases the risk for AD [26, 27]. In one study from Taiwan, the seroprevalence rate for HSV-1 infection reached 95.0% for those over 30 years of age, and for HSV-2, the rate was 31.2% for those over 60 years old [49]. Therefore, considering the high prevalence of latent HSV-1 in the population aged over 30, many of the “newly diagnosed” HSV-1 infections may represent reactivation of the virus, with positive immunoglobulin (IG) G and IgM, rather than a newly acquired primary HSV infection (IgG−, IgM+). One study also pointed out that cold sores, or herpes labialis, only occur in 20 to 40% of the population infected by HSV-1, and the other 60 to 80% of subjects might have been infected but not affected, that is, they were not symptomatic [50]. Furthermore, in our study, the adjusted HR was 2.564 for the risk of developing dementia in the HSV infection group, which is very close to the finding of the HR of 2.55 in the risk of developing AD in a previous study [27]. In our study, serology data was not available. Therefore, a future study using HSV serology is needed to confirm the association between re-activation of HSV and the risk of AD.

Moreover, we also found that anti-herpetic medications were associated with a lower risk of dementia in patients with HSV infections, and the adjusted HR was 0.092. This means that treatment with anti-herpetic medications could reduce nearly 90.8% of the risk of developing dementia in patients with HSV infections. The HSV-infected subjects treated with anti-herpetic medications showed a decreased risk in all types of dementia such as AD, VaD, or other dementia, when compared to the group without anti-herpetic medications. In general, patients with shorter (< 30 days) or longer (≧ 30 days) durations of anti-herpetic medications were associated with a decreased risk of dementia, and the treatment duration of ≧ 30 days was associated with a lower risk of dementia than those of a duration of < 30 days. In the patients with ophthalmic or other specified complications, oral and intravenous anti-herpetic medications also showed the effects of reducing the risk of dementia in these patients.

The role of the anti-herpetic medication treatment for the prevention of AD have not been studied in the past, even though one author argued that antiviral agents in neurodegenerative disorders could be a new paradigm targeting AD [35]. Our study found that anti-herpetic medications could attenuate the risk of developing dementia (adjusted HR 0.092, 0.079-0.108, P < 0.001). One previous study demonstrated improvement in cognition of HSV-1 IgG seropositive schizophrenia patients with valacyclovir treatment for 18 weeks and compared it to a HSV-1 IgG seronegative control group in a clinical trial [51]. Our present study might be the first report on the role of anti-herpetic medication treatment in attenuating the risk of developing dementia for patients with HSV infections in a nationwide, population-based study. However, in the HSV-group, only 13.7% (1147 in 8362) did not receive anti-herpetic medications. This suggests that further study is needed to clarify whether anti-herpetic medication usage plays a role in reducing the risk of dementia for HSV-infected patients. Meanwhile, a clinical trial using valacyclovir for patients with early AD is ongoing in Sweden [52].

In addition, recent studies have reported trends in decreasing incidence of Alzheimer disease and other cognitive impairments since the late twentieth century, and researchers suggest that this results from increasing level of education and decreasing prevalence of cardiovascular comorbidities [53,54,55,56,57]. We also speculate that the introduction of anti-herpetic medications, for example, acyclovir [58], since the 1980s, could also contribute to this trend by decreasing the risk of dementia in HSV-infected patients.

In this study, we found that males are over-represented in the HSV-infected cohort (4724 males and 3638 females), a finding that is different from results seen in seroprevalence studies in Europe and North America, in which far more females than males are reported to have either HSV-1 or HSV-2 infections [59, 60]. However, a seroprevalence study of HSV-1 and HSV-2 in Taiwan found no significant association between sex and HSV-1 seropositivity, but females had higher rates of HSV-2 seropositivity, and overall age-weighted seropositive rate of HSV-1 and HSV-2 was 63.2% (95% CI, 60.6-65.7%), and 7.7% (95% CI, 6.2-9.5%), respectively [49]. We, therefore, speculate that the HSV-1 predominance in this study might result in the divergence of the sex ratio in this study in comparison to studies in Europe and North America. Furthermore, different study designs using claims dataset or seroprevalence data might also play an important role. However, the reasons for the difference among these studies remain unknown and need further investigation.

Limitations

There are several limitations to this study. First, patients with dementia could be identified using insurance claims data. However, data on the severity, stage, or impact on their caregivers were not available, and in such a study based on a claims dataset, we could only estimate treatment durations of each anti-herpetic medication by dividing the cumulative doses of individual medications by defined daily dose (DDD). The National Health Insurance Research Database (NHIRD) does not contain HSV serology data, either. Second, other residual confounding factors, such as education, genetics or dietary factors, are also not included in the NHIRD. Since there are no imaging findings or other laboratory data included in the NHIRD, we could only rely on the professional diagnosis of dementia by board-certified psychiatrists or neurologists as aforementioned. Furthermore, several community studies have revealed that Alzheimer dementia is the most common cause of dementia (40-60% in all dementias), followed by vascular dementia (20-30% in all dementias), and mixed or other dementias (7-15%) in Taiwan [1, 61, 62], whereas most of the dementias in our study were other types. One possible hypothesis is that some of the other dementias might actually be AD cases. Another possibility is that clinicians might put these types of dementia with a progressive course and no evidence of previous cerebrovascular events into this category instead of AD. In addition, the NHIRD does not have data on APOE-e4 genotype, which is not only a risk for AD in Taiwan and other countries [63,64,65], but also increases the frequency of symptomatic oral herpetic lesions [38] without viral shedding [38, 66]. Further studies are, therefore, warranted to determine the APOE genotypes in HSV-infected patients and controls.

Conclusions

Patients with HSV infections may have a 2.56-fold increased risk of developing dementia. The usage of anti-herpetic medications in the treatment of HSV infections was associated with a decreased risk of dementia. These findings might well be a signal to the clinicians caring for patients with HSV infections. Further research is necessary to explore the underlying mechanism(s) of this association.