Association of multiple glycemic parameters at intensive care unit admission with mortality and clinical outcomes in critically ill patients
In critically ill patients, hyperglycemia is an adaptive metabolic response to acute stress , . Optimal glycemic targets in the ICU setting are controversial and seem to be related to previous patient metabolic status – . As glycated hemoglobin (HbA1c) is not affected by the onset of acute illness, it can be used to estimate chronic glycemic control in critically ill patients . In the intensive care setting, patients with higher HbA1c have higher mortality , . However, patients with poor chronic glycemic control have worse outcomes when treated with intensive glycemic control , suggesting that chronic hyperglycemia might be able to generate cellular mechanisms that protect against damage mediated by acute hyperglycemia during critical illness . Therefore, the question is more complex than selecting the “optimal glycemic target”, as the interplay between multiple domains of glycemic control might be more relevant. In this sense, glycemic variability, which reflects the magnitude of glycemic excursions during the day, has been associated with unfavorable outcomes in critical illness, including higher mortality , . In addition, to separate preexisting hyperglycemia from stress-induced hyperglycemia (elevated blood glucose that reverts to normal after disease and inflammation subsides), the glycemic gap and the stress hyperglycemia ratio (SHR) have been proposed as predictors of adverse outcomes in the ICU. The glycemic gap, defined as the difference between blood glucose at ICU admission and the estimated mean blood glucose derived from HbA1c values, is associated with worse prognosis in specific populations of critically ill patients, such as patients with acute myocardial infarction, community-acquired pneumonia, and hepatic abscess – . Moreover, a glycemic gap above 80 mg/dL is associated with higher hospital mortality in critically ill patients with DM , but its value as a prognostic tool in mixed medical-surgical sample of critically ill subjects is unknown. The SHR is calculated by dividing the blood glucose on admission by the estimated average glucose derived from HbA1c. Studies suggest that an SHR > 1.1 is a better predictor for worse outcomes in critical illness than the absolute mean blood glucose . Within this context, the aim of the present study is to investigate the association of multiple glycemic parameters (glycemic gap, hypoglycemia, hyperglycemia, glycemic variability, and SHR) at ICU admission with clinical outcomes in critically ill patients with and without diabetes. The primary endpoint was mortality. Secondary endpoints were need for renal replacement therapy (RRT), incidence of shock, need for mechanical ventilation (MV), time spent on MV, length of stay (LOS) in the hospital, LOS in the ICU, and need for ICU readmission. 

