Introduction

Recent epidemiological studies have raised the controversy of the obesity paradox in type 2 diabetes mellitus (T2DM). While some studies reported significantly higher mortality risk in those with normal body weight at diagnosis of T2DM, compared to those with obesity1,2,3,4,5,6,7,8, others could not find such evidence9,10. Latent diseases that independently lead to weight loss before T2DM diagnosis could explain the observed increased mortality risk in those with normal weight11. This is particularly important, because the undiagnosed conditions leading to weight loss may also increase the risk of developing or being diagnosed with diabetes, but may be clinically diagnosed after the diagnosis of diabetes, and falsely appear as a consequence of diabetes. In this context, evaluation of weight change before and after diagnosis of diabetes along with comorbidities is crucial. However, data on these aspects at pollution level is scarce.

Only a few epidemiological studies have evaluated body weight or BMI before and after diagnosis of diabetes12,13,14,15,16. However, these studies were limited by small sample sizes13,14,15, measurement of weight at only two-time points usually many years apart12,16, and they did not include evaluation of the mortality risk in association with weight change. To the best of our knowledge, none of the studies that have evaluated the obesity paradox in T2DM patients conducted a dedicated analysis of body weight changes pre- and post-diagnosis of T2DM. With a large cohort of patients with incident T2DM, the aims of this real-world primary care-based longitudinal study were to evaluate:1 body weight changes over 3 years pre-diagnosis of T2DM2, body weight changes over 24 months post diagnosis of T2DM, stratified by BMI category at time of T2DM diagnosis separately for those who have died and those who have not, and3 the impact of weight change pattern before diagnosis on the association of BMI at time of T2DM diagnosis with mortality risk.

Materials and methods

Data source

The data for this retrospective longitudinal cohort study were obtained from The Health Improvement Network (THIN) database, which is a large, anonymised longitudinal dataset derived from a network of more than 600 primary care providers across the United Kingdom (UK). The THIN database is linked to other sources of hospital and national statistics data and is demographically representative of the UK. The source population includes over 13 million patients. With comprehensive patient-level longitudinal information on demographic, anthropometric, clinical and laboratory measures, clinical diagnosis of diseases and events, and prescriptions for medications, THIN database has been extensively used for academic research17,18. The accuracy and completeness of this database have been previously described elsewhere19,20. Notably, the database has a similar distribution of major chronic diseases including diabetes, heart failure, and obesity when compared to UK national statistics4,19. Clinically diagnosed diseases are recorded using Read codes21,22,23, and with each diagnosis, an event date is entered. Prescriptions are recorded with both British National Formulary (BNF) codes and Anatomical Therapeutic Chemical (ATC) codes along with their prescription dates.

Participants

Primary care patients with T2DM were identified from Read codes or the date of the first prescription for an anti-diabetes drug (ADD), through various steps of a clinically guided iterative machine learning algorithm based on regression methodologies 24(See Appendix for the expanded procedure). The algorithm identified a cohort of 406,098 patients with newly diagnosed T2DM between January 1990 and September 2014. The cohort of T2DM patients for this study1 were newly diagnosed with T2DM from January 2000 onwards2, had a minimum follow-up of 1 year3, had complete data on age, sex, and BMI (≥15 kg/m2), and4 were without an established diagnosis of cardiovascular diseases (CVD), chronic kidney disease (CKD) or cancer at time of diagnosis of T2DM (Fig. 1). Those with Read codes for type 1 diabetes mellitus (T1DM) or gestational diabetes, those who received insulin as the first ADD, and those who had undergone bariatric surgery before or after diagnosis were excluded.

Fig. 1
figure 1

Study cohort selection flowchart

Study variables

Patients with CVDs, CKD (any stage), and cancer with dates of diagnoses after the T2DM diagnosis date were identified using Read codes. A composite variable for CVD (any CVD) was defined as the occurrence of angina, myocardial infarction, coronary artery disease (including bypass surgery and angioplasty), heart failure, or stroke. Complete records on the prescriptions of different classes of ADDs, antihypertensive drugs, weight lowering drugs, anti-depressant drugs, and lipid-modifying drugs were extracted along with the dates of prescriptions.

