Introduction

An increasing incidence of type 1 diabetes in children has been documented around the world, and rates are projected to increase further [15]. At the population level, the increasing incidence will lead to a higher prevalence of adults with type 1 diabetes in the future, and consequently a higher rate of complications associated with type 1 diabetes. While many of these complications are known [6], important clinical questions remain. Specifically, it is not clear whether type 1 diabetes is associated with an increased risk of dementia in the same way as type 2 diabetes [7]; if it is, what is the risk and how does it change with age? Two common types of dementia are of interest: Alzheimer’s disease (AD) and vascular dementia.

There has been much research interest in dementia risk in people with diabetes mellitus. The association between the two conditions has been established and quantified [810]. However, the overwhelming majority of published studies focused on type 2 diabetes. While the biological connection between type 1 diabetes and cognitive dysfunction is well characterised [1113], according to our literature search there are no published estimates from large-scale studies of the risk of different types of dementia in individuals with type 1 diabetes.

We sought to fill this gap by analysing national hospital statistics for England (population approximately 50 million). Retrospective analysis of administrative health data allowed for the construction of a very large cohort of individuals with type 1 diabetes, which would be difficult to accomplish through other study designs. Furthermore, it allowed for stratification of results by age group and, thus, for tracking how risk changes throughout life. We report our findings by age group, diabetes type and dementia type.

Methods

Population and data

We undertook a retrospective cohort analysis using a dataset of English national Hospital Episode Statistics (HES) linked to a dataset of all deaths in England during the period 1 April 1998 to 31 December 2011 [14]. The HES data include clinical, demographic and administrative patient information on all hospital admissions, including day cases (people admitted who do not stay overnight), in all UK National Health Service (NHS) hospitals. The HES data were supplied by the English national Health and Social Care Information Centre. The linked dataset was built by the Oxford record linkage group using, as identifiers, the encrypted NHS number (unique to each individual) and encrypted postcode, date of birth and sex. Mortality data derive from death registration records supplied by the Office for National Statistics, with identifiers encrypted in the same way, and linked into the HES dataset. The file includes deaths registered up to 31 December 2011. The methods used were similar to those described in previous studies [15, 16], and were, briefly, as follows.

A cohort of people with type 1 diabetes was constructed by identifying each person’s first recorded episode of day-case care or inpatient admission for type 1 diabetes, coded in any diagnostic field on the discharge abstract, when aged 30 or older, and with no diagnosis of type 2 diabetes on the same record (to increase the accuracy of categorisation of diabetes type). We excluded those under the age of 30 in the principal analyses because the number of dementia cases in this age group was very small and rates had very wide CIs—the study period was not long enough to allow young individuals time to develop dementia. However, we still report data on these people in the results.

The same approach was used for the type 2 diabetes cohort, except that records were excluded if the first record also had a recorded diagnosis of type 1 diabetes. The cohorts will subsequently be referred to, collectively, as the ‘diabetes cohorts’, for brevity. The ICD-10 codes used were E10 for type 1 diabetes and E11 for type 2 diabetes (www.who.int/classifications/icd/en/).

