Background

The incidence of acute myocardial infarction is still high in developed countries, although figures are slowly declining [1]. Diabetes mellitus is a key risk factor in coronary heart disease [2]. The anatomy of coronary vessels in people with diabetes differs from that of people without diabetes, in that the distribution of the lesions is more widespread [3], thus potentially hampering complete revascularization and negatively impacting outcomes [4].

Older studies reported an association between diabetes and in-hospital mortality (IHM) associated with acute myocardial infarction that has persisted over time [5]. We previously addressed this topic in the Spanish population. Using data from hospital discharges before 2014, we showed that IHM in people admitted to Spanish hospitals for myocardial infarction was 15% higher among those with type 2 diabetes than among those without diabetes [6]. In these studies, the authors used the International Classification of Disease, Ninth Revision (ICD-9) for coding and did not differentiate between ST-elevation myocardial infarction (STEMI) and non–ST-elevation myocardial infarction (NSTEMI). Additional studies from Spanish researchers who analyzed STEMI and NSTEMI separately using the same database have been published, although these replicate our findings, since they accessed data extracted from the same period [7].

Clinical management of patients with myocardial infarction has changed in recent years. New drugs and safer drug-eluting stents have reduced the risk of thrombosis, enabling the comparison of results after various approaches, such as percutaneous coronary intervention (PCI) and coronary artery by-pass grafting (CABG) [8]. However, some authors have reported heterogeneous outcomes driven by the presence of diabetes [9]. This perception could potentially modify treating clinicians’ behavior when choosing between the diverse therapeutic options available to treat coronary heart disease in patients with diabetes.

We designed this study to obtain an overall and more recent picture of the clinical management of people admitted to Spanish hospitals for acute myocardial infarction and to analyze how diabetes mellitus can determine the choice of therapeutic procedures and hospital survival. Accordingly, we aimed to analyze the use of procedures and hospital outcomes during the period 2016–2022 among patients with type 1 diabetes, patients with type 2 diabetes, and patients without diabetes admitted with acute myocardial infarction (STEMI versus NSTEMI). We evaluated the diagnoses and procedures associated with IHM in this population and whether type 1 or type 2 diabetes was associated with IHM in people admitted for STEMI and NSTEMI.

Methods

Data source

We performed an epidemiological retrospective observational study using the Spanish National Hospital Discharge Database (SNHDD). The SNHDD is managed by the Spanish Ministry of Health, includes information from 99% of all public hospital discharges in Spain, and provides up to 20 diagnoses and 20 procedures for each hospital admission. Since 2016, the SNHDD has used the International Classification of Disease-Tenth Revision (ICD-10) for coding. More detailed information on the SNHDD is available online [10].

We analyzed data from all persons aged ≥ 18 years collected by the SNHDD over 7 consecutive years (January 1st, 2016, to December 31st, 2022). Our study population included patients discharged with a primary diagnosis of myocardial infarction (STEMI and NSTEMI). We used the specific ICD-10 codes shown in Supplementary Table 1. We stratified the study population according to the presence of type 1 diabetes, type 2 diabetes, and no diabetes. We excluded cases with missing information on age, sex, length of hospital stay (LOHS), and vital status at discharge.

Study variables

The primary outcomes of interest were IHM, that is, the percentage of patients who died during admission for each time-period evaluated, and LOHS. We sought information on the use of specific procedures during hospitalization, including PCI, CABG, thrombolytic therapy, and the need for a pacemaker, implantable cardioverter defibrillator, vasopressor drug, circulatory assist device, extracorporeal membrane oxygenation (ECMO), or mechanical ventilation (Supplementary Table 1). Patient variables included age and sex. We assessed comorbidity using the Charlson Comorbidity Index (CCI) and the methods for ICD-10–coded administrative databases described by Sundararajan et al. [11]. We also collected separate information on obesity, hypertension, lipid metabolism disorders, atrial fibrillation, cardiogenic shock, and previous myocardial infarction.