Information on deaths with dates and possible cause of death were also extracted. Time to a specific disease event or death was calculated as the time from the diagnosis of T2DM to the first occurrence of the disease event or date of death respectively. Patients who were still alive at the end of the study (September 2014) or had dropped out were censored on the end date or drop out date.

Demographic, clinical, and laboratory data extracted at time of T2DM diagnosis included: smoking status, deprivation score (a socioeconomic status measure based on residential address25), ethnicity, body weight, BMI, glycated haemoglobin (HbA1c), systolic blood pressure (SBP), diastolic blood pressure (DBP), low density lipoproteins (LDL-C), high density lipoproteins (HDL-C), and triglycerides. BMI categories at diagnosis of T2DM were defined as normal weight (18.5–24.99 kg/m2), overweight (25–29.99 kg/m2), grade 1 obese (30–34.99 kg/m2), grade 2 obese (35–39.99 kg/m2), and grade 3 obese (≥40 kg/m2)26. Longitudinal measures of body weight and BMI in the 36 months before and 24 months after the T2DM diagnosis date were extracted and arranged in 6-monthly windows. All available measures on or within 3 months before the T2DM diagnosis date were considered as the baseline measures. If more than one measurement existed within this interval, the closest to the T2DM diagnosis date was taken.

Patients who lost body weight (LBW) by at least 2 kg before the diagnosis of T2DM were defined as those with weight measure in the 6 months before diabetes diagnosis was ≥2 kg less than the mean of the five possible prior measures. Those with “no weight loss” (NWL), i.e., those who remained at the same weight level or increased were also identified (see appendix for details).

The study protocol was approved by the Independent Scientific Review Committee for the THIN database (Protocol Number: 15THIN030) and the Institutional Review Board of QIMR Berghofer Medical Research Institute.

Statistical methods

The summary statistics were presented by number (percentage), mean (SD) or median (first quartile, third quartile), and by survival status (alive or dead) where appropriate. Age-weighted rates (per 1000 person-years) for CVD, CKD, cancer, hypertension during follow-up were estimated by BMI categories and mortality status. Age-weighted mortality rates were also computed for patients under each BMI category.

Weight trajectories before and after diagnosis evaluated by fitting a generalised linear model under general estimating equations setup, with unstructured covariance. Separate analyses were conducted for each BMI category. Among patients who did not die within 2 years post diagnosis of T2DM or remained censored, the unadjusted and adjusted mean (95% confidence intervals, CI) of longitudinal 6-monthly measures of body weight before and post T2DM diagnosis were estimated respectively. Adjustment factors for post-diagnosis weight trajectory were age, sex, smoking status, the incidence of CVD, CKD or cancer, and the use of insulin, GLP-1 receptor agonists or sulfonylurea during 2 years of follow-up.

Under the hypothesis that the pattern of weight change before T2DM diagnosis could be a modifying factor on the association between BMI categories at the time of diagnosis and mortality risk, a multivariate stratified Cox regression model was fitted separately for patients under different weight loss pattern before the diagnosis of diabetes (i.e., LBW and NWL groups). Under the null hypothesis of no difference in risk patterns by BMI categories at diagnosis of T2DM, we aim to evaluate the alternative hypothesis of risk difference in patients with normal body weight compared to those with grade 1 obesity (BMI 30–34.9 kg/m2) at 5% level of significance. The hazard ratio (HR) for all-cause mortality was calculated for each BMI category using individuals with grade 1 obesity as the reference group. The adjustment factors were—age, sex, deprivation score, and smoking status at diagnosis; use of insulin, oral anti-diabetes drugs, and cardio-protective medications during follow-up as fixed covariates. Age groups (defined as 18–40, 41–50, 51–60, 61–70 years) at T2DM diagnosis were used as the stratification factor. Robust estimates of hazard ratios (95% CI) were obtained, and Bayesian information criteria (BIC) was used to compare the model fits. The proportional hazards assumption was assessed using scaled Schoenfeld residuals, and variables that violated the proportional hazards assumptions (incidence of cancer, any CVD or CKD during follow-up) were included in the model as time-varying covariates. All primary analyses were conducted using the imputed body weight data, with additional analyses based on complete cases for sensitivity analyses.