A reference cohort was constructed by identifying the first admission for each individual with various other medical and surgical conditions and injuries (see footnote in Table 2). This is based on a ‘reference group’ of conditions that has been used in other studies of disease associations [15, 17]. The standard epidemiological practice was followed for hospital controls: selecting a diverse range of conditions rather than a narrow range (in case the latter are themselves atypical in the associated risk of dementia). We searched the dataset for any subsequent NHS hospital care for, or death from, dementia (the ‘outcome’ disease) in the diabetes and the reference cohorts. The ICD codes used for all dementia in the ICD-9 (www.icd9data.com/2007/Volume1) and ICD-10 were 290 and 331.0 and F00-F01 and F03 and G30 (ICD-9 was used for deaths in 1999 and 2000 and ICD-10 for deaths from 2001; ICD-10 was used for hospital discharge data throughout the period covered by this study). These codes include AD (290 in ICD-9 and F00 and G30 in ICD-10), vascular dementia (F01) and unspecified dementia (290 in ICD-9 and F03 in ICD-10). We considered dementia cases to be those coded as the principal or a secondary diagnosis on the discharge abstract. We subdivided those with an admission for dementia into those who were specifically recorded as having an admission for AD (331.0 in ICD-9 and F00 and G30 in ICD-10) and those recorded as having an admission for vascular dementia (290.4 in ICD-9 and F01 in ICD-10). People were included in the diabetes or the reference cohorts if they did not have an admission for dementia either before or at the same time as the admission for diabetes or the reference condition, respectively. This was done with the intention of identifying, as best as was possible, the likelihood that diabetes truly preceded dementia. For the same reason, and to reduce the possibility of surveillance bias (the possibility that dementia might be diagnosed early after an admission for diabetes because the person was under clinical observation), we excluded cases of dementia that occurred within 2 years of the first recorded admission for diabetes. The only exception to this was in the analyses of time intervals, where we specifically looked at diabetes cases occurring within 2 years of admission for dementia, in order to give a complete picture of time-interval data from then until 10 or more years after the index admission.

We analysed the data for men and women separately, as well as together, and at different time intervals between first admission for diabetes and first subsequent admission for dementia. In addition, we analysed the data when each diabetes subtype was coded only as the principal reason for admission (i.e. the person was admitted for the principal reason of managing the diabetes itself), rather than as a secondary diagnosis (i.e. was present but the person was admitted principally for a complication of it or for another condition).

Statistical analysis

In comparing the diabetes cohorts with the reference cohort, we stratified and then standardised by age (in 5-year age groups), sex, calendar year of first recorded admission, region of residence and quintile of patients’ Index of Deprivation score (a standard measure of socioeconomic status used in England). Statistical methods are given in detail elsewhere [16]. The first set of calculations compared the cohorts within the individual strata (e.g. within 5-year age groups, single year of hospital admission). The direct method of standardisation was used with the combined diabetes and reference cohort as the standard population. The stratum-specific rates were then applied to the number of people in each stratum within, first, the diabetes cohorts, and then, separately, the reference cohort. This calculation gave the expected number of cases of dementia in each stratum in the diabetes and reference cohorts. The observed and expected numbers within each stratum were then summed to give the totals in the broader age groups shown in the tables and then at all ages.

Results are expressed as rate ratios (RRs) comparing the diabetes cohorts with the reference cohort, using the formula (O diab/E diab)/(O ref/E ref), where O and E are the observed and expected numbers of dementia in the diabetes and reference cohorts, respectively. The calculation of expected values, the RRs, their CIs and p values used standard published statistical methods [18].

Ethical approval for the programme of work linking and analysing routine medical datasets was obtained from the Central and South Bristol Multi-Centre Research Ethics Committee (04/Q2006/176).

Results

In our dataset, there were 343,062 people with a hospital admission record of type 1 diabetes mellitus between 1998 and 2011 in England, and 1,855,141 people with type 2 diabetes mellitus (Table 1).

Table 1 Age and sex distribution of the study cohorts: individuals aged 30 or over with a hospital record for type 1 or type 2 diabetes

The sex distribution was similar across both diabetes types, with men representing just over a half of all cases. The ratio of controls to cases varied by age but, as the analyses were all done within age strata, this is immaterial. For example, the risk of dementia in the 32,018 people in the diabetes type 1 age group aged 30–39 was compared with the risk in 864,486 (32,018 × 27) people in the reference cohort; and the risk in the 554,157 people with type 2 diabetes aged 70–79 was compared with around 550,000 people in the same age group in the reference cohort (Table 1). We examined the RRs for dementia in those with diabetes compared with those without diabetes by age and over time. Table 2 shows the adjusted RRs for different types of dementia by type of diabetes and age group. Table 3 illustrates how the overall RRs for different types of dementia changed over time by type of diabetes. The summary of results below is organised by type of diabetes.

