Introduction

Antipsychotics are mainly indicated for the treatment of schizophrenia, bipolar disorder, psychotic depression and behavioural and psychological symptoms of dementia. There are two main classes of antipsychotics: the first-generation antipsychotics (FGAs) and the second-generation antipsychotics (SGAs) [13]. Clinical trials have demonstrated the link between antipsychotic exposure and incidence of diabetes, risk of cardiovascular events and increased mortality [49]. However, these trials were often based on populations of younger individuals aged between 18 and 65 years; people 65 and over with chronic medical conditions were often excluded.

In a real-world setting, individuals prescribed antipsychotics may be older, have higher comorbidity and are frailer and hence have a higher baseline risk of experiencing adverse drug effects than patients recruited in a clinical trial. An uncertainty exists about making causal inferences about the true effect of the risk of diabetes posed by antipsychotic drugs in older people due to uncontrolled confounding [10] and limited statistical power [11].

National-level studies examining the risk of diabetes mellitus with antipsychotic drug exposures are limited in New Zealand. The primary aim of this study was to perform a nationwide case-crossover analysis to examine the association of diabetes with antipsychotic exposure in a large population-based sample of older (age 65 and above) New Zealanders. Using a case-crossover design, we examined the risk of incidence diabetes in older individuals.

Methods

Approval to undertake this study was provided by the Human Ethics Research Committee of the University of Otago, New Zealand (approval number HD 16/022).

Data source

The New Zealand Ministry of Health maintains national collections of prescription use and hospital discharges. Individual records in these national collections include a unique seven-digit alphanumeric identifier, known as the National Health Index (NHI) identifier. The NHIs are encrypted in all datasets, but there is only one encrypted version of each NHI and is never changed. Therefore, we were able to link new data with datasets previously extracted. The pharmaceutical information database (Pharms) includes record of all prescription claims made by community pharmacists funded by PHARMAC, including the medicine name and prescription date. The National Minimum Dataset (NMDS) is a collection of hospital discharges for inpatients and day patients. Patients’ diagnoses are coded according to the International Classification of Diseases and Related Health Problems Tenth Revision, Australian Modification (ICD-10-AM).

This study considered only drugs that are funded by PHARMAC. Only prescriptions of antipsychotics, effect modifiers of interests (i.e. diabetogenic drugs) and antidiabetic drugs are considered; the rest were excluded as they were irrelevant to our study. We excluded over-the-counter medicines and drugs not subsidised by PHARMAC. The process of case selection is shown in Fig. S1.

Study population

We identified all individuals, aged 65 years and above, who had been diagnosed for the first time with diabetes, between 01 January 2005 and 31 December 2015. Individuals were considered to have new-onset diabetes if they had an ICD-10-AM code for diabetes mellitus (Table S1) and without a prescription for an antidiabetic medication (Table S2) within 2 years before the first-time diagnosis of diabetes. The day the individual was diagnosed with diabetes for the first time after 01 January 2005 is the index date.

Statistical analysis

Analyses was conducted using R version 3.2.4 Revised (2016-03-16 r7033). We used a case-crossover design [1214], to study the population-level association between antipsychotic drug exposure (Table S2) and incident diabetes. Two 365-day observation periods were defined over a 730-day study period. The first observation period is the time interval 1–365 days before the index date, which is the case period. The control period is the time interval 366–730 days before the index date. For each individual, we summarised the history of antipsychotic exposure as SGA-only, FGA-only, using both and using neither during the observation periods. In a case-crossover design, time-invariant or slow-changing confounding variables are automatically balanced even if they are unknown, so we did not spell them out. Fast-changing confounding variables will need to be adjusted. Concomitant use of diabetogenic drugs (i.e. the effect modifiers) is an important time-varying confounding variable that can vary quickly over time, so we adjusted for the use of these drugs.

From the case-crossover design, for each individual, we analysed antipsychotic exposure and the combination of antipsychotic exposures (i.e. SGA-only, FGA-only or both drugs), over an observation period, and whether or not diabetes onset occurred at the end of the same observation period. Using conditional logistic regression (CLR), we were able to estimate the risk of incident diabetes associated with antipsychotic exposure/s and expressed the effect size as relative risk (RR). CLR accounts for the between-individual variation of health characteristics when estimating the changed risk with drug exposure and thus mitigates confounding. We used multivariable CLR to adjust for concomitant use of effect-modifying drugs that are known to increase the risk of diabetes (Table S2). The relative risk calculations were repeated to calculate the changed risk of incident diabetes associated with the use of each antipsychotic drug, with or without adjusting for concomitant use of other antipsychotic drugs and effect-modifying drugs.