In sensitivity analyses for mortality, an extended model was fiited incorporating measures of HbA1c, SBP, LDL-C, HDL-C, and triglyceride at baseline. Other sensitivity analyses involved1 excluding the time-varying covariates that violated the proportionality assumption;2 excluding current and ex-smokers;2 including patients who never developed cancer3, possible interaction of age groups and BMI categories (stratified by weight loss patterns). Data extraction from the THIN database was conducted using SAS® 9.4 (SAS Institute), and statistical analyses were performed using STATA version 14 MP, at a 2-tailed α level of 0.05.

Data access

Data was made are available to the corresponding author (SKP) under a licenced agreement from IMS Health UK (now IQVIA). All data access enquiries should be forwarded to Professor Sanjoy K. Paul.

Code availability

The programming code is available from ESOA

Results and discussion

Cohort characteristics at diagnosis

In this cohort of 145,058 patients with incident T2DM, the mean (SD) age at diagnosis was 5212 years, 56% were male, 52% were current or ex-smokers, and 66% were obese. Among patients who were censored at the end of study (still alive or moved out of practice), the mean (SD) age at diagnosis was 5112 years with 26% aged above 60 years, 56% were men, and the proportion of patients in the normal weight, overweight, and obese categories were 7, 27, and 67% respectively. Over a median follow-up of 8 years, those who died were significantly older (mean age: 60 vs. 51 years), had a higher prevalence of current and ex-smokers (63 vs. 51%), and had a higher SBP level (mean: 144 vs. 139 mmHg) at diagnosis compared to those who were censored (Table 1). Across all BMI categories the incidence rates (per 1000 person-years) for any CVD, cancer, and CKD were significantly higher among those who died compared to those censored (Appendix Table 1, all p < 0.01).

Table 1 Baseline characteristics of patients with T2DM and without history of CVD, CKD, and cancer at the time of T2DM diagnosis, by mortality status

Weight changes before diagnosis of T2DM

A small but significant drop in body weight during the 6 months before diagnosis of T2DM was observed in patients belonging to the normal and overweight categories at diagnosis, although a stable body weight trajectory was observed during 30 months before that time window (Fig. 2a). Among all categories of obese patients, consistently increasing body weight was observed before the diagnosis of diabetes, followed by a sharp drop in body weight during the 12 months after the diagnosis of T2DM. The proportions of patients who lost body weight in the 36 months before diagnosis date in the normal weight, overweight, grade 1 obese, grade 2 obese, and grade 3 obese categories were 28, 21, 18, 17, and 16% respectively (Table 2).

Fig. 2
figure 2

a Six-monthly trajectory [mean (95% CI)] of body weight (kg) over 3 years before diagnosis of T2DM, at diagnosis and 1 year post-diagnosis separately for different BMI categories at diagnosis of T2DM, for patients without history of diseases at diagnosis. b The cumulative hazard function for all-cause mortality in patients without disease history, by BMI categories at diagnosis

Table 2 Mortality risk by Body Mass Index (BMI) category at the time of diabetes diagnosis stratified by weight trajectory patterns before diagnosis

Weight change after diagnosis of T2DM

Among normal weight patients who died, there was no indication of any weight loss during 24 months before death, while a consistently increasing body weight trajectory was observed among those who did not die (Fig. 3). With an initial significant decline in body weight within 6 months post diagnosis of diabetes, overweight, grade 1 and 2 obese patients slowly gained weight over the following 18 months, with no difference in the longitudinal patterns by mortality status. For grade 3 obesity, those who died had a higher weight throughout the post-diagnosis period than those who remained alive. The trajectories of body weight were similar for both imputed data and the complete case analyses.

Fig. 3: Weight (in kg) trajectory by mortality status post diagnosis of T2DM for patients without disease history.
figure 3

Weight trajectory estimates were adjusted for age at diagnosis, sex, smoking status, the incidence of chronic kidney disease or cancer or any CVD, and the use of insulin or sulphonylureas or GLP1RA within 2 years of diagnosis