Study population characteristics A total of 542 consecutive patients admitted to the ICU were included in the study. Their main characteristics are summarized in Supplementary Table . Briefly, 52.5% were male, and the mean age was 59 ± 15 years; 42.4% were admitted to ICU from the emergency department. ICU admissions were for medical reasons in 84.3% and for surgical reasons in 15.7%, with acute respiratory failure as the leading cause (23.6%). The most common primary coexisting condition was hypertension (54%), followed by DM (30%). Mean serum glucose at admission was higher in nonsurvivors than in survivors (146 ± 73 vs. 132 ± 60 mg/dL, p = 0.023), but HbA1c was not (5.8 ± 1.7 vs. 5.5 ± 1.4% p = 0.058). The overall mortality rate was 38.2%. When analyzing patients with DM separately, the mortality rate was similar regardless of preexisting DM (43% vs. 38.2%; p = 0.193). In patients with DM (n = 163; n = 4 type 1 DM; n = 159 type 2 DM), mean blood glucose and HbA1c were similar in survivors and nonsurvivors (mean blood glucose: 166 ± 87 vs. 187 ± 96, p = 0.16; HbA1c 6.8 ± 1.8% vs. 6.9 ± 2.4, p = 0.705). Glycemic parameters and mortality The glycemic gap varied widely, from −159 to 400, with a median value of 11 (−15 to 42) mg/dL in the overall population and no difference between survivors and nonsurvivors was observed (Fig. ). When analyzing patients with DM separately, the glycemic gap was 13 (−37 to 61) mg/dL, and no differences were observed between survivors and nonsurvivors. Similarly, in patients without preexisting DM, the glycemic gap was not different in survivors and nonsurvivors. When stratifying patients by a glycemic gap cutoff of 80 mg/dL, a trend toward higher mortality was observed in subjects with wider glycemic gaps (49% vs. 37%; p = 0.089). Data related to glycemic gap cutoff of >40 mg/dL and >60 mg/dL are summarized in Supplementary Table . More patients who died had hypoglycemia (54.8% vs. 35.8%, p = 0.004) and hyperglycemia (44.3% vs. 34.9%, p = 0.031) compared to survivors. In the entire sample, mean glycemic variability was 67 (41 to 112) mg/dL, with higher values in nonsurvivors (Fig. ). This difference is not demonstrated in patients with preexisting DM, but is clearly seem in patients without DM. When patients with a glycemic variability cutoff of 40 mg/dL were analyzed in separate, no difference in mortality was observed in subjects with higher glycemic amplitudes (34% vs. 39%; p = 0.228). Data related to variability >60 mg/dL and >80 mg/dL are summarized in Supplementary Table . Overall SHR was 1.1 (±0.5), with no difference between survivors and nonsurvivors (Fig. ), independently or preexisting DM or not. Glycemic parameters and other outcomes When comparing patients with glycemic gap above and below 80 mg/dL, the group with higher values had increased need for RRT and a higher incidence of shock (Table ). The presence of hypoglycemia within the first 24 hours of ICU admission was associated with increased need for RRT, increased need for MV, and higher incidence of shock. Length of hospital stay was shorter in this population. The presence of hyperglycemia on admission was associated with increased need for MV. Glycemic variability during the first 24 hours of admission was associated with an increased need for RRT and a higher incidence of shock. These results are summarized in Table and Supplementary Table . SHR > 1.1 was associated with greater need for MV, but with a shorter time spent on MV and longer ICU stay (Table ). Interestingly, no glycemic control parameters were associated with the need for ICU readmission (Tables and ). Magnitude of the association between glycemic parameters and outcomes Figure presents the relative risks (RR) for outcomes according to each glycemic parameter. Glycemic gap >80 mg/dL was associated with an increased need for RRT and significantly increased the incidence of shock. Mean blood glucose increased risk of death, but HbA1c did not. Hypoglycemia was the parameter with the highest RR for mortality, followed by hyperglycemia and glycemic variability. Hypoglycemia also yielded the highest RR for the need for RRT. Glycemic variability was also associated with an increased need for RRT. Besides glycemic gap >80 mg/dL, two other glycemic parameters significantly increased the incidence of shock: hypoglycemia and glycemic variability. Regarding the need for MV, hypoglycemia was associated with the highest risk, followed by hyperglycemia. Glycemic variability also increased the need for MV. No glycemic parameter was associated with risk of ICU readmission, as shown in Supplementary Fig. . Cox regression multivariate analysis with adjustment for SAPS 3 was calculated for the glycemic parameters associated with mortality in the univariate models. Three glycemic parameters were associated with increased mortality in the univariate analysis: hypoglycemia (Table ), hyperglycemia (Table ) and glucose variability (cutoff >60 mg/dL and >80 mg/dL, Supplementary Table ). Hypoglycemia and hyperglycemia remained associated with mortality after adjustments (HR 1.68; 95%CI 1.16 to 2.44, p = 0.006 and HR 1.37; 95%CI 1.04 to 1.81, p = 0.026, for hypoglycemia and hyperglycemia, respectively) (Fig. ), but glycemic variability did not (HR 1.14; 95%CI 0.86 to 1.51, p = 0.366 for variability >60 mg/dL and HR 1.25; 95%CI 0.95 to 1.64, p = 0.104 for variability >80 mg/dL). 

A total of 542 consecutive patients admitted to the ICU were included in the study. Their main characteristics are summarized in Supplementary Table . Briefly, 52.5% were male, and the mean age was 59 ± 15 years; 42.4% were admitted to ICU from the emergency department. ICU admissions were for medical reasons in 84.3% and for surgical reasons in 15.7%, with acute respiratory failure as the leading cause (23.6%). The most common primary coexisting condition was hypertension (54%), followed by DM (30%). Mean serum glucose at admission was higher in nonsurvivors than in survivors (146 ± 73 vs. 132 ± 60 mg/dL, p = 0.023), but HbA1c was not (5.8 ± 1.7 vs. 5.5 ± 1.4% p = 0.058). The overall mortality rate was 38.2%. When analyzing patients with DM separately, the mortality rate was similar regardless of preexisting DM (43% vs. 38.2%; p = 0.193). In patients with DM (n = 163; n = 4 type 1 DM; n = 159 type 2 DM), mean blood glucose and HbA1c were similar in survivors and nonsurvivors (mean blood glucose: 166 ± 87 vs. 187 ± 96, p = 0.16; HbA1c 6.8 ± 1.8% vs. 6.9 ± 2.4, p = 0.705). 