Statistical analysis

We performed the statistical analysis separately for STEMI and NSTEMI. Descriptive statistics for categorical variables are reported as percentages; continuous variables are expressed as means with standard deviation or median with interquartile range, as required. We compared means using the t test or the Mann-Whitney test and proportions using the Fisher exact test. We constructed eight multivariable logistic regression models separately for STEMI and NSTEMI and stratified by diabetes status (type 1 diabetes, type 2 diabetes, no diabetes, entire population) to identify which variables were significantly associated with IHM. We provide adjusted odds ratios (ORs) and 95% confidence intervals (95%CIs). We used the Wald statistic to enter the variables one by one and determine which independent variables were to remain in the final model. We compared the new models created by the incorporation of additional variables using the likelihood ratio test. We ruled out linearity and first order (two by two) interactions between the variables that we included in the model. We conducted the statistical analysis with Stata version 14 (Stata, College Station, Texas, USA) and we set statistical significance at p < 0.05 (two-sided).

Ethical aspects

The SNHDD database is anonymized and provided free of charge by the Spanish Ministry of Health after evaluation of an adequate research proposal [12]. Given the characteristics of this administrative database, the need for ethics committee approval or informed consent by participants is waived according to Spanish law.

Results

Clinical characteristics, procedures, and hospital outcomes for STEMI, 2016–2022

Spanish public hospitals reported 201,950 cases of STEMI during the period 2016–2022: 146,850 (72.7%) among people without diabetes, 1014 (0.5%) among people with type 1 diabetes, and 54,086 (26.8%) among people with type 2 diabetes (Table 1). Women accounted for 53,206 cases (26.3%). The age of the population without diabetes and with type 2 diabetes diminished significantly over time (p < 0.001). The proportion of patients who received thrombolytic therapy decreased in all groups: 7.7% vs. 3.9% (p < 0.001) among people without diabetes, 8.7% vs. 4.1% (p = 0.011) among people with type 1 diabetes, and 5.7% vs. 3.4% (p < 0.001) among people with type 2 diabetes. We recorded no differences for the rate of CABG. We observed higher rates of PCI among people without diabetes (60.4% vs. 68.6%; p < 0.001) and among people with type 2 diabetes (53.6% vs. 66.1%; p < 0.001), but not among people with type 1 diabetes (61.1% vs. 70.4%; p = 0.168). The use of circulatory assist devices and ECMO increased among people without diabetes (both p < 0.001). Over time, IHM declined among people without diabetes (7.5% in 2016 vs. 6.3% in 2022; p < 0.001) and among people with type 2 diabetes (10.7% in 2016 vs. 9.2% in 2022; p < 0.001).

Table 1 Evolution along time (2016–2022) of clinical characteristics, procedures, and hospital outcomes during hospital admission for ST-elevation myocardial infarction (STEMI; ICD-10) in Spain according to diabetes mellitus (DM) status (no DM, type 1 DM, type 2 DM)

Clinical characteristics, procedures, and hospital outcomes for NSTEMI, 2016–2022

Spanish hospitals reported 167,285 cases of NSTEMI during the period 2016–2022: 103,057 (61.6%) among people without diabetes, 980 (0.6%) among people with type 1 diabetes, and 63,248 (37.8%) among people with type 2 diabetes (Table 2). Women accounted for 51,647 cases (30.9%). Over time, the age of the population without diabetes diminished significantly (p < 0.001). Rates of CABG increased among people without diabetes (2.8% vs. 3.5%; p < 0.001) and among people with type 2 diabetes (3.7% vs. 5.0%; p < 0.001). The percentage of patients undergoing PCI increased among people without diabetes (43.7% vs. 45.7%; p < 0.001) and among people with type 2 diabetes (39.1% vs. 42.8%; p < 0.001). The use of circulatory assist devices increased among people without diabetes (p = 0.008), whereas the use of ECMO increased among people without diabetes (p = 0.006) and among people with type 2 diabetes (p = 0.046). We detected no variation in IHM during this period within any group.