Table 2 Occurrence of dementia in individuals aged 30 or over with a hospital record for diabetes, and subdivided into 10-year age bands, excluding cases of dementia that occurred within 2 years of diabetes admission
Table 3 Occurrence of dementia in people admitted with diabetes when aged 30 or over, subdivided by time period between first diabetes admission and first dementia admission, and including cases of dementia that occurred within 2 years of diabetes admission

Type 1 diabetes

Age at admission

There was a significantly elevated overall risk of dementia in people with type 1 diabetes (RR 1.65; 95% CI 1.61, 1.68) (Table 2). The RR was highest in people admitted to hospital with type 1 diabetes when aged 30–39 (7.10; 4.65, 10.6) and gradually decreased as age increased, with a much lower RR for those aged 80 or older (1.16; 1.11, 1.20). There was a small but significant elevated overall risk of AD (RR 1.10; 1.05, 1.15). Similarly, the risk was greatest in those aged 30–39 and reduced with increasing age. For those aged 80 or older, the risk was no longer statistically significant; in fact, there was a reduced risk of AD in this age group (0.84; 0.76, 0.92).

There was a twofold elevation in overall risk of vascular dementia (2.21; 2.13, 2.28) (Table 2). The risk of vascular dementia reduced with increasing age from 14.0 (5.04, 36.5) in those aged 30–39 to 1.34 (1.25, 1.45) in those aged 80 or older at admission.

Time interval between type 1 diabetes admission and subsequent dementia admission

The RR for any dementia was highest when recorded within 2 years of a hospital admission with type 1 diabetes diagnosis (1.96; 1.91, 2.02) (Table 3); but for the majority of the analyses, we excluded these cases. The RR reduced gradually as the interval between diabetes admission and dementia admission increased, but the overall risk of dementia remained significantly elevated 10 and more years after admission for type 1 diabetes (RR 1.41; 1.32, 1.51). The results for vascular dementia followed a similar pattern, with the RR decreasing from 2.53 (2.41, 2.65) within the first 2 years of diabetes admission to 1.99 (1.78, 2.21) at 10 or more years after admission. The elevated risk of AD was only seen up to 4 years after diabetes admission.

Type 2 diabetes

Age at admission

There was a significantly elevated overall risk of dementia in people with type 2 diabetes (RR 1.37; 1.35, 1.38) (Table 2). The RR decreased with increasing age from 5.59 (3.33, 8.99) in those aged 30–39 to 1.10 (1.09, 1.12) in those aged 80 or over. There was no significant elevation in the overall risk of AD in people with type 2 diabetes, with an RR of 0.99 (0.97, 1.01). The risk of AD appeared to be meaningfully elevated only for those aged 50–69, raising the possibility that type 2 diabetes may not be a risk factor for AD in older individuals. Similarly to the individuals with type 1 diabetes, the risk of vascular dementia was significantly elevated in individuals with type 2 diabetes (RR 1.80; 1.77, 1.83), with the risk decreasing as the age increased.

Time interval between type 2 diabetes admission and subsequent dementia admission

The RR for any dementia was highest when the admission occurred within 2 years of a hospital admission with type 2 diabetes diagnosis (1.43; 1.41, 1.46) (Table 3). There was a gradual reduction in the overall dementia risk with increasing time, with the RR remaining significantly elevated 10 or more years after diabetes admission. There was an elevated risk of AD that was only seen within 2 years of diabetes admission. For vascular dementia, the RR was generally stable across all time intervals.

Further sub-analyses

We performed a sensitivity analysis by examining the data when diabetes was coded as a principal diagnosis on the record only, rather than a diagnosis found in any position on the record, and found that the resultant RRs were slightly higher than those reported as the main findings of this study (Table 4). The likely explanation is that including only those who were principally admitted to hospital for diabetes, as distinct from having diabetes as a recorded comorbidity, probably means that the study cohort comprised patients with more severe diabetes.

Table 4 Occurrence of dementia in people with diabetes as the principal diagnosis reason for admission

We analysed the data separately for men and women in each age group, but found no appreciable differences (electronic supplementary material [ESM Table 1]).