The glycemic gap varied widely, from −159 to 400, with a median value of 11 (−15 to 42) mg/dL in the overall population and no difference between survivors and nonsurvivors was observed (Fig. ). When analyzing patients with DM separately, the glycemic gap was 13 (−37 to 61) mg/dL, and no differences were observed between survivors and nonsurvivors. Similarly, in patients without preexisting DM, the glycemic gap was not different in survivors and nonsurvivors. When stratifying patients by a glycemic gap cutoff of 80 mg/dL, a trend toward higher mortality was observed in subjects with wider glycemic gaps (49% vs. 37%; p = 0.089). Data related to glycemic gap cutoff of >40 mg/dL and >60 mg/dL are summarized in Supplementary Table . More patients who died had hypoglycemia (54.8% vs. 35.8%, p = 0.004) and hyperglycemia (44.3% vs. 34.9%, p = 0.031) compared to survivors. In the entire sample, mean glycemic variability was 67 (41 to 112) mg/dL, with higher values in nonsurvivors (Fig. ). This difference is not demonstrated in patients with preexisting DM, but is clearly seem in patients without DM. When patients with a glycemic variability cutoff of 40 mg/dL were analyzed in separate, no difference in mortality was observed in subjects with higher glycemic amplitudes (34% vs. 39%; p = 0.228). Data related to variability >60 mg/dL and >80 mg/dL are summarized in Supplementary Table . Overall SHR was 1.1 (±0.5), with no difference between survivors and nonsurvivors (Fig. ), independently or preexisting DM or not. 

When comparing patients with glycemic gap above and below 80 mg/dL, the group with higher values had increased need for RRT and a higher incidence of shock (Table ). The presence of hypoglycemia within the first 24 hours of ICU admission was associated with increased need for RRT, increased need for MV, and higher incidence of shock. Length of hospital stay was shorter in this population. The presence of hyperglycemia on admission was associated with increased need for MV. Glycemic variability during the first 24 hours of admission was associated with an increased need for RRT and a higher incidence of shock. These results are summarized in Table and Supplementary Table . SHR > 1.1 was associated with greater need for MV, but with a shorter time spent on MV and longer ICU stay (Table ). Interestingly, no glycemic control parameters were associated with the need for ICU readmission (Tables and ). 

Figure presents the relative risks (RR) for outcomes according to each glycemic parameter. Glycemic gap >80 mg/dL was associated with an increased need for RRT and significantly increased the incidence of shock. Mean blood glucose increased risk of death, but HbA1c did not. Hypoglycemia was the parameter with the highest RR for mortality, followed by hyperglycemia and glycemic variability. Hypoglycemia also yielded the highest RR for the need for RRT. Glycemic variability was also associated with an increased need for RRT. Besides glycemic gap >80 mg/dL, two other glycemic parameters significantly increased the incidence of shock: hypoglycemia and glycemic variability. Regarding the need for MV, hypoglycemia was associated with the highest risk, followed by hyperglycemia. Glycemic variability also increased the need for MV. No glycemic parameter was associated with risk of ICU readmission, as shown in Supplementary Fig. . Cox regression multivariate analysis with adjustment for SAPS 3 was calculated for the glycemic parameters associated with mortality in the univariate models. Three glycemic parameters were associated with increased mortality in the univariate analysis: hypoglycemia (Table ), hyperglycemia (Table ) and glucose variability (cutoff >60 mg/dL and >80 mg/dL, Supplementary Table ). Hypoglycemia and hyperglycemia remained associated with mortality after adjustments (HR 1.68; 95%CI 1.16 to 2.44, p = 0.006 and HR 1.37; 95%CI 1.04 to 1.81, p = 0.026, for hypoglycemia and hyperglycemia, respectively) (Fig. ), but glycemic variability did not (HR 1.14; 95%CI 0.86 to 1.51, p = 0.366 for variability >60 mg/dL and HR 1.25; 95%CI 0.95 to 1.64, p = 0.104 for variability >80 mg/dL). 