Table 2 Evolution along time (2016–2022) of clinical characteristics, procedures, and hospital outcomes during hospital admission for non-ST-elevation myocardial infarction (NSTEMI; ICD-10) in Spain according to diabetes mellitus (DM) status (no DM, type 1 DM, type 2 DM)

Clinical characteristics, procedures, and hospital outcomes according to type of myocardial infarction and diabetes status

Among people admitted for STEMI, those without diabetes were more frequently men and had a lower CCI than people with diabetes (all p < 0.001) (Table 3). People with type 1 diabetes were significantly younger (mean age = 53.6 ± 13.0) than people without diabetes (64.0 ± 14.0 years) and people with type 2 diabetes (69.8 ± 12.4 years; p < 0.001). 5.0% of patients without diabetes had a code for cardiogenic shock, while the corresponding figures for those with T1DM and T2DM were 8.0% and 6.7%, respectively (p < 0.001). In all years studied, most cases of cardiogenic shock were present upon hospital admission (> 90%), and no significant changes in the prevalence of cardiogenic shock over time were observed.

Table 3 Clinical characteristics, procedures, and hospital outcomes according to myocardial infarction type (ST-elevation [STEMI] vs. non-ST-elevation myocardial infarction [NSTEMI]; ICD-10) among people with type 1 diabetes mellitus (DM), type 2 DM or no-DM in Spain (2016–2022)

Thrombolytic therapy and CABG were more frequently coded among patients with type 1 diabetes, whereas patients with type 2 diabetes less often underwent PCI (all p < 0.001). LOHS was higher for people with type 1 diabetes and for people with type 2 diabetes (p < 0.001). IHM was significantly higher among the population with type 2 diabetes (10.0%) than among the population without diabetes (6.7%) or with type 1 diabetes (6.4%) (p < 0.001).

Among people admitted for NSTEMI, those with diabetes were more frequently men and had a lower CCI than those without diabetes (all p < 0.001) (Table 3). People with type 1 diabetes were significantly younger (mean age 59.6 ± 12.9) than people without diabetes (68.5 ± 14.1 years) and people with type 2 diabetes (73.0 ± 11.3 years; p < 0.001). For NSTEMI patients without diabetes, cardiogenic shock was recorded in 1.3% of patients without diabetes, 4.1% of patients with T1DM, and 2.1% of those with T2DM (p < 0.001). As with STEMI cases, over 90% of NSTEMI patients experienced cardiogenic shock at the time of emergency room presentation, and no temporal trends in prevalence were observed. CABG was more frequently coded among patients with type 1 diabetes, whereas patients with type 2 diabetes less often underwent PCI (all p < 0.001). LOHS was higher for people with type 1 diabetes and people with type 2 diabetes (p < 0.001). IHM was significantly higher in people with type 2 diabetes (5.8%) than among people without diabetes (4.1%) or with type 1 diabetes (4.5%) (p < 0.001).

Variables associated with IHM during admission for STEMI

The multivariable logistic regression models showed that the variables associated with higher IHM in persons admitted for STEMI were female sex, advanced age, a higher number of comorbidities, cardiogenic shock, and need for mechanical ventilation or ECMO (Supplementary Table 2). Analysis of the whole study population revealed that lower IHM was associated with undergoing CABG (OR: 0.33 [0.27–0.40]) and PCI (OR: 0.34 [0.32–0.35]). In the STEMI population, IHM was 14% lower in 2022 than in 2016 (OR: 0.86 [0.80–0.93]). Type 2 diabetes was associated with a higher IHM in people admitted for STEMI (OR: 1.06 [1.01–1.11]).

Variables associated with IHM during admission for NSTEMI