Mortality rate and risk by BMI categories

Overall, 6% of the patients died during median 8 years of follow-up (n = 8226, Table 1). The median follow-up time was similar among all BMI categories, and separately for patients in the NWL and LBW groups. The number, proportions, and person-time (in years) of patients who died during follow-up under different BMI categories, separately for each weight change pattern before diagnosis, are presented in Table 2. Overall, patients with normal weight had significantly increased adjusted risk of mortality compared to those with grade 1 obesity (Fig. 2b).

Among patients with NWL before diagnosis (n = 117,469), the age-weighted mortality rate per 1000 person-years in normal weight patients at diagnosis was significantly higher (rate = 12.4; 95% CI: 11.4, 13.5) than for those who were grade 1 obese (rate = 9.7; 95% CI: 9.3, 10.1), grade 2 obese (rate 8.1; 95% CI: 7.6, 8.7), and grade 3 obese (rate 8.9; 95% CI: 8.2, 9.7) (Table 2). With grade 1 obese patients as reference, normal weight patients in the NWL group had 35% increased risk of mortality (Adjusted HR = 1.35; 95% CI: 1.17, 1.55; p < 0.01).

For patients in the LBW group, mortality rate 1000 person-years in normal weight patients at diagnosis was not significantly higher (rate = 11.0; 95% CI: 9.6, 12.7) than for those who were grade 1 obese (rate = 10.6; 95% CI: 9.7, 11.6), grade 2 obese (rate = 8.6; 95% CI: 7.4, 10.1), and grade 3 obese (rate 9.8; 95% CI: 8.2, 11.9). Subsequently, there was no significant association between BMI categories and mortality risk in the LBW group (all HR p > 0.05) (Table 2).

Sensitivity analyses

The mortality risk estimates were similar in subgroups of patients who did not develop cancer and those who never smoked. The extended risk analyses by incorporating HbA1c, blood pressure, and lipids at diagnosis as covariates, also revealed similar mortality risk estimates, separately for groups of patients with and without weight loss before diagnosis. Sensitivity analysis with identification of weight loss by Approach 2 (see appendix) also provided similar results. Furthermore, our estimates were not biased by inclusion of CVD, cancer, and CKD as time-varying covariates in our regression model.

Compared to grade 1 obese patients, normal weight patients in the age groups 41–50 years and 51–60 years had significantly higher mortality risk by 65% (95% CI of HR: 1.18, 2.28), 49% (95% CI of HR: 1.21, 1.83), respectively. Across all age groups, grade 2 or grade 3 obese patients did not have higher mortality risk compared to grade 1 obese patients (Appendix Table 2).

Discussion

In this longitudinal study of a large number of incident T2DM patients from the UK, we observed:1 a significant drop in body weight over the 6 months before diagnosis of T2DM in normal weight and overweight patients, followed by a marginal increases in body weight post diagnosis;2 no significant weight change over 24 months post diagnosis among normal weight patients who died;3 patients with normal body weight at time of T2DM diagnosis had a significantly higher adjusted rate and risk of all-cause mortality compared to grade 1 obese patients, and this was not explained by weight loss before diagnosis4, a significant age and BMI interaction, with elevated mortality risk for normal weight patients aged 41–60 years; and5 patients with BMI ≥ 35 kg/m2 at diagnosis did not have significantly higher mortality risk compared to grade 1 obese patients across all age groups.

One novel aspect of this study was the evaluation of 6-monthly longitudinal changes in body weight over 24 months post diagnosis of T2DM by mortality status and BMI at diagnosis. In the normal weight category, patients had an increasing weight trajectory over 24 months irrespective of mortality status, suggesting no sudden weight loss in these patients post-diagnosis. This observation coupled with the fact that underlying comorbidities/latent diseases were not over-represented in the normal weight group contradicts the assertion of possible weight loss due to underlying diseases11. We observed a marginal decrease in body weight during the 6 months post diagnosis of diabetes in overweight and obese patients, followed by a plateau, similar to that observed in other studies27,28. In the study by Aucott and colleagues, using ~30,000 obese or overweight Scottish adults with incident diabetes, weight change was not associated with mortality risk, while 36% reduced body weight at 2 years post-diagnosis27. Given the adjusted trajectories of body weight by mortality status over 2 years across BMI categories in our study (Fig. 3), weight change that occurs post diagnosis rather than pre-diagnosis is likely to be associated with long-term mortality risk.