In this sample of unselected, prospectively followed critically ill patients, including those with and without preexisting diabetes, multiple glycemic parameters at ICU admission were associated with worse outcomes. Higher glycemic gap, a marker of stress-induced hyperglycemia, increased the need for RRT and incidence of shock, but had not impact on mortality. The presence of hypoglycemia in the first 24 hours of ICU admission was associated with the highest RR for worse outcomes, including increased mortality; a single episode of hypoglycemia doubled the risk of death and increased the incidence of shock and the need for RRT threefold. Additionally, hyperglycemia at ICU admission increased the risk of mortality by approximately 50%. Both hypoglycemia and hyperglycemia were independently associated with mortality. The association between hyperglycemia and mortality in acutely ill patients, especially in those without diabetes, is well documented in the literature , . However, it is still not clear if hyperglycemia is a marker of disease severity or a determinant of prognosis by itself. In our study, the fact that hyperglycemia was independently associated with mortality corroborates the later. Furthermore, there is physiological plausibility to justify how high glucose levels contribute to worse outcomes, for instance, the deleterious effects of hyperglycemia on immune system function and the increased proteolysis producing lean tissue breakdown . These two mechanisms might contribute to infectious complications and ICU-acquired muscular weakness respectively. Glycemic gap and SHR are markers of acute-stress hyperglycemia, as they are able to separate the effect of acute, critical illness-associated variations in blood glucose from the previous metabolic state. The present study was the first to analyze the role of glycemic gap and SHR in a general medical-surgical population of ICU patients. Unexpectedly, no increase in mortality was demonstrated in patients with high glycemic gaps or high SHR, even when patients with DM were analyzed separately, which stands in contrast to the findings of previous small studies of glycemic gap in very specific populations critically ill patients with diabetes – . However, a high glycemic gap doubled the risk of shock and the need for RRT and SHR increased risk of the need for MV and the time spent on MV. The main differences in our study are a larger sample size, the inclusion of a mixed sample of surgical and medical critically ill patients, with and without DM, and with high disease severity scores. Therefore, our sample represents a more heterogeneous population, which increases the clinical applicability of our findings. Some studies suggest that glucose variability during the 24 hours is a better predictor of outcomes in critical illness than mean blood glucose , , , . However, our results show that glycemic variability measured in the first 24 hours of admission was associated with worse outcomes, increased need for RRT and MV, and higher incidence of shock, but only hypoglycemia and hyperglycemia were associated with increased mortality after adjustment for disease severity. This contrasting result with the literature might be explained by the metric of glucose variability used in our study (difference of maximum and minimum glucose values). Although, we have to highlight that the best indicator for glucose variability quantification is unsettled and that a retrospective analysis of the Leuven studies , showed that increased daily glucose amplitude was associated with increased mortality . Moreover, glycemic variability was not associated with higher risk of mortality in patients with DM, corroborating the idea that patients exposed to chronic hyperglycemia are adapted to glycemic excursions, possibly developing protective cellular mechanisms against wide blood glucose variations during the course of a critical illness . In our study, the mortality of patients with DM was similar to that of patients without DM, in agreement with the concept of the “diabetic paradox” in the ICU—i.e., the finding that DM is not independently associated with increased risk of mortality in heterogeneous populations of critically ill patients . This study has limitations. First, glucose monitoring was not continuous, which raises the possibility that some extreme glucose values may have gone unrecorded. However, this is a conservative bias that might have decreased differences in outcomes, further corroborating our findings. Furthermore, glucometers are still largely used because they are practical and low cost. Second, accurate information on diet (including the amount of calories consumed) and on insulin doses administered was not recorded, thus precluding conclusions regarding the influence of carbohydrate intake or insulin therapy on outcomes. However, the association of at least one of the outcomes evaluated herein, hypoglycemia, seems to be independent from insulin use, as suggested by the results of the NICE-SUGAR study . Third, the absence of data on diabetes duration and the low absolute number of patients with type 1 DM prevent any conclusion regarding different underlying pathogenic mechanisms between type 1 and type 2 DM and long term complications over the outcomes. The main strength of this study is the prospective cohort design, specifically selected to evaluate multiple glycemic parameters simultaneously in a large unselected population of critically ill patients and their associations with clinical outcomes and mortality. Our findings reinforce that, besides mean blood glucose seems to be the most important predictor of outcomes, several other domains of glycemic control are relevant in critical illness. This might be especially important for research in glycemic control, as future trials should evaluate not only glycemic targets, but rather multiple glycemic parameters at the same time. In summary, in this mixed medical-surgical sample of critically ill subjects, including patients with and without previous diagnosis of diabetes, glycemic gap was associated with worse clinical outcomes, but had no impact on mortality. Hypoglycemia and hyperglycemia were independently associated with increased mortality and influenced other outcomes, such as incidence of shock and need for RRT and MV. Similarly to glycemic gap, glycemic variability and SHR also negatively affected outcomes, with no impact on mortality. It is common sense that optimal glycemic control should be pursued to reduce the risk of unfavorable outcomes. Then, further research is needed to personalize glycemic control targets in critically ill patients, focusing on a broader view of glucose dysregulation based in multiple parameters rather than in a single, in an effort to reduce the risks of iatrogenic adverse events. 