The multivariable logistic regression models showed that the variables associated with higher IHM in people admitted for NSTEMI were female sex, advanced age, a higher number of comorbidities, cardiogenic shock, and need for mechanical ventilation or circulatory assist devices (Supplementary Table 3). Analysis of the whole study population revealed that lower IHM was associated with CABG (OR: 0.45 [0.38–0.53]) and PCI (OR: 0.24 [0.23–0.26]). In the entire population with NSTEMI, IHM remained stable when 2022 was compared with 2016 (OR: 0.97 [0.88–1.06]). Neither type 1 diabetes (OR: 1.09 [0.76–1.57]) nor type 2 diabetes (OR: 1.00 [0.95–1.05]) was associated with higher IHM in people admitted for NSTEMI.

Discussion

We found that the proportion of patients who received thrombolytic therapy decreased after admission for STEMI. The reasons underlying this finding are that evidence supports urgent PCI over thrombolytic therapy [13] and that skilled interventional cardiologists provide timely care in many hospitals in developed countries. Furthermore, circumstances such as diagnostic uncertainties, late presentation in the emergency department, a rise in the number of high-clinical-risk patients, and the increasing number of people with a high probability of bleeding could shift the balance in favor of primary PCI. A recent paper from D’Ascenzo F, et al., showed an overall low risk of both ischemic and bleeding complications within the first year after PCI for acute coronary syndrome [14]. However, these authors detected a trend to increasing bleeding risk beyond the fourth month after a PCI. Optimizing the balance between ischemic and bleeding risk still represents a challenge when treating patients undergoing PCI for an acute coronary syndrome.

In the context of STEMI, it did not come as a surprise to observe higher rates of PCI over time. This procedure is preferred owing to its less invasive nature and quicker recovery times than CABG and is considered the gold standard for STEMI where available [15]. In hospitals where primary PCI is not readily available without patient transfer, rates of thrombolytic therapy have been reported to be significant, since it is accepted that when PCI cannot be offered within a reasonable timeframe, thrombolytic treatment plus transfer to another facility for PCI is a reasonable option [16]. Indeed, older studies often reported similar mortality rates for both strategies [17]. We could not evaluate the rates of the diverse procedures stratified by the size of the hospitals because the data provided by the Ministry of Health were not sufficient to perform this analysis. Despite the incremental use of PCI in STEMI, rates of CABG did not decrease. Instead, CABG rates stabilized over time in STEMI, possibly reflecting the use of PCI as the default procedure for initial reperfusion to treat the culprit coronary lesion on presentation at the hospital, after which, if required, the patient undergoes CABG for multivessel disease [18]. This approach may change in the near future, when PCI becomes the main option for multivessel disease [19, 20].

In this study, we report an annual incidence of approximately 35,000 PCIs among patients admitted with STEMI or NSTEMI, translating to a rate of less than 1000 per 1,000,000 population. The PCI rate was approximately 67% for STEMI cases. This figure aligns with data reported for Spain in 2007 but is significantly lower than more recent rates documented in our country, which report PCI utilization in STEMI patients at around 80% [21, 22]. We hypothesize that the discrepancy between our findings and the higher PCI rates reported in the recent study may be attributed to the study populations of the studies. The other Spanish investigation analyzed data from a registry that involved contributions from 83 hospitals participating in data collection following the implementation of the acute myocardial infarction code by the Association of Interventional Cardiology of the Spanish Society of Cardiology [21, 22]. In contrast, our study encompasses all Spanish hospitals within the National Health System, regardless of hospital size, healthcare network characteristics, or the presence of an infarction code, which may account for the observed lower PCI rate. In NSTEMI, rates of PCI also increased over time. Updated clinical guidelines recommend PCI as a primary intervention for NSTEMI as well [23]. In contrast with our data for STEMI, rates of CABG in NSTEMI increased during the study period. Rates of CABG in NSTEMI may be affected by individual patient factors, regional variations, and specific healthcare system practices. The factors that potentially predispose physicians to perceive CABG as a better option than PCI to treat multivessel coronary disease include anatomic considerations, comorbidities such as diabetes mellitus and chronic kidney disease, and female sex [24]. Given the unstable nature of NSTEMI and the potential for threatened myocardium, many clinicians give even higher priority to successful revascularization than in STEMI [25], especially after the higher incidence rates of stroke reported with CABG have been reduced—if not eliminated—among patients with NSTEMI [26].

