Introduction

Type 2 diabetes mellitus (T2DM) is a serious chronic disease. Its prevalence has been steadily increasing over the past few decades but has risen faster in low- and middle-income countries than in high-income countries [1]. T2DM, if not treated properly, can lead to a wide range of serious health problems [2]. T2DM increases patient risk for cardiovascular diseases [3], nephropathy [4], neuropathy [5], retinopathy [6], and foot problems [7]. Fragility fractures have recently been incorporated into this collection [8, 9].

Fragility fractures are those caused by a low impact, such as a fall from a height corresponding to standing, mainly in the humerus, wrist, vertebrae, and hip [10]. Fragility fractures can be seen as a minor complication but have a great socio-economic impact due to direct and indirect costs [11, 12]. Moreover, fractures, especially hip fracture, have been associated with significant decrements in the patient’s quality of life, functional status, and life expectation [13]. In most occasions, the best treatment option for hip fractures is surgical [14]. Surgical treatment attempts to recover the function and quality of life of the patient prior to fracture. However, results will depend on age, comorbidity level, and the patient’s previous ambulation [15]. Hip fracture surgery techniques are somewhat aggressive and require expert hands to avoid secondary complications [16] such as excessive intraoperative bleeding, infections, or functional dependency [17]. Complications in older patients or with a fragile status of health could be fatal [18].

Thus, seeing T2DM as a progressive chronic illness, the increased hip fracture risk could have severe consequences in the patient’s life. However, there is little known on the effect of T2DM status on subsequent post-fracture mortality. The aim of this study was to estimate the impact of T2DM on hip fracture, hip fracture–free death, and post-hip fracture mortality (Fig. 1) in a large population-based cohort using multi-state [19, 20] model analysis.

Fig. 1
figure 1

Illness-death model

Methodology

We conducted a population-based cohort study using data from the SIDIAP Database (www.sidiap.org). SIDIAP is an anonymized clinical database that contains information as coded by general practitioners in primary care practices in Catalonia, Spain. SIDIAP is representative of the overall population covering more than five million participants (80% of the Catalan population) [21]. SIDIAP is a validated source of information for epidemiological research and has been previously used to study T2DM as well as for fragility fractures [8, 22,23,24].

Eligible participants were men and women aged between 65 and 80 years with a diagnosis of T2DM on 1 January 2006. Up to two non-T2DM individuals, per each T2DM participant included, were matched by year of birth, sex, and primary care facility. All participants were followed up from 1 January 2006 until the earliest of death, transfer out/migration, or end of the study (31 December 2013).

Main outcomes were incident hip fracture and all-cause mortality. The date of hip fracture was defined as the date general practitioners registered the date of the event in SIDIAP. The date of death was defined as the date of death in the Spanish Mortality Register linked to SIDIAP database. Socio-demographics data, time from T2DM onset, diagnoses as coded using International Classification of Diseases, Tenth Revision (ICD-10), and clinical measurements amongst other clinical information were also included in the database. A validated list of ICD-10 codes was used to identify T2DM status, hip fracture, death, and confounding factors [22].

Statistical analysis

Baseline characteristics of T2DM and non-T2DM participants were described using mean and standard deviation for continuous variables and frequencies for categorical variables. We used multi-state [19] models to compare several transition risks in T2DM and non-T2DM participants. Multi-state models are time-inhomogeneous Markov processes, where the future state of an individual at time t only depends on the current time s (where s < t) and on individual’s state [25]. A progressive illness-death model without recovery was planned (Fig. 1) with the following transitions states: baseline to hip fracture, baseline to hip fracture–free death, and hip fracture to death (i.e. post-fracture mortality). Multi-state models allow simultaneous modelling of these different transitions and estimate cause-specific hazard ratios (HRs), cumulative hazards, and transition probabilities. Potential confounders considered for adjustment were those known clinically relevant for hip fracture risk, such as age, sex, previous major osteoporotic fracture, and previous glucocorticoid use, and for death risk in T2DM and post-hip fracture, such as previous nephropathy, previous ischemic heart disease (IHD), and previous cerebrovascular disease (CVD). All confounding factors were measured at baseline except age which was treated as a time-dependent factor.