Study population This is a prospective cohort study. The study protocol was approved by the ethics committee at Hospital de Clínicas de Porto Alegre (project number 17-0386). Informed consent was obtained from patients or their legal representatives. From September 2017 to February 2018, critically ill adults (age >18 years) admitted to the ICU were prospectively included in the study. The exclusion criteria were pregnancy, diabetic ketoacidosis, hyperosmolar hyperglycemic state, sickle cell anemia, and other hemoglobinopathies. Blood samples were collected at study entry from all patients for random serum blood glucose and HbA1c quantifications, and clinical and laboratory data were recorded for all patients. Simplified Acute Physiology Score 3 (SAPS 3), ranging theoretically from a minimum of 0 points to a maximum of 271 points, with higher scores denoting higher severity , was used to score disease severity. Hyperglycemia was defined according to the American Diabetes Association (ADA) proposed threshold for in-hospital hyperglycemia as any blood glucose measurement >140 mg/dL – at ICU admission. Moderate hypoglycemia was any blood or capillary glucose <70 mg/dL (ADA definition and same level from the NICE-SUGAR study) , and serious hypoglycemia was <54 mg/dL (ADA definition) during the first day in the ICU. Glucose variability was calculated as the absolute difference in capillary blood glucose during the first day in the ICU , . In order to separate the effects of a chronically altered metabolic state from those of acute stress hyperglycemia, the glycemic gap and SHR were evaluated. The glycemic gap was calculated by the difference between the ICU admission serum blood glucose and the estimated mean blood glucose (serum blood glucose on ICU admission − estimated mean blood glucose) , . HbA1c values were used to calculate the estimated mean blood glucose, using the following formula: (28.7 × HbA1c) − 46.7 mg/dL (30). The cutoff value of 80 mg/dL for glycemic gap was based on Liau et al . . SHR was defined by the ratio between serum blood glucose at admission and the estimated mean blood glucose and the cutoff value of 1.1 based on Roberts et al . . Diabetes was defined on the basis of previous diagnosis or when HbA1c was ≥6.5% . HbA1c quantifications were measured for all patients at ICU admission. Previous diagnosis of diabetes was assessed by two researchers (P.B. and A.S) by electronic chart review (hospital and ICU admission notes, previous use of antihyperglycemic agents or insulin, and outpatient visits if needed). The outcomes of interest were adjudicated by two unblinded researchers (P.B. and A.S) and included the following: mortality (primary endpoint) and need for RRT, incidence of shock, need for MV, time spent on MV, LOS in the hospital, LOS in the ICU, and need for ICU readmission (secondary endpoints). All patients were followed up for 180 days for survival analysis. Biochemical measurements Blood samples for glucose measurement were collected in tubes with sodium fluoride, centrifuged for 10 min at 3670 rpm, and analyzed by the hexokinase method in a Roche COBAS c702 system (Roche Diagnostics, Mannheim, GE). For HbA1c measurement, blood samples were collected in EDTA tubes, homogenized, and analyzed in BioRAD Variant Turbo II (BioRAD, Hercules, California, USA), processed by HPLC. Glucose values were expressed as mg/dL, and HbA1c values as percentage. Statistical analysis Categorical variables were expressed as percentages. Data were expressed as mean and standard deviation (SD) if normally distributed, or as median and interquartile range otherwise. Groups were compared using Student’s t -test, the Mann–Whitney U test, or the chi-square test as appropriate. To assess relative risks of variables of interest and outcomes, univariate linear regression or logistic regression models were constructed depending on the characteristics of the outcomes of interest. A multivariate Cox regression analysis with mortality as outcome was used to calculate hazard ratios (HR), with variables adjusted for disease severity using SAPS 3 score. A sample size of 494 patients was calculated considering a power of 95% and an α-error rate of 5% to detect a difference in glycemic gap of 42 mg/dL between survivors and nonsurvivors. There was no missing data. Values were considered statistically significant if p < 0.05. Statistical analyses were conducted in SPSS 20.0 (Chicago, IL, USA) and R version 3.5.2 (The R Foundation, version 3.5.1, 2018). Ethical approval All experiments were performed in accordance with relevant guidelines and regulations. The study protocol was approved by the Ethics Committee at Hospital de Clínicas de Porto Alegre (project number 17-0386). 