Finally, we analysed the dataset for dementia in people with diabetes under the age of 30 years within the limits of our period of follow up. Of 69,613 people with type 1 diabetes aged under 30, there were 3.4 expected cases, 15 observed and an RR of 4.93 (2.65, 8.54); of 17,695 people under 30 with type 2 diabetes, there were 0.7 expected cases, eight observed and an RR of 11.9 (4.98, 24.4).

Discussion

This study reports RRs for different types of dementia by age group and diabetes type for individuals with a hospital admission record containing a diabetes and/or dementia diagnosis between 1998 and 2011 in England. The results show that type 1 diabetes may be a risk factor for dementia, with an RR for any dementia of 1.65, AD 1.10 and vascular dementia 2.21. Type 2 diabetes was also confirmed as a risk factor for dementia. For both diabetes types, there was a much higher RR in relatively young people that reduced with increasing age.

Type 1 diabetes as a risk factor for dementia

The findings of this study indicate that type 1 diabetes is associated with an elevated risk of any dementia, AD and vascular dementia. We cannot compare our findings with those reported in the literature because we were not able to identify any studies that estimated the risk of dementia in a population of individuals with type 1 diabetes. Cardiovascular complications of type 1 diabetes are well established and thus the association of type 1 diabetes with vascular dementia is biologically plausible. It is also known that type 1 diabetes is associated with cognitive impairment [10, 11]. Therefore, our findings are in line with current understanding of the natural history of type 1 diabetes and the subsequent development of vascular disease.

Two recent meta-analyses of studies on the association of diabetes (both types combined) and dementia [7, 9] reported the following relative risks, respectively: 1.51 (1.31, 1.74) and 1.73 (1.65, 1.82) for any dementia; 1.46 (1.20, 1.77) and 1.56 (1.41, 1.73) for AD; 2.48 (2.08, 2.96) and 2.27 (1.94, 2.66) for vascular dementia. While our estimates for risk of dementia for type 2 diabetes are lower than the overall figures reported in these meta-analyses, they fall within the range of estimates reported by the individual studies included in the meta-analyses. This provides evidence that our RR estimates for type 1 diabetes are reasonable. However, given the lower estimates for type 2 diabetes, the true elevated risk of dementia among individuals with type 1 diabetes is likely to be even higher than is reported here. Given the limitations of the methods (discussed below), and the fact that associations between type 1 diabetes and vascular dementia were stronger and more clearly present at long time intervals than those with AD, we consider that the evidence is stronger for vascular dementia than for AD.

Published reports on the association between type 2 diabetes and AD are inconsistent. Our estimate of risk of AD in individuals with type 2 diabetes (RR 0.99, 0.97, 1.01) suggests there is no association between the two conditions. It is worth noting that in most of the studies included in recent systematic evaluations of published literature, the CIs for AD risk include 1.0 [7, 9, 19].

The understanding of the biological mechanisms that underpin the association between diabetes and dementia is incomplete. Both are complex conditions influenced by a variety of environmental, genetic and biological factors, as well as the interaction of those factors [20]. A number of possible mechanisms that are potentially involved with cognitive dysfunction have been identified for both types of diabetes [12, 13]. In addition, the degree of cognitive impairment has been shown to depend on the age of diabetes onset, and thus its duration, and how well glucose levels are maintained [1113]. Duration of diabetes, which is typically longer for those affected with type 1 because they are relatively young at onset, could be a critical factor behind the higher risk of developing dementia among people with type 1 than type 2 diabetes.

Changing risk with age

We found that the influence of diabetes—both type 1 and type 2—on the risk of dementia decreases with increasing age. Other studies that compared dementia risk by age found that it was lower in individuals aged 65 and over than in individuals younger than 65 [21, 22]. A recent analysis of data from Western Australia that examined survival outcomes in dementia patients, based on history of diabetes (but without specification of type), demonstrated that the impact of diabetes on dementia gradually decreases with increasing age [23]. The study concluded that it is the early onset of diabetes that is accountable for much of the increased risk of dementia in younger age groups, as opposed to a major change in the natural history of diabetes-related dementia.