As a secondary aim, we recalculated the RRs of diabetes onset using a semi-symmetric bidirectional case-crossover (SSBC) design [23] with 365-day observation periods based on the same cohort, to adjust for time-trend bias. The SSBC design is based on the work published by Navidi and Weinhandl [23]. Briefly, a case period, a pre-event control period and a post-event control period were defined for each individual. In this study, the case period is the time interval 1–365 days before the index date as for the conventional case-crossover design. The time interval 366–730 days before the index date is the pre-event control period, and the time interval 1–365 days after the index date is the post-event control period. For each individual, we summarised the use of antipsychotics during each observation period. When evaluating the relative risk, we randomly selected one of the two control periods as the reference period, with equal (50%) probability but subjected to the constraint that the reference period must be between 01 January 2005 and 31 December 2015.

Results

We found a total of 52,135 individuals with a first-time diagnosis of diabetes between 01 January 2005 and 31 December 2015. Among these individuals, 1842 of them had prescription records covering the time interval 2 years before the date of the first-time diagnosis of diabetes and, from these prescription records, have had at least one prescription of antipsychotics (SGA or FGA). Then, 1197 of them were excluded because they had received antidiabetic medicines at least once within 2 years before the first-time diabetes diagnosis. The 645 individuals remaining had a reliable date of first-time diabetes diagnosis and form the study cohort.

The characteristics of the study sample are shown in Fig. 1. Our study sample has 113 more females than males, and a vast majority of them are New Zealand-European, and only a small proportion of them are Māori. Descriptive statistics (Figs. 1 and S2 and Table 1) support that antipsychotics are more likely to be used within the case period (i.e. 1–365 days the first-time diagnosis of diabetes), compared to the control period. Rate ratio analysis (Fig. 2) with or without adjusting for concomitant use of effect-modifying drugs indicates that higher risk of incident diabetes is associated with antipsychotic exposure. The risk of diabetes onset is higher with SGA use (ARR 8.72, 95% CI [5.57, 13.67]) compared to FGA use (ARR 5.68, 95% CI [3.43, 9.39]), and the risk increases further if both SGA and FGA are co-prescribed. Adjusting for concomitant uses of effect-modifying drugs lowered the rate ratios but had no effect on the outcome. The increased risk of diabetes onset associated with quetiapine is higher (Table 1, ARR 7.47, 95% CI [4.10, 13.62]), compared to haloperidol (ARR 5.05, 95% CI [2.91, 8.75]). However, the increased risk of diabetes onset associated with olanzapine (ARR 2.27, 95% CI [0.86, 5.98]) is insignificant after adjusting for concomitant use of effect modifiers and other antipsychotic drugs.

Fig. 1
figure 1

Bar graphs show the characteristics of the study cohort (n = 645; MELAA refers to Middle Eastern / Latin American/ African, yr. years)

Table 1 Relative risk of diabetes onset associated with individual antipsychotic medication with or with adjusting for concomitant uses of effect-modifying (EF) drugs and other antipsychotics
Fig. 2
figure 2

Relative risk of diabetes onset and exposure to antipsychotics calculated based on the ordinary (top) and semi-symmetric bidirectional (bottom) case-crossover designs with 365-day observation periods

As a secondary aim, we adjusted for time-trend bias by recalculating the relative risks using SSBC design based on the protocol published by Navidi and Weinhandl [23]. The results support the general trend observed in the primary aim that higher risk of diabetes onset is associated with antipsychotic exposure (Fig. 2, Table 2), and risk of diabetes onset is higher in SGA users compared to FGA users with and without co-adjusting for concomitant uses of effect modifiers and other antipsychotic drugs. The increased risk of diabetes onset associated with olanzapine is still insignificant after adjusting for concomitant use of effect modifiers and other antipsychotic drugs, as well as time-trend bias (Table 2).

Table 2 Relative risk of diabetes onset associated with individual antipsychotic medication using the semi-symmetric bidirectional case-crossover design, with two 365-day observation periods before the date of diabetes onset

However, after adjusting for time-trend bias by using SSBC design, the relative risk of diabetes onset associated with concomitant use of SGA and FGA is lower compared to using only SGA and is only marginally higher compared to using only FGA (Fig. 2). This counterintuitive finding is related to the fact that SGA users commonly started to use both SGA and FGA within the year after the diagnosis if not adhering to it or discontinuing (Fig. S2). In SSBC design, reference period antipsychotic use include use of antipsychotics 1 year after the diagnosis; any post-event antipsychotic use will therefore reduce the relative risk.