This is a prospective cohort study. The study protocol was approved by the ethics committee at Hospital de Clínicas de Porto Alegre (project number 17-0386). Informed consent was obtained from patients or their legal representatives. From September 2017 to February 2018, critically ill adults (age >18 years) admitted to the ICU were prospectively included in the study. The exclusion criteria were pregnancy, diabetic ketoacidosis, hyperosmolar hyperglycemic state, sickle cell anemia, and other hemoglobinopathies. Blood samples were collected at study entry from all patients for random serum blood glucose and HbA1c quantifications, and clinical and laboratory data were recorded for all patients. Simplified Acute Physiology Score 3 (SAPS 3), ranging theoretically from a minimum of 0 points to a maximum of 271 points, with higher scores denoting higher severity , was used to score disease severity. Hyperglycemia was defined according to the American Diabetes Association (ADA) proposed threshold for in-hospital hyperglycemia as any blood glucose measurement >140 mg/dL – at ICU admission. Moderate hypoglycemia was any blood or capillary glucose <70 mg/dL (ADA definition and same level from the NICE-SUGAR study) , and serious hypoglycemia was <54 mg/dL (ADA definition) during the first day in the ICU. Glucose variability was calculated as the absolute difference in capillary blood glucose during the first day in the ICU , . In order to separate the effects of a chronically altered metabolic state from those of acute stress hyperglycemia, the glycemic gap and SHR were evaluated. The glycemic gap was calculated by the difference between the ICU admission serum blood glucose and the estimated mean blood glucose (serum blood glucose on ICU admission − estimated mean blood glucose) , . HbA1c values were used to calculate the estimated mean blood glucose, using the following formula: (28.7 × HbA1c) − 46.7 mg/dL (30). The cutoff value of 80 mg/dL for glycemic gap was based on Liau et al . . SHR was defined by the ratio between serum blood glucose at admission and the estimated mean blood glucose and the cutoff value of 1.1 based on Roberts et al . . Diabetes was defined on the basis of previous diagnosis or when HbA1c was ≥6.5% . HbA1c quantifications were measured for all patients at ICU admission. Previous diagnosis of diabetes was assessed by two researchers (P.B. and A.S) by electronic chart review (hospital and ICU admission notes, previous use of antihyperglycemic agents or insulin, and outpatient visits if needed). The outcomes of interest were adjudicated by two unblinded researchers (P.B. and A.S) and included the following: mortality (primary endpoint) and need for RRT, incidence of shock, need for MV, time spent on MV, LOS in the hospital, LOS in the ICU, and need for ICU readmission (secondary endpoints). All patients were followed up for 180 days for survival analysis. 

Blood samples for glucose measurement were collected in tubes with sodium fluoride, centrifuged for 10 min at 3670 rpm, and analyzed by the hexokinase method in a Roche COBAS c702 system (Roche Diagnostics, Mannheim, GE). For HbA1c measurement, blood samples were collected in EDTA tubes, homogenized, and analyzed in BioRAD Variant Turbo II (BioRAD, Hercules, California, USA), processed by HPLC. Glucose values were expressed as mg/dL, and HbA1c values as percentage. 

Categorical variables were expressed as percentages. Data were expressed as mean and standard deviation (SD) if normally distributed, or as median and interquartile range otherwise. Groups were compared using Student’s t -test, the Mann–Whitney U test, or the chi-square test as appropriate. To assess relative risks of variables of interest and outcomes, univariate linear regression or logistic regression models were constructed depending on the characteristics of the outcomes of interest. A multivariate Cox regression analysis with mortality as outcome was used to calculate hazard ratios (HR), with variables adjusted for disease severity using SAPS 3 score. A sample size of 494 patients was calculated considering a power of 95% and an α-error rate of 5% to detect a difference in glycemic gap of 42 mg/dL between survivors and nonsurvivors. There was no missing data. Values were considered statistically significant if p < 0.05. Statistical analyses were conducted in SPSS 20.0 (Chicago, IL, USA) and R version 3.5.2 (The R Foundation, version 3.5.1, 2018). 

All experiments were performed in accordance with relevant guidelines and regulations. The study protocol was approved by the Ethics Committee at Hospital de Clínicas de Porto Alegre (project number 17-0386). 

Supplementary information 