Results from the models were presented as cause-specific hazard ratios for hip fracture, hip fracture–free death, and post-hip fracture death according to T2DM status. Graphs of cumulative incidence functions of each state (death, hip fracture, and no event until end of follow-up) were also presented. All analyses were stratified by sex, which otherwise violated proportionality of hazards (PH). PH assumption was tested graphically with the log-log plot of survival and analytically with the test of proportional hazards. The 95% confidence intervals were reported for all estimates. Statistical significance was defined at the P < 0.05 level. All statistical analyses were conducted using R version 3.4.5 for Windows using the mstate package.

Results

A total of 45,313 people aged between 65 and 80 years with a diagnosis of T2DM on 1 January 2006 and 88,729 matched non-diabetic subjects were eligible. Individuals not diagnosed with T2DM who were either users of anti-T2DM drugs or with two measures of glycated haemoglobin above 6.5% were excluded. Individuals with a recorded hip fracture or death on index date were excluded, irrespective of T2DM. Participants that ended unmatched (i.e. with no matched peer remaining) because of the above exclusion criteria were also excluded. Finally, a total of 44,802 T2DM and 81,233 matched non-T2DM participants were included in the study (Fig. 2). Participants were followed for a median (interquartile range) of 8 (7.3 to 8) years representing a total of 880,867 person-years (p-y) of observation: 304,538 p-y T2DM and 576,329 p-y non-T2DM.

Fig. 2
figure 2

Flow of participants through the study

In Table 1, baseline demographic and clinical characteristics of study participants are described stratified by T2DM status. Participants with T2DM had a higher prevalence of obesity, cataracts, cardiovascular disease, neuropathy, and nephropathy, and non-T2DM participants had a higher prevalence of anti-osteoporosis drugs and calcium + vitamin D complements. But similar prevalence was observed in terms of previous osteoporotic major fracture or glucocorticoid prescriptions.

Table 1 Baseline characteristics of the SIDIAP cohort, stratified by T2DM status

A total of 23,818 participants (10,745 T2DM and 13,073 non-T2DM) died hip fracture–free. Median time to death was 4.2 (interquartile range 1.9 to 6.2) years. Unadjusted mortality rates (in hip fracture–free participants) in T2DM participants were 36.1 (95% CI 35.4 to 36.7) per 1000 p-y and 23.0 (95% CI 22.6 to 23.4) per 1000 p-y for non-T2DM. In Fig. 3a, mortality rates are presented per age and T2DM status in men and women.

Fig. 3
figure 3

Hip fracture, hip fracture–free death, and death after hip fracture incidence per 1000 person-years by T2DM status and sex

A total of 3317 participants (1424 T2DM and 1893 non-T2DM) suffered an incident hip fracture in the study period. Median (IQR) time from baseline to hip fracture was 4.8 (2.9 to 6.5) years. Unadjusted hip fracture incidence rates in T2DM and non-T2DM participants were 4.7 (95% CI 4.4 to 4.9) per 1000 p-y and 3.3 (95% CI 3.1 to 3.4) per 1000 p-y, respectively (Fig. 3b).

Of those 3317 participants who broke a hip, 838 (428 T2DM and 410 non-T2DM) subsequently died. Median (IQR) time from hip fracture to death was 1.5 (0.6 to 3) years. Unadjusted mortality rates in those participants who broke a hip were 66.5 (95% CI 60.4 to 73.0) per 1000 p-y and 46.8 (95% CI 42.2 to 51.5) per 1000 p-y for T2DM and non-T2DM participants, respectively (Fig. 3c).