The obesity paradox in T2DM is the phenomenon whereby significantly higher mortality risk is observed among those with normal body weight at diagnosis of T2DM, compared to those with obesity. Our finding of significantly higher mortality risk in normal weight T2DM patients at the time of diagnosis corroborates other findings and contributes to the current debate on the obesity paradox in T2DM2,3,5,29,30. We report an obesity paradox regardless of disease history at diagnosis, an observation previously reported by Thomas and colleagues5. Some researchers have suggested that the obesity paradox could be explained by unmeasured confounders (e.g., unrecognised underlying comorbidity/latent diseases) that lead to weight loss and are therefore over-represented in the normal weight group31,32,33. By considering the weight loss pattern before the diagnosis of T2DM as a potential confounder in the relationship between adiposity status at diagnosis and mortality risk, and by undertaking separate analyses for patients with and without co-morbid disease at diagnosis, our observation is unlikely to be biased by underlying diseases. Furthermore, a detailed exploration of the patterns of weight change over 24 months post diagnosis of diabetes establishes the robustness of our finding.

Our study reveals that patients who were obese at the time of T2DM diagnosis experienced a steady rise in body weight before diagnosis, an observation which is consistent with a previous study in Pima American Indians14. While only two studies either statistically modelled the trajectory of body weight or evaluated one-point observed weight 10 years prior to diagnosis of T2DM, our study explored the 6-monthly trajectory of observed body weight during the 36 months prior to diagnosis, accounted for prevalence of diseases, and assessed weight change over 24 months post diagnosis of diabetes15,34. We also note that normal weight and overweight patients experienced significant weight loss during 6 months before diagnosis of diabetes—a rather common, yet unexplained clinical manifestation. Our study identifies patients who consistently lost body weight and patients who remained weight neutral over 3 years before clinical diagnosis of diabetes. We found that, though a significantly larger proportion of the normal weight patients lost body weight before the diagnosis of T2DM, compared to overweight, grade 1 and grade 2 obese patients, weight loss before diagnosis was not associated with increased mortality in normal weight patients.

The strengths of this longitudinal study include the large number of incident T2DM patients with 8 years of median follow-up, a nationally representative cohort, a thorough assessment of the longitudinal trajectory of body weight before and post diagnosis of T2DM, and identification of weight loss patterns and comorbid conditions before diagnosis. Clinically diagnosed T2DM patients with a diagnosis from January 2000 were selected to ensure quality of diagnosis. Age at diagnosis was also restricted to a maximum of 70 years to avoid including older patients who were already at significantly increase mortality risk. We attempted to minimise possible confounding by adjusting for several possible confounders including antidiabetic treatment, cardio-protective medications, and smoking status while evaluating the cohort with no history of major diseases at diagnosis. However, electronic health records present challenges in terms of accuracy and completeness of the required data. The limitations of this study include non-availability of complete and reliable data on ethnicity and smoking cessation during follow-up, missing body weight data during the 36 months before diagnosis of diabetes, information on diet, exercise or weight lowering medications, and the potential residual confounders as is common in observational studies. Also, there is the potential for misdiagnosis, misclassification, and miscoding of diagnostic codes in electronic medical records35,36,37,38. We utilised other clinical data to minimise potential misclassification of T2DM (see Appendix section). Although we excluded all T2DM patients, who received insulin as their first anti-diabetes drug from our study cohort, some patients with T1DM might still be misclassified as having T2DM.

In conclusion, weight loss before the diagnosis of T2DM occurred independently of established severe disease conditions and was not associated with the observed increased mortality risk in normal weight patients with T2DM. While the cause of this excess mortality in T2DM who were normal weight at diagnosis remains unclear, it may reflect differences in the aetiology of diabetes in normal weight people and emphasises the importance of addressing risk factors for excess mortality in this group.