We noticed that in both STEMI and NSTEMI patients with type 2 diabetes less often underwent PCI. This disparity may be attributed to factors such as the higher prevalence of comorbidities in diabetic patients, which could complicate the decision-making process for PCI [27]. Additionally, there may be concerns about the potential risks and outcomes of PCI in diabetic individuals, leading to a more conservative approach to treatment. Furthermore, differences in access to healthcare, provider bias, and patient preferences could also determine the underutilization of PCI in this population. Addressing these disparities requires a comprehensive understanding of the unique challenges faced by diabetic patients with acute coronary syndromes and the development of tailored strategies to optimize their cardiovascular care and outcomes. For instance, the Syntax Score is a tool that helps to select the best strategy for specific patients with multivessel coronary disease [28, 29].

Patients with type 1 diabetes admitted for a myocardial infarction were younger than people without diabetes or people with type 2 diabetes. This may be the reason CABG was more frequently coded among patients with type 1 diabetes in both STEMI and NSTEMI. CABG removes large segments of the artery that would have added to the total risk of necrosis resulting from occlusion. With PCI alone, the probability of occlusion is not reduced in the non-stented regions of the vessel [30]. This reasoning may prompt multidisciplinary teams to favor CABG among people with type 1 diabetes and multivessel disease [31]. We admit that evidence on the short-term survival of type 1 diabetes patients after revascularization for myocardial infarction is scarce. Long-term survival after CABG in patients with type 1 diabetes has been reported to be worse than in the rest of the population [32]. Factors such as duration of exposure to hyperglycemia, abnormal vascular findings, and long-term inflammation may contribute to adverse outcomes among this population.

In the multivariate analysis, undergoing CABG or PCI was associated with a lower IHM in both STEMI and NSTEMI. The trend was not statistically significant for CABG in STEMI or for PCI or CABG in NSTEMI owing to the small number of cases among people with type 1 diabetes. The association between lower IHM and a more invasive approach has incentivized researchers in recent years to design studies to achieve physiology-guided complete revascularization among older patients admitted for a myocardial infarction [33].

IHM was 14% lower in 2022 than in 2016 among people admitted for STEMI. In contrast, we detected no changes in IHM over time in NSTEMI, as outlined elsewhere [34]. Nguyen et al. found that progressively lower times to coronary angiography accounted for the decreasing one-year mortality rates in STEMI [34]. This contrasts with findings for NSTEMI, where times to coronary angiography remained unchanged. The strategy of an early invasive coronary evaluation in high-risk NSTEMI cases, such as those identified by the GRACE risk score [35], may generate better clinical outcomes than a delayed invasive strategy [23, 36]. Regrettably, we had no access to this information in our database. Other research groups have identified low left ventricular ejection fraction and absence of PCI as factors associated with early mortality after hospital discharge among people admitted for NSTEMI [37]. The absence of change in IHM over time in NSTEMI—in contrast with STEMI—suggests that there may be several factors at play in the outcomes of these two types of myocardial infarctions.