Multi-state Cox model results are presented in Table 2, which shows the estimated HR, unadjusted and adjusted, for each transition, stratified by sex. After adjusting for age, previous IHD, previous CVD, previous major fracture, previous nephropathy, corticoid prescriptions, calcium + vitamin D, and anti-osteoporosis drugs, T2DM men had a 32% higher hip fracture–free mortality risk and a 24% excess risk of hip fracture, compared with matched non-T2DM during follow-up. In addition, T2DM men were at a 28% higher risk of dying after suffering a hip fracture. After adjusting for the same risk confounders, T2DM women appeared at a 72% higher risk of hip fracture–free death, at a 48% more risk of hip fracture, and at a 57% excess risk of post-hip fracture mortality during the follow-up period.

Table 2 Raw and adjusted hazard ratio from Cox regression multi-state model for men and women

Cumulative incidence functions for each transition can be obtained from multi-state models. Thus, for a referent participant, it is possible to estimate the probability of being in each transition state (Fig. 4). Given 1000 T2DM women aged 72 and with none of the adjusting factors (previous IHD, previous CVD, previous major fracture, previous nephropathy, corticoid prescriptions, calcium + vitamin D, and anti-osteoporosis drugs) 5 years later from index date, 14 would break a hip and remain alive, 3 would break a hip and die, 83 would die hip fracture–free, and 900 would remain alive without fracturing (Fig. 4). Also, given 1000 T2DM men aged 72 years and with none of the adjusting factors 5 years later from index date, 5 would break a hip and remain alive, 2 would break a hip and die, 140 would die hip fracture–free, and 853 would remain alive without fracturing. Non-parametric estimates of cumulative hazards of the three transitions show also that T2DM participants with respect to non-T2DM had higher risks for hip fracture, hip fracture–free death, and death after hip fracture (supplemental figures).

Fig. 4
figure 4

Stacked prediction probabilities for a T2DM and non-T2DM reference (women or men aged 72 with none of the model adjusting factors (previous IHD, previous CVD, previous major fracture, previous nephropathy, corticoids prescriptions, calcium + vitamin D, and anti-osteoporosis drugs)) participant by sex

Discussion

This population-based cohort study shows that T2DM participants were at higher risk of death, of hip fracture, and of dying after suffering a hip fracture than matched non-T2DM participants. Estimated event probabilities at 5 years suggest that the risk of a hip fracture in T2DM participants is not negligible and neither the subsequent death risk. To our knowledge, this study is the first to explore simultaneously the competing role of death on the relationship of T2DM and hip fracture and the impact of hip fracture on death risk in T2DM participants.

Excess mortality in T2DM participants is well known and mainly associated to a higher risk to develop cardiovascular disease, blindness, kidney failure, and lower limb amputation. A recent meta-analysis [26] of 35 studies about mortality in T2DM participants showed an 85% increase risk for all-cause mortality (pooled HR 1.85, 95% CI 1.79–1.92). In men, excess of mortality was 57% and two-fold increase in women. In our study, this excess of mortality was similar as it was 40% in men and 85% in women.

Different systematic reviews and meta-analyses of observational studies have found a positive association between T2DM and hip fracture with a high variation in estimated effect: Janghorbani et al. [27] found a two-fold increase of hip fracture risk in T2DM men compared with non-T2DM and an almost three-fold increase of hip fracture risk in T2DM men compared with non-T2DM; Jia et al. [28] found an 8% increase of hip fracture risk in T2DM participants compared with non-T2DM; Moayeri et al. [29] found a 20% increase of hip fracture risk in T2DM participants compared with non-T2DM; Dytfeld and Michalak [30] have also shown that post-menopausal women with T2DM have higher hip fracture risk with a 30% increase compared with non-T2DM. Furthermore, a significant heterogeneity was found between studies in each meta-analysis. Explanations of this heterogeneity were in part due to differences on participant’s age, duration of diabetes, differences on follow-up, and local hip fracture incidence. Another key point is the role of death as a competing event, especially in older participants, largely unaccounted for in previous studies. A recent study has found that hip fracture risk in T2DM individuals has been overestimated due to the competing effect of death [31].