Discussion

The present study examined the risk of diabetes in a large population-based cohort of older people exposed to antipsychotics. This study supports the risk of incident diabetes posed by exposure to antipsychotic drugs. The findings show an increased risk of incident diabetes ranging from 3.4 to 9.4 for FGAs and from 5.6 to 13.7 for SGAs after adjusting for concomitant use of effect modifiers (i.e. drugs that increase the risk of incident diabetes). After adjusting for time-trend bias, the increased risk of incident diabetes ranges from 7.6 to 22.6 for FGAs and from 4.3 to 12.7 for SGAs after adjusting for effect modifiers. Previous studies have highlighted and compared the risk of diabetes posed by FGAs and SGAs [1517]. The results confirm that the magnitude of the risk of diabetes is higher with SGAs compared with FGAs and higher when co-prescribed.

Our study also found that if antipsychotics are not discontinued after the first-time diagnosis of diabetes, the most common drug switching is to change from using SGA only to using both SGA and FGA. This may explain why the relative risk of diabetes onset does not increase when SGA and FGA are co-prescribed, when a SSBC design is used to adjust for time-trend bias and post-event prescriptions are accounted for. A possible explanation is that individuals may switch from SGA to FGA in the year after the diagnosis because FGAs are perceived as being less diabetogenic than SGAs.

Pharmacological mechanisms [18] underpinning the association of antipsychotics with diabetes have highlighted that obesity and metabolic syndrome are the major drivers. Olanzapine and clozapine with the greatest effect on weight gain are known to be highly diabetogenic compared to risperidone that has relatively a less impact on inducing weight gain [19, 20]. Interestingly, our study favours the trend that risperidone is more diabetogenic compared to olanzapine (Tables 1 and 2).

Pharmacoepidemiological studies have highlighted that the use of both FGAs and SGAs is associated with onset of diabetes [21, 22]. Challenges in these studies include the use of cross-sectional designs, variation in the definition of incident diabetes and lack of adherence data. A case-crossover design mitigates confounding from unknown time-invariant confounding variables. The case-crossover design is similar to a matched case-control design. A matched case-control design is typically used to control confounding and is accomplished by matching an individual in the case group with a similar individual in the control group based on the values of potential confounder variables. Case-control matching requires accurate identification of potential confounders, but in reality, potential confounders are not always known or measured. The advantage of using case-crossover design is that comparisons are made using the same individual, the comparisons are matched without dealing with time-invariant confounders, and hence, the issue of unidentified or unmeasured biological and psychosocial confounders is avoided.

Our study found preferential prescribing of quetiapine and risperidone over olanzapine. This preferential prescribing may have been influenced by clinical guidelines and previous studies that have implicated higher risk of diabetes associated with olanzapine compared to risperidone. We adjusted for concomitant medications in the CLR model, i.e. effect modifiers likely to induce diabetes. The effect sizes were smaller, but this did not impact the overall findings of increased risk of diabetes posed by both FGAs and SGAs.

However, it is unclear from observational and experimental studies about the exact temporal relationship (i.e. the time lag) between exposure to antipsychotic and the risk of developing diabetes. A prospective cohort study would perhaps shed light on time-dependent risk associated with antipsychotic drug exposure. However, our findings are in agreement with previous pharmacoepidemiological approaches showing an increased risk of diabetes associated with antipsychotic exposures, and the magnitude of effect size reported higher with SGAs is also consistent as reported in these studies.

Case-crossover designs are typically used to evaluate transient exposures with immediate and transient effects to ensure that the effects of any time-varying confounding variables are negligible [22], and therefore, we were concerned that the effects of changes to individual frailty scores and body mass index (BMI) scores may have biased the risk of diabetes onset. Hence, a potential limitation of our study is that there may be confounding that is residual as we did not control for these important time-varying confounders. Also, lack of data on lifestyle factors is another major limitation of this study.

We plan to address the issue of frailty and BMI changes by applying published statistical methodologies such as marginal structural modelling or covariate adjustment, to a complete set of health care data that allows time-varying confounders to be quantified.

Conclusion

We found that antipsychotic drug exposure increases the risk of diabetes onset in older New Zealanders. The risk of new-onset diabetes was shown to be lowest in individuals using FGAs. The risk of diabetes was found to be higher for quetiapine compared to haloperidol. We plan to use marginal structural models to provide unbiased estimates of the risk of antipsychotic exposures on onset of diabetes.