Type 2 diabetes was associated with a higher IHM in people admitted for STEMI, but not in those admitted for NSTEMI. Older reports had already stated that IHM was associated with diabetes in acute coronary syndromes [38, 39], although even recent studies do not specifically address the possible differences in associations between type 2 diabetes and IHM in STEMI vs. NSTEMI [40]. We do not have an unequivocal explanation for this finding. Simply accounting for type 2 diabetes as a variable without establishing risk categories according to degree of metabolic control (hemoglobin A1c or the triglyceride-glucose index) can mask significant associations for subcategories of the variable [41]. In addition, residual confounding may underlie the association between type 2 diabetes and IHM only in the STEMI model, whilst potential confounders were fully accounted for in the NSTEMI model. Notwithstanding, biological or therapeutical differences could be playing a role in the influence exerted by type 2 diabetes among people with these two forms of myocardial infarction: for example, the percentage of people with NSTEMI and acute total coronary occlusion [42] or the higher percentage of patients with type 2 diabetes who underwent CABG in NSTEMI than in STEMI [43].

Our study is subject to a series of limitations. First, the data are supported by the information that physicians recorded in the discharge report, which also depends on manual coding by administrative staff. However, Spanish researchers have proven the validity of this dataset for research purposes among patients admitted with coronary syndrome [44]. The anonymity of the database precludes detecting whether the same patient was admitted to hospital more than once during each year. Second, the SNHDD is an administrative database that was not designed for clinical research, as it only records up to 20 diagnoses and 20 procedures coded using the ICD-10 system. Consequently, it lacks detailed information on specific treatment techniques such as stent types, radial or femoral access, reperfusion success, pharmacotherapy (including specific antiplatelet or anticoagulant therapies and treatments for diabetes), and periprocedural complications. The absence of data on anticoagulant treatment in patients with atrial fibrillation undergoing PCI is significant and should be addressed in future studies with more detailed clinical information [45]. Third, the database does not collect data on the physician performing the PCI, making it impossible to evaluate the impact of operator experience. Forth, were also unable to analyze the number of patients who underwent rescue PCI following failed thrombolysis, as the ICD-10 coding system does not include a specific code for rescue PCI. Fifth, regrettably, the SNHDD does not provide information on the exact time of hospital admission or the timing of treatment interventions, which prevents the calculation of treatment delays. Sixth, in this study, the impact of the COVID-19 pandemic on the organization of procedures, treatment delays, and mortality was not assessed. Although COVID-19 may have influenced delayed patient presentation to the emergency department with acute coronary syndrome, this effect was likely confined to the initial months of the pandemic in early 2020. ST-elevation myocardial infarction (STEMI) in hospitalized patients with COVID-19 is rare but has been associated with poor in-hospital outcomes [46]. However, COVID-19 was not linked to increase in-hospital mortality (IHM) among patients with diabetes admitted for heart conditions, as demonstrated in previous reports from Spain [47]. Furthermore, Tokarek et al., utilizing a large database, supports our decision not to include COVID-19 as a covariate as they reported that a COVID-19 diagnosis did not affect mortality or the prevalence of other periprocedural complications, regardless of the timing of the intervention [48]. Finally, residual confounding cannot be discharged and some associations, particularly concerning type 1 diabetes, may not have reached statistical significance due to the relatively low number of events observed.

Despite these limitations, hospital discharge databases have been utilized in Spain and other countries to study time trends and the epidemiology of myocardial infarction and its treatment [5,6,7, 27, 49,50,51,52,53,54,55].

Conclusions

During 2016–2022, the frequency of PCI increased among people admitted for STEMI and for NSTEMI to Spanish hospitals, whereas that of CABG remained stable in STEMI and increased in NSTEMI. Patients with type 2 diabetes less often underwent PCI in both STEMI and NSTEMI. Undergoing CABG or PCI was associated with lower IHM in both STEMI and NSTEMI. IHM was 14% lower in 2022 than in 2016 only in STEMI, although we detected no changes in IHM in NSTEMI. Lastly, type 2 diabetes was associated with a higher IHM in people with STEMI, but not in NSTEMI. These data contribute valuable information about the procedures and short-term outcomes of myocardial infarction in recent years. We need additional studies to better understand the heterogeneity of coronary syndromes among people with diabetes and to improve the clinical management of affected patients.