Mortality after hip fracture has been described before in general population [32,33,34,35]. In these studies, key preoperative characteristics associated with the risk of mortality up to 12 months were age, male gender, previous fracture functional status, and some comorbidity such as dementia or cognitive impairment, diabetes, cancer, chronic obstructive pulmonary disorder, and cardiac disease. Risk for death was found largely dependent on age. However, at any given age, excess of mortality after hip fracture was found higher in men than in women. In these studies, diabetes was identified as a risk factor in three studies [18, 36, 37], and conclusion was that T2DM individuals have a 44% excess risk of death compared with non-diabetic peers along the first year after hip fracture (pooled HR 1.44, 95% CI 1.13to 1.82). Our results are largely consistent with these published studies.

A relevant association between some anti-diabetic drugs and fracture risk has been described earlier [38, 39]. Further research on the role of anti-diabetic drugs in transition risks could be of great interest. Ferrari et al. [40] have recently proposed an algorithm for the management of bone fragility in diabetic subjects. The authors suggest treating all diabetic subjects with a previous history of hip, vertebral, or with two or more other fragility fractures. They also defend the use of a lower threshold for T-score and a modified version of FRAX to estimate 10-year risk to identify and treat diabetic subjects at increased fracture risk. Our findings, especially on increased death risk after a hip fracture, support these efforts to identify those subjects at increased fracture risk to prevent these from happening.

Individuals with serious chronic illness such as T2DM can experience different relevant events along progression. Assumptions need to be made about dependencies between events. Standard survival analysis involves the analysis of time to an event. Whatever was this event, any other event that precludes the interest event can bias results [41]. Multi-state analysis [19] adds complexity by allowing the analysis of several events for the same individual. Application of multi-state analysis is sparse in T2DM medical literature. Huang et al. [42] used multi-state models to investigate in chronic hepatitis C virus–infected participants the effect of T2DM on the development of hepatocellular carcinoma (HCC) and all-cause mortality after HCC.

Our study has some limitations. The data come from primary care records, no validation of each individual fracture was done, and ICD-10 does not distinguish between traumatic and fragility fractures. However, in SIDIAP, coding of fractures has been compared with hospital databases and shown to be highly specific (> 95% for all fracture sites tested) and moderately sensitive (almost 70% for hip fractures) [23]. This cohort was restricted to individuals older than 65, which imposed a left truncation to the observed time. Also, T2DM patients included prevalent cases, with a variable time of disease duration, a higher prevalence of obesity and cardiovascular risk, and a lower prevalence of use of anti-osteoporosis drugs and calcium + vitamin D supplements. Obesity is a well-known risk factor for the development of T2DM [43], and it is therefore not surprising that it was more commonly seen in our T2DM cohort. Similarly, cardiovascular disease is a known complication related to diabetes and appeared to be more prevalent in the T2DM population [44]. Additionally, a lower prevalence of anti-osteoporosis drugs and calcium/vitamin D supplements has been described in the T2DM previously [45]. This may be related to the underestimation of fracture risk in these subjects and to the lack of evidence available on their anti-fracture effectiveness in diabetic patients [46]. We adjusted for all these factors in our analysis, but yet residual confounding and related bias could persist due to misclassification or incomplete data in the estimation of the hazard ratios for mortality and death according to T2DM status. It is however also true that some of these factors could be in the causal pathway in the association between T2DM and these events, and overadjustment would not be desirable either.

Moreover, a recent work has described that 4 in 5 major fractures recorded in SIDIAP are due to fragility, with higher proportions for hip (92%) and vertebral (88%) fractures [22]. Residual confounding is possible in our study, as some potential risk factors for fracture such as bone mineral density or parental hip fracture history were not available in the database. However, T2DM participants are being associated with a higher bone mineral density [47].

In summary, we conclude that T2DM participants are at higher risk of hip fracture–free death, hip fracture death, and post-hip fracture death, and all these risks are higher in women. Multi-state analysis is a useful technique to analyse, compare, and estimate risks in progression chronic illness. Use of this methodology to assess and compare effectiveness of different therapeutic strategies (on men and women) on all these risks transitions is a must.