Sensitivity analysis

Although our main results were derived from the analysis of records with any mention of diabetes diagnosis, we additionally analysed the data for records where diabetes was the principal reason for admission to hospital. We did this to test the robustness of the results in the absence of other serious comorbid diseases that may actually have been associated with dementia. We found that the RRs were actually slightly higher when using the principal diagnosis of diabetes only, reassuring us that our main reported findings were not due to associations between dementia and other serious comorbid conditions.

Strengths and limitations

The strengths of our datasets include the large size of the study population, the complete national representation, the inclusion of all ages; and that it comprises recent data. It included over one-third of a million people with type 1 diabetes and nearly two million with type 2. To the best of our knowledge, this is the first study to report estimates of dementia risk for individuals with type 1 diabetes. Further, we believe that this is also the first study to report age-specific RRs for different types of dementia in patients with different types of diabetes from the same population. The reference cohort has been used extensively in previous studies and has been shown to report plausible rates for a variety of conditions [1517]. Furthermore, our obtained RR estimates for type 2 diabetes, although lower, are in agreement with the literature, thus lending credibility to our estimates for type 1 diabetes. It is possible that there is some surveillance bias in our study—the identification of cases of dementia soon after a diagnosis of diabetes—but this alone would not explain similarities between our findings at longer follow up and the literature on type 2 diabetes in studies with different designs.

One of the main limitations was the incomplete capture of all cases of diabetes and dementia that occurred in England during the study period, due to the dataset being limited to people admitted to hospital or receiving day case specialist care. As such, absolute rates of dementia among people with diabetes cannot be calculated, but relative rates can. Of the individuals in the reference cohort, 1.1% subsequently had a record of diabetes and moved to the exposure cohort, i.e. there was a prevalence of hospitalised diabetes of 1.1% in individuals otherwise eligible to be in the reference cohort. Survey data show that the prevalence of diagnosed diabetes increased in England from 3.3% to 6.3% in men, and from 2.5% to 5.3% in women, between 1998 and 2010 [24]. Therefore, our prevalence is an underestimate because our dataset does not include people admitted to hospital outside of the study period. A recent study reported that approximately 60% of patients with type 2 diabetes are hospitalised at least once during a 4 year period [25]. Our study period was substantially longer than that, and we likely captured the majority of people with type 2 diabetes in England.

It is possible that some diabetes-type and dementia-type cases in our data were misdiagnosed. Because of the nature of administrative data and its collection, there will inevitably be some misdiagnosis or miscoding. Unfortunately, privacy regulations preclude independent checking of samples of diagnoses, and their diagnostic basis, in medical records by researchers. It is worth noting that the lack of diagnostic specificity of dementia type affected both cases and controls, and would probably have a limited impact on the RRs comparing the two. We were also not able to control for unrecorded risk factors (e.g. smoking) in our analysis. It is uncertain how this might have affected the findings.

The RRs in this study, therefore, should be considered indicative rather than definitive and precise. In particular, however, the results strongly suggest that type 1 diabetes, as well as type 2 diabetes, increases the risk of subsequent vascular dementia. The evidence for this is particularly strong in the findings in the relatively young age groups. The RRs for vascular dementia observed among those aged 40–59 (Table 2) were both significantly high in their own right (compared with the reference cohort) and also significantly higher than those for AD in the corresponding age groups. We suggest that these results point to a real association between type 1 diabetes and vascular dementia because it is unlikely that such high RRs could be a sole product of misclassification of type 2 as type 1 or other uncontrolled confounding factors.

Conclusion

This study adds new evidence that type 1 diabetes is probably associated with dementia. It also shows how the risk of dementia changes with age, and that the association between diabetes and dementia is particularly strong in people with diabetes when young. Our findings suggest a much stronger association between type 1 diabetes and vascular dementia than with AD. Given that the presented findings are based on hospital statistics alone, further research is required to confirm or refute these associations in the whole population of people with diabetes.