Skip to main content

Glycemic variability assessed by continuous glucose monitoring in hospitalized patients with community-acquired pneumonia



Glycemic variability (GV) has only been sparsely studied in patients with community-acquired pneumonia (CAP). This study aimed to quantify in-hospital GV in CAP patients, including determining the impact of type 2 diabetes mellitus (T2DM) and glucocorticoid (GC) treatment on GV.


This is a prospective cohort study of CAP patients (N = 40) with or without T2DM and treated or not with GCs. The primary endpoint was GV measured as glucose standard deviation (SD), coefficient of variation (CV), and postprandial glucose excursions (PPGE) based on continuous glucose monitoring (CGM). Analysis of glucose data was split into daytime and nighttime when possible.


Patients included had a mean age of 74 (range 55 to 91) years. SD (95%CI) increased by a factor of 1.93 (1.40 to 2.66) and 2.29 (1.38 to 3.81) in patients with T2DM and not treated with GCs during the daytime and the nighttime, respectively (both P < 0.01), and by a factor of 1.42 (1.04 to 1.97) in patients treated with GCs but without T2DM during the daytime (P = 0.031) compared to patients without T2DM and not treated with GCs. CV (95%CI) increased by 5.1 (0.0 to 10.1) and 8.1 (1.0 to 15.2) percentage points during the daytime and the nighttime, respectively, in patients with T2DM and not treated with GCs compared to patients without T2DM and not treated with GCs (P = 0.046 and P = 0.026, respectively). PPGE (95% CI) increased during lunch by 2.5 (0.7 to 4.3) mmol/L (45 (13 to 77) mg/dL) in patients with T2DM and treated with GCs compared to patients without T2DM and not treated with GCs (P = 0.018).


CAP patients receiving GCs, especially those with T2DM, are at great risk of developing high GV and therefore require clinical attention to mitigate GV. This applies particularly during the daytime. Results support the 1 to 2-h post-lunch screening procedure for glucocorticoid-induced hyperglycemia in patients without diabetes. SD was positively correlated with hospital length of stay.

Peer Review reports


Worldwide, community-acquired pneumonia (CAP) is a leading course of death and morbidity [1]. In Denmark, a 30-day mortality rate of 11% has been reported in hospitalized pneumonia patients [2] and up to 20% for patients with both pneumonia (all types, except coronavirus disease 2019 (COVID-19)) and diabetes mellitus type 2 (T2DM) [3]. Hospitalized CAP patients with hyperglycemia at admission have an increased risk of mortality and intensive care unit admission compared to patients with normoglycemia [4]. Glycemic dysregulation in hospitalized patients is multifactorial and related to the acute stress response (i.e., disease severity), diabetes status, and treatment modalities known to induce hyperglycemia, for example exogenous glucocorticoids (GCs) [5].

Chronic obstructive pulmonary disease (COPD) is common among CAP patients. Currently, treatment with systemic GCs is the standard of care for CAP patients with COPD in acute exacerbation and decreases the length of stay (LOS), time to clinical stability, and mortality [6]. However, GCs may cause glucocorticoid-induced hyperglycemia (GIH) and increased glycemic variability (GV) which could potentially counteract the beneficial effects of GCs. The explanation for the adverse effects of hyperglycemia in CAP patients such as increased mortality, increased LOS and other in-hospital complications could represent an effect of hyperglycemia per se [7], but GV could be involved too [8]. High short-term GV is associated with increased LOS and mortality in critically ill patients [9] and in non-critically ill patients independent of admission diagnosis [10]. High GV also increases superoxide production, oxidative stress, endothelial dysfunction, and inflammatory cytokine overproduction and increases the risk of hypoglycemia which increases inflammatory cytokine levels, platelet activation and endothelial dysfunction [8].

In the few published studies about GV in CAP patients, authors reported an association between high GV and increased LOS [11], while others did not [12]. However, blood glucose was measured only two to four times per day on average and not necessarily on consecutive days. A more precise quantification of GV using continuous glucose monitoring (CGM), which provides information about glucose trajectories with intervals of five minutes, may therefore prove to be a more adequate tool for assessment of GV than standard point-of-care (POC) blood glucose testing. As standard measurements of GV, an international CGM consensus report recommends registration and reporting of the variation around the mean blood glucose, i.e. standard deviation (SD) and SD relative to the mean glucose level as a percentage, i.e. coefficient of variation (CV) [13]. Postprandial glucose excursion (PPGE) is also a measurement of GV and is especially relevant in patients treated with GCs since GCs are assumed to cause postprandial hyperglycemia [14]. This study aimed to investigate to what extent GV, measured as SD, CV, and PPGE, is influenced by both treatment with GCs and a diagnosis of T2DM in patients hospitalized with CAP by use of CGM.

Method and materials

Study population

We identified CAP patients with or without T2DM and treated or not with GCs hospitalized at Copenhagen University Hospital – North Zealand, Denmark between February 2021 and June 2021.

We constructed four equal-sized groups of patients, all with CAP (N = 40): Group 1: CAP, group 2: CAP and GC treatment, group 3: CAP and T2DM, and group 4: CAP, GC treatment, and T2DM. Diabetes diagnosis was obtained through patients’ journals. To limit confounding, patients were matched by age and gender, and HbA1c was measured for all patients to avoid undiagnosed diabetes in groups 1 and 2. Acute exacerbation of COPD ended up being the only reason for GC treatment in this study. The GC regimen followed regional standard care with IV methylprednisolone (Solu-Medrol®) 40 mg followed by four days of oral prednisolone 37.5 mg per day.

Inclusion and exclusion criteria

Patients who met the following criteria were eligible for inclusion: Age ≥ 18 years, radiologically verified pneumonia and at least one symptom and/or clinical signs of pneumonia (i.e. cough, chest pain, dyspnoea, temperature ≥ 38.0 °C or < 35.0 °C, pathological auscultation) and informed written consent.

The exclusion criteria were COVID-19, incapacitation, known hypersensitivity to the band-aid of the glucose sensor, parenteral nutrition, and pancreatic disorders.

Data collection

Continuous glucose monitoring was performed using iPro2® as the recorder and an Enlite® glucose sensor (Medtronic, Northridge, CA). The CGM system was inserted in the abdominal area according to the manufacturer’s guidelines. Recordings by CGM were fully blinded during hospitalization and therefore not used for in-hospital diabetes management. Standard POC capillary blood glucose measurements were performed by ward glucometers FreeStyle Precision Pro® (Abbot, Berkshire, UK) three times daily before main meals (7:00 AM, 12:00 AM, and 5:00 PM) to calibrate the CGMs. CGM data were collected from study enrollment until discharge. At least 24 h of CGM data were required to be included in the analyses.

At baseline, we collected clinical data (age, gender, comorbidities, CURB-65 score as a measurement of severity of CAP, early warning score, Charlson comorbidity index, and medications before admission) and standard blood work (hemoglobin A1c (HbA1c)). For the two groups receiving GCs, CGM data were analyzed only during GC exposure which was defined as the period between the first GC dose and 24 h (six half-lives for prednisolone) after GCs were stopped. Meal registration (timing and percentage of the amount of meal consumed at breakfast, lunch, and dinner) made it possible to calculate PPGE.

Primary outcomes

GV was evaluated as SD of all CGM-glucose values, CV of all CGM-glucose values, and PPGE. PPGE was defined as the difference between the blood glucose level before meal start and the highest blood glucose level within two hours after meal start [15]. SD and CV represent the overall amplitude of GV, while PPGE characterizes GV in relation to meals. CV is less influenced by fluctuations in mean glucose level and HbA1c compared to SD [16] but should otherwise be interpreted in the same way. Only meals with an intake of at least 25% of the plate were included in these calculations.

Secondary outcomes

We assessed the percentage of time of CGM-glucose values spent in Time In Range (TIR) (3.9–10.0 mmol/L or 70–180 mg/dL), Time Above Range (TAR) (> 10.0 mmol/L or > 180 mg/dL), Time Below Range (TBR) (< 3.9 mmol/L or < 70 mg/dL) and mean glucose level (mmol/L and mg/dL). We also report the glycemic gap defined as the difference between the HbA1c-derived average glucose level [17] before admission and the mean glucose level during hospitalization (mmol/L).

Statistical analysis

Data analyses were split into daytime from 07:00:00 AM to 10:59:59 PM and nighttime from 11:00:00 PM to 06:59:59 AM when relevant. Categorical variables were compared between the four groups with Pearson’s chi-squared test. ANOVA for normally distributed data and Kruskal–Wallis test for skewed data were applied to assess differences in continuous variables.

A linear regression analysis was done to assess the effect of T2DM and GCs (explanatory variables) and a possible interaction between T2DM and GCs on primary and secondary outcomes (dependent variables). The SD variable was logarithmically transformed. For repeated measurements (of PPGE, insulin dose, and food intake), a linear mixed model was used to determine the effect of T2DM and GCs on the outcome PPGE and for determining any statistical difference among groups regarding food intake and IE of insulin per day in Table 1. For the TAR and TBR outcomes, a zero adjusted Gamma distribution [18] was used to accommodate the positivity and exact zero in the outcomes. Post hoc analyses were performed for all outcomes, adding HbA1c, BMI, and CURB-65 as explanatory variables. To analyze an association between GV and LOS we did a post hoc linear regression analysis and included SD and CV of all CGM-glucose values during the daytime and the nighttime (Model 1 and Model 2, respectively), T2DM status (yes/no), GC status (yes/no) and Charlson comorbidity index as explanatory variables. LOS per patient was registered as days, hours, and minutes and was considered as a continuous variable. The LOS variable was logarithmically transformed. Figure 1 depicts the predicted (by Model 1) LOS for Groups 1 to 4. To make Fig. 1 by use of Model 1, we used the group characteristics as input to Model 1, i.e. T2DM status (yes/no) and GC status (yes/no), and for continuous variables, we used the means for Groups 1 to 4 as inputs.

Table 1 Demographic and clinical characteristics of 40 hospitalized patients with community-acquired pneumonia with or without diabetes, treated or not with glucocorticoids
Fig. 1
figure 1

Prediction of length of stay at group levels. Dots depict the predicted (Model 1) length of stay for Groups 1 to 4. Lines depict the 95% CI

The CGM sensors used in this study has an upper detection limit for glucose levels of 22.2 mmol/L (400 mg/dL). Therefore, right-censored glucose values were estimated using a validated imputation model developed previously by authors [19]. A two-sided P-value ≤ 0.05 was considered statistically significant for all analyses.


This study is part of a large Danish prospective observational cohort study named Surviving Pneumonia conducted at Copenhagen University Hospital of Copenhagen – North Zealand, Denmark. Surviving Pneumonia represents a multipronged initiative to improve and personalize the in-hospital management of patients with CAP.


Baseline characteristics (Table 1)

We enrolled 40 patients who were on average 74 (range 55 to 91) years old. Matching was successful among groups (data for food intake not shown). However, inclusion time was lower for group 2 compared to group 1 (P = 0.014), and acetaminophen intake differed from expected values in groups 1 and 4 (both P < 0.01).

Primary outcomes (Table 2): measurements of GV

Table 2 Primary (SD, CV and PPGE) and secondary outcomes (TIR, TAR, TBR, mean glucose level and glycemic gap) for 40 patients hospitalized for community-acquired pneumonia

In the following, ( +) and (-) denotes the presence or not, respectively, of T2DM or treatment with GCs.

Standard deviation (SD) (95%CI)

During the daytime, SD for T2DM + GC- patients increased by a factor of 1.93 (1.40 to 2.66) compared to T2DM- GC- patients (P < 0.001). SD for T2DM- GC + patients increased by a factor of 1.42 (1.04 to 1.97) compared to T2DM- GC- patients (P = 0.031). During the nighttime, SD for T2DM + GC- patients increased by a factor of 2.29 (1.38 to 3.81) compared to T2DM- GC- patients (P < 0.01). GC + status did not affect SD during the nighttime per se (P = 0.451). There was no statistically significant interaction between GC treatment and T2DM on SD during the daytime or the nighttime (P = 0.717 and P = 0.790, respectively).

Coefficient of variation (CV) (95% CI)

During the daytime, CV of T2DM + GC- patients increased by 5.1 (0.0 to 10.1) percentage points compared to T2DM- GC- patients (P = 0.046). During the nighttime, CV for T2DM + GC- patients increased by 8.1 (1.0 to 15.2) percentage points compared to T2DM- GC- patients (P = 0.026). CV for T2DM- GC + patients were not statistically different from T2DM- GC- patients during the daytime or the nighttime (P = 0.721 and P = 0.887, respectively). There was no interaction between T2DM and GC treatment during the daytime or the nighttime on CV (P = 0.805 and P = 0.444, respectively).

Postprandial glucose excursions (PPGE) (95% CI)

PPGE increased by 1.5 (0.4 to 2.7) mmol/L (27 (7 to 49) mg/dL) at breakfast for T2DM + GC- patients compared to T2DM- GC- patients (P = 0.018). Treatment with GCs was not associated with a significant change in PPGE at all meals. However, at lunch, an interaction between T2DM + and GC + status was found (meaning that the effect of GCs depended on diabetes status) with an increase in postprandial glucose level of 2.5 (0.7 to 4.3) mmol/L (45 (13 to 77) mg/dL) in T2DM + GC + patients compared to T2DM- GC- patients (P = 0.018).

Secondary outcomes (Table 2)

Time in range (TIR) (95% CI)

During the daytime, TIR for T2DM + GC- patients was 27 (44 to 9) percentage points lower compared to T2DM- GC- patients (P < 0.01) while GC + status did not affect TIR per se. There was an interaction between GC + and T2DM + status with a decrease by 31 (56 to 6) percentage points for T2DM + GC + patients compared to T2DM- GC- patients (P = 0.017). During the nighttime, T2DM + and GC + status did not affect TIR per se but an interaction between GC + and T2DM + status was observed (P = 0.032).

Time above range (TAR) (95%CI)

During the daytime, TAR increased by a factor of 14.19 (6.09 to 33.06) for T2DM + GC- patients and a factor of 7.57 (3.25 to 17.64) for T2DM- CG + patients compared to T2DM- GC- patients (both P < 0.001). During the nighttime, TAR for T2DM + GC- and T2DM- GC + patients increased by a factor of 40 compared to T2DM- GC- patients (both P < 0.01). Interaction between T2DM + and GC + status for the daytime and the nighttime changed TAR by a factor of 0.27 (0.09 to 0.80) and 0.07 (0.01 to 0.74), respectively, compared to T2DM- GC- patients (P = 0.023 and P = 0.034, respectively).

Time below range (TBR) (95%CI)

During the daytime, TBR was 84 (42 to 96) % lower for T2DM + GC- patients and 79 (22 to 94) % lower for T2DM- GC + patients, compared to T2DM- GC- patients (P = 0.001 and P = 0.026, respectively). TBR for the nighttime is not reported due to overparameterization of the model.

Mean glucose level (95%CI)

During the daytime, mean glucose for T2DM + GC- patients increased by 3.0 (0.8 to 5.2) mmol/L (54 (14 to 94) mg/dL) compared to T2DM- GC- patients (P < 0.01). Mean glucose increased by 2.4 (0.1 to 4.6) mmol/L (43 (2 to 83) mg/dL) in T2DM- GC + patients compared to T2DM- GC- patients (P = 0.038). During the nighttime, mean glucose level were 2.4 (0.4 to 4.3) mmol/L (44 (7 to 77) mg/dL) higher in T2DM + GC- patients compared to T2DM- GC- patients (P = 0.018).

Glycemic gap (95% CI)

The glycemic gap increased by 1.8 (0.2 to 3.4) mmol/L (32 (4 to 61) mg/dL) in T2DM- GC + patients compared to T2DM- GC- patients (P = 0.029).

Post hoc analyses (Table 3)

Table 3 Exploratory analyses for primary (SD, CV, PPGE) and secondary (TIR, TAR, TBR, mean glucose level and glycemic gap) outcomes for 40 patients hospitalized for community-acquired pneumonia

Adding BMI and HbA1c as risk factors for developing GIH and the CURB-65 score to the prespecified models from the primary analysis did not clinically affect the main conclusions from the primary analysis. However, BMI was negatively associated with GV (SD and CV) during the nighttime, and HbA1c was negatively associated with TIR during the daytime, and positively associated with mean glucose level during both the daytime and the nighttime. The CURB-65 score was positively associated with PPGE at dinner.

Adding variables differing at baseline to the analyses did not alter conclusions (data not shown).

Length of stay (LOS) (95% CI)

LOS increased by 28 (0 to 63) % by every unit increase in SD of all CGM-glucose values during the daytime (P = 0.049).


In this study, we found that in-hospital CGM-derived GV (assessed by SD of all CGM-glucose values) in patients with CAP was almost doubled in patients with T2DM not treated with GCs compared to patients without T2DM not treated with GCs. This applies both during the daytime and the nighttime. GC treatment per se increased GV by 42% during the daytime but not during the nighttime. The same pattern did not apply for GV assessed by CV where only a diagnosis of T2DM (but not GCs) increased CV. CV is only weakly correlated with mean glucose compared to SD, which is positively correlated with mean glucose [16]. This might be the reason why GCs had no statistically significant effect on CV. In addition, we found that GC treatment was associated with increased TAR, decreased TBR, increased mean glucose level, and a positive glycemic gap. A high and low glycemic gap has been associated with increased long-term mortality in CAP patients with and without diabetes [20]. Our post hoc analyses revealed that these findings were only slightly confounded by BMI, HbA1c, and CURB-65 score and not affected by variables differing at baseline. This indicates that a diagnosis of diabetes and/or treatment with GCs per se are the most notable markers for the risk of developing glycemic dysregulation in CAP patients. However, there may be other factors such as physical activity that might lower GV, which we did not consider [21]. In addition, COPD in acute exacerbation could per se be related to stress-hyperglycemia [22].

Two other studies with larger populations of 151 [23] and 392 [24] CAP patients (diabetes prevalence 15–20%) receiving GCs showed a higher incidence of hyperglycemia compared to CAP patients not treated with GCs. In these studies, glucose levels were measured by POC blood glucose testing. Our results support these findings. On the contrary, Torres et al. (N = 61) showed no significant effect of GCs on the incidence of hyperglycemia in CAP patients with or without diabetes [25]. This is probably because GCs worsen glycemic outcomes in only a fraction of patients without diabetes, as reviewed by Patel et al. [26]. We found the greatest glycemic dysregulation measured as TIR and PPGE at lunch in CAP patients with T2DM receiving GCs. This indicates an effect modification of T2DM on the effect of GCs on glycemic variables, meaning that the glycemic side-effect of GCs depends on diabetes status. Postprandial hyperglycemia [27], i.e. PPGE, has been correlated with increased long-term mortality in CAP patients, independent of a diabetes diagnosis. Recent studies have demonstrated a relationship between low TIR and the presence of diabetic complications as well as a correlation between low TIR and high HbA1c. Goals for patients with type 2 diabetes (and type 1) is therefore a TIR > 70% [28]. A high TIR can be obtained by decreasing TAR (or decreasing TBR) by treatment with glucose-lowering agents, however, this might increase the risk of hypoglycemia. TIR recommendations for older and high-risk patients with diabetes (e.g. patients with diabetes and hypoglycemic unawareness) should therefore probably be individualized and lowered accordingly [28]. At present, no goal of TIR during hospitalization has been defined.

We found that high HbA1c, irrespective of a diabetes diagnosis, was also a marker for in-hospital glycemic dysregulation. This finding is consistent with previous literature, showing that high HbA1c levels (e.g. patients with diabetes) are linked to an increased risk of developing GIH [5] and that glycemic excursion in patients with diabetes and treated with GCs due to COPD in acute exacerbation are higher than for patients without diabetes measured by CGM [29].

Treatment with GCs lowers both LOS, time to clinical stability, and mortality in CAP patients [6]. However, the development of GIH and increased GV may diminish these beneficial effects [8]. Despite this, treatment of known and new-onset hyperglycemia and a diagnosis of pre-existing diabetes are occasionally ignored in the hospital setting [30]. This is unfortunate since diabetes is associated with an increased risk of pneumonia and COPD [31]. In an international cohort study including 1961 patients with CAP, undiagnosed diabetes was 5%, while the prevalence of prediabetes was 38%. Patients with diabetes might suffer from a decrease in pulmonary function [32] and an approximately threefold higher long-term mortality has been observed in CAP patients with diabetes compared to patients without diabetes [33].

Whether pharmacologically induced normoglycaemia and/or low GV is beneficial in the acute stages of CAP remains controversial [33, 34]. Epidemiological studies have highlighted the negative effects of high GV in CAP patients, focusing especially on an increased LOS [10, 11, 35,36,37] and increased mortality [10, 27, 36]. Our results support that high GV (measured as SD of all daytime CGM-glucose values) is positively associated with LOS (see Model 1 and Fig. 1). This is worrying considering the ongoing pandemic where GCs are part of the treatment protocol for patients with COVID-19 [38], which could potentially induce great glycemic dysregulation especially in patients with diabetes [19] and prolong LOS and thereby increase work pressure on already overcrowded and stressed wards.

Randomized controlled studies of normoglycemia vs. hyperglycemia on clinical outcomes for patients with CAP are needed to overcome the problems of unrecognized bias in epidemiological studies.

Our findings add to recommendations that screening for GIH should be done 1 to 2 h after the intake of lunch with standard POC capillary blood glucose testing when prednisolone is administered in the morning [39]. This is probably due to the pharmacokinetics of prednisolone, which has the maximal hyperglycemic side-effect 8 h after intake [40]. The recommendations are based on clinical experience and not on prospectively collected data, except for a few newer studies [29, 41].

Strengths and limitations

This study included a relatively small number of patients (N = 40) distributed on four equal-sized groups, which potentially makes it difficult to find statistically significant differences that may be true (type 2 error). Our many endpoints increase the risk of finding statistically significant differences, by chance, that are not true (type 1 error). It is also a limitation that the CGM-time was only a fraction of the whole hospitalization time (70%), which means that we lost useful glucose information during both the beginning and, to a lesser extent, the end of the patients’ hospitalization. Matching was not successful regarding acetaminophen intake, which potentially can interrupt CGM-glucose readings by falsely increasing glucose levels [42]. We did not take into account that some patients received insulin while others did not. However, the use of corrective insulin was small for patients with diabetes.

We believe that the prospectively collected data on each patient is a strength. Compared to earlier studies, using in-hospital CGM as the primary source of glucose data is a very powerful method since the interval between measurements is only five minutes. With CGM, we were able to quantify the glucose-related variables in CAP patients in a much more accurate way than previously done by standard POC blood glucose testing. Furthermore, the use of blinded CGM ensured objectivity and limited clinical interference during the study period. The precision of CGM during hospitalization has been verified in previous studies [43] albeit technical and practical issues when using in-hospital CGM has also been reported [44].


In the present study, GV and other glycemic outcomes examined by CGM were studied in a population of hospitalized patients with CAP with or without T2DM and treated or not with GCs. Our results imply that CAP patients with T2DM treated with GCs require great clinical attention due to the increased risk of high GV (especially during the daytime and after lunch) which may limit the recovery from pneumonia. CAP patients without T2DM but treated with GCs were also at risk of developing glycemic dysregulation but to a lesser extent. Our results support that high GV is positively associated with a longer length of stay at the hospital and provide real-world evidence for the clinical experience that a screening procedure for GIH should be done after lunch.

Availability of data and materials

Data that support the findings of this study are available as Additional file 1.



Acute respiratory distress syndrome


Community-acquired pneumonia


Continuous glucose monitoring


Chronic obstructive pulmonary disease


Coefficient of variation




Glucocorticoid-induced hyperglycemia


Glycemic variability


Length of stay


Postprandial glucose excursions


Point of care


Standard deviation


Type 2 diabetes mellitus


Time above range


Time below range


Time in range


  1. Ewig S, Birkner N, Strauss R, Schaefer E, Pauletzki J, Bischoff H, et al. New perspectives on community-acquired pneumonia in 388 406 patients. Results from a nationwide mandatory performance measurement programme in healthcare quality. Thorax. 2009;64:1062–9.

    CAS  Article  PubMed  Google Scholar 

  2. Egelund GB, Jensen AV, Andersen SB, Petersen PT, Lindhardt BØ, von Plessen C, et al. Penicillin treatment for patients with Community-Acquired Pneumonia in Denmark: a retrospective cohort study. BMC Pulm Med. 2017;17:1–9.

    CAS  Article  Google Scholar 

  3. Kornum J, Thomsen R, Riis A, Lervang H, Schonheyder H, Sorensen H. Type 2 diabetes and pneumonia outcomes. Diabetes Care. 2007;30:2251–7.

    Article  PubMed  Google Scholar 

  4. Schuetz P, Friedli N, Grolimund E, Kutz A, Haubitz S, Christ-Crain M, et al. Effect of hyperglycaemia on inflammatory and stress responses and clinical outcome of pneumonia in non-critical-care inpatients: results from an observational cohort study. Diabetologia. 2014;57:275–84.

    CAS  Article  PubMed  Google Scholar 

  5. Schultz H, Engelholm SA, Harder E, Pedersen-Bjergaard U, Kristensen PL. Glucocorticoid-induced diabetes in patients with metastatic spinal cord compression. Endocr Connect. 2018;7:719–26.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  6. Horita N, Otsuka T, Haranaga S, Namkoong H, Miki M. Adjunctive systemic corticosteroids for hospitalized community-acquired pneumonia: systematic review and meta-analysis 2015 update. Nat Publ Gr. 2015.

    Article  Google Scholar 

  7. McAlister FA, Majumdar SR, Blitz S, Rowe BH, Romney J, Marrie TJ. The relation between hyperglycemia and outcomes in 2,471 patients admitted to the hospital with community-acquired pneumonia. Diabetes Care. 2005;28:810–5.

    Article  PubMed  Google Scholar 

  8. Sun B, Luo Z, Zhou J. Comprehensive elaboration of glycemic variability in diabetic macrovascular and microvascular complications. Cardiovasc Diabetol. 2021;20:1–13.

    Article  Google Scholar 

  9. Krinsley JS. Glycemic variability: a strong independent predictor of mortality in critically ill patients. Crit Care Med. 2008;36:3008–13.

    CAS  Article  PubMed  Google Scholar 

  10. Mendez CE, Mok KT, Ata A, Tanenberg RJ, Calles-Escandon J, Umpierrez GE. Increased glycemic variability is independently associated with length of stay and mortality in noncritically ill hospitalized patients. Diabetes Care. 2013;36:4091–7.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  11. Ferreira L, Moniz AC, Carneiro AS, Miranda AS, Fangueiro C, Fernandes D, et al. The impact of glycemic variability on length of stay and mortality in diabetic patients admitted with community-acquired pneumonia or chronic obstructive pulmonary disease. Diabetes Metab Syndr Clin Res Rev. 2019;13:149–53.

    CAS  Article  Google Scholar 

  12. Popovic M, Blum CA, Nigro N, Mueller B, Schuetz P, Christ-Crain M. Benefit of adjunct corticosteroids for community-acquired pneumonia in diabetic patients. Diabetologia. 2016;59:2552–60.

    CAS  Article  PubMed  Google Scholar 

  13. Danne T, Nimri R, Battelino T, Bergenstal RM, Close KL, Devries JH, et al. International consensus on use of continuous glucose monitoring. Diabetes Care. 2017;40:1631–40.

    Article  PubMed  PubMed Central  Google Scholar 

  14. Nielsen MF, Caumo A, Chandramouli V, Schumann WC, Cobelli C, Landau BR, et al. Impaired basal glucose effectiveness but unaltered fasting glucose release and gluconeogenesis during short-term hypercortisolemia in healthy subjects. Am J Physiol Endocrinol Metab. 2004;286:102–10.

    Article  Google Scholar 

  15. Khan R. Postprandial blood glucose. Diabetes Care. 2001;24:775–8.

    Article  Google Scholar 

  16. Rodbard D. Glucose variability: a review of clinical applications and research developments. Diabetes Technol Therap. 2018.

    Article  Google Scholar 

  17. - the global diabetes community. Convert HbA1c to Average Blood Sugar Level. 2019. Visited between February 2021 and June 2021.

  18. Stasinopoulos DM, Rigby RA. Generalized additive models for location scale and shape (GAMLSS) in R. J Stat Softw. 2007;23:1–46.

    Article  Google Scholar 

  19. Klarskov CK, Windum NA, Olsen MT, Dungu AM, Jensen AK, Lindegaard B, Pedersen U, Bjergaard PLK. Telemetric continuous glucose monitoring during the COVID-19 pandemic in isolated hospitalized patients in Denmark—a randomized controlled exploratory trial. Diabetes Technol Ther. 2021;3:6.

    Google Scholar 

  20. Jensen AV, Baunbæk Egelund G, Bang Andersen S, Petersen PT, Benfield T, Witzenrath M, et al. The glycemic gap and 90-day mortality in community-acquired pneumonia. A prospective cohort study. Ann Am Thorac Soc. 2019;16:1518–26.

    Article  PubMed  Google Scholar 

  21. Solomon TPJ, Tarry E, Hudson CO, Fitt AI, Laye MJ. Immediate post-breakfast physical activity improves interstitial postprandial glycemia: a comparison of different activity-meal timings. Pflugers Arch Eur J Physiol. 2020;472:271–80.

    CAS  Article  Google Scholar 

  22. Dungan KM, Braithwaite SS, Preiser JC. Stress hyperglycaemia. Lancet. 2009;373:1798–807.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  23. Meijvis SCA, Hardeman H, Remmelts HHF, Heijligenberg R, Rijkers GT, Van Velzen-Blad H, et al. Dexamethasone and length of hospital stay in patients with community-acquired pneumonia: a randomised, double-blind, placebo-controlled trial. Lancet. 2011;377:2023–30.

    CAS  Article  PubMed  Google Scholar 

  24. Blum CA, Nigro N, Briel M, Schuetz P, Ullmer E, Suter-Widmer I, et al. Adjunct prednisone therapy for patients with community-acquired pneumonia: a multicentre, double-blind, randomised, placebo-controlled trial. Lancet. 2015;385:1511–8.

    CAS  Article  PubMed  Google Scholar 

  25. Torres A, Sibila O, Ferrer M, Polverino E, Menendez R, Mensa J, et al. Effect of corticosteroids on treatment failure among hospitalized patients with severe community-acquired pneumonia and high inflammatory response: a randomized clinical trial. J Am Med Assoc. 2015;313:677–86.

    CAS  Article  Google Scholar 

  26. Patel DA, Kristensen PL, Pedersen-bjergaard U, Schultz HH. Glukokortikoidinduceret diabetes og risikofaktorer under højdosisbehandling; 2018.

  27. Koskela HO, Salonen PH, Romppanen J, Niskanen L. Long-term mortality after community-acquired pneumonia—impacts of diabetes and newly discovered hyperglycaemia: a prospective, observational cohort study. BMJ Open. 2014.

    Article  PubMed  PubMed Central  Google Scholar 

  28. Battelino T, Danne T, Bergenstal RM, Amiel SA, Beck R, Biester T, et al. Clinical targets for continuous glucose monitoring data interpretation: recommendations from the international consensus on time in range. Diabetes Care. 2019;42:1593–603.

    Article  PubMed  PubMed Central  Google Scholar 

  29. Burt MG, Roberts GW, Aguilar-Loza NR, Frith P, Stranks SN. Continuous monitoring of circadian glycemic patterns in patients receiving prednisolone for COPD. J Clin Endocrinol Metab. 2011;96:1789–96.

    CAS  Article  PubMed  Google Scholar 

  30. Kristensen PL, Jessen A, Houe SMM, Banck-Petersen P, Schiøtz C, Hansen KB, Svendsen OL, Almdal TP. Quality of diabetes treatment in four orthopaedic departments in the Capital Region of Denmark. Danish Med J. 2021;68:A05210449.

    Google Scholar 

  31. Ehrlich SF, Quesenberry CP, Van Den Eeden SK, Shan J, Ferrara A. Patients diagnosed with diabetes are at increased risk for asthma, chronic obstructive pulmonary disease, pulmonary fibrosis, and pneumonia but not lung cancer. Diabetes Care. 2010;33:55–60.

    Article  PubMed  Google Scholar 

  32. Aparna A. Pulmonary function tests in type 2 diabetics and non-diabetic people—a comparative study. J Clin Diagnostic Res. 2013;7:1606–8.

    CAS  Article  Google Scholar 

  33. Jensen AV, Faurholt-Jepsen D, Egelund GB, Andersen SB, Petersen PT, Benfield T, et al. Undiagnosed diabetes mellitus in community-acquired pneumonia: a prospective cohort study. Clin Infect Dis. 2017;65:2091–8.

    CAS  Article  PubMed  Google Scholar 

  34. Di Yacovo S, Garcia-Vidal C, Viasus D, Adamuz J, Oriol I, Gili F, et al. Clinical features, etiology, and outcomes of community-acquired pneumonia in patients with diabetes mellitus. Med (United States). 2013;92:42–50.

    Article  Google Scholar 

  35. Leite SA, Locatelli SB, Niece SP, Oliveira AR, Tockus D, Tosin T. Impact of hyperglycemia on morbidity and mortality, length of hospitalization and rates of re-hospitalization in a general hospital setting in Brazil. Diabetol Metab Syndr. 2010;2:1–6.

    CAS  Article  Google Scholar 

  36. Akirov A, Diker-Cohen T, Masri-Iraqi H, Shimon I. High glucose variability increases mortality risk in hospitalized patients. J Clin Endocrinol Metab. 2017;102:2230–41.

    Article  PubMed  Google Scholar 

  37. Kim Y, Rajan KB, Sims SA, Wroblewski KE, Reutrakul S. Impact of glycemic variability and hypoglycemia on adverse hospital outcomes in non-critically ill patients. Diabetes Res Clin Pract. 2014;103:437–43.

    Article  PubMed  Google Scholar 

  38. Retningslinje til behandling af indlæggelseskrævende voksne patienter med COVID-19. Dansk Selsk Infekt. Published online 2021.

  39. Roberts A, James J, Dhatariya K, Agarwal N, Brake J, Brooks C, et al. Management of hyperglycaemia and steroid (glucocorticoid) therapy: a guideline from the Joint British Diabetes Societies (JBDS) for Inpatient Care group. Diabet Med. 2018;35:1011–7.

    CAS  Article  PubMed  Google Scholar 

  40. Aberer F, Hochfellner DA, Sourij H, Mader JK. A practical guide for the management of steroid induced hyperglycaemia in the hospital. J Clin Med. 2021.

    Article  PubMed  PubMed Central  Google Scholar 

  41. Klarskov CK, Jensen AK, Olsen MT, Windum NA, Pedersen-Bjergaard U, Kristensen PL, et al. The influence of glucocorticoid therapy on glucose metrics in hospitalized patients with diabetes monitored by continuous glucose monitoring n.d.

  42. Maahs DM, Desalvo D, Pyle L, Ly T, Messer L, Clinton P, et al. Effect of acetaminophen on CGM glucose in an outpatient setting. Diabetes Care. 2015;38:e158–9.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  43. Wang M, Singh LG, Spanakis EK. Advancing the use of CGM devices in a non-ICU setting. J Diabetes Sci Technol. 2019;13:674–81.

    Article  PubMed  PubMed Central  Google Scholar 

  44. Klarskov CK, Kristensen PL. Experience from implementing telemetric in-hospital continuous glucose monitoring during the COVID-19 pandemic. J Diabetes Sci Technol. 2021;15:715–6.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

Download references


Not applicable.


This work was supported by Novo Nordisk Foundation (NNF Pre-graduate Scholarships 2021–1: 0067098) and Fru Olga Bryde Nielsen Foundation. Funding sources had no role in the design of this study nor the collection, analysis, and interpretation of data and in writing the manuscript.

Author information

Authors and Affiliations



MTO: Main responsible for writing the study protocol, data collection, data analysis, and interpretation, and drafting the main manuscript, AMD and CK: Has made substantial contributions to the study protocol and substantively revised it and critical revision of the main manuscript, AKJ: Has assisted in data analysis and interpretation and performed statistical guidance, BL: Has made substantial contributions to the main manuscript, PLK: Has made substantial contributions to the study protocol, critical revision of the main manuscript and substantively revised it and performed statistical guidance. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Mikkel Thor Olsen.

Ethics declarations

Ethics approval and consent to participate

This project has been registered on (NCT03795662) and conducted in accordance with the Declaration of Helsinki. Approval was given by the Scientific Ethics Committee of the Capital Region of Denmark with journal number H-18024256 and by the Data Protection Agency with journal number VD-2018-479 with I-Suite number 6738. Informed written consent was obtained from all study participants before entering the study.

Consent for publication

Not applicable.

Competing interests

MTO: None, AMD: None, CK: None, AKJ: None, BL: None, PLK: Has received speakers fee from Sanofi A/S, Novo Nordisk A/S, Boehringer Ingelheim A/S and AstraZeneca A/S.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1

. Dataset supporting the findings of this study.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Olsen, M.T., Dungu, A.M., Klarskov, C.K. et al. Glycemic variability assessed by continuous glucose monitoring in hospitalized patients with community-acquired pneumonia. BMC Pulm Med 22, 83 (2022).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Chronic obstructive pulmonary disease
  • Community-acquired pneumonia
  • Continuous glucose monitoring
  • Diabetes mellitus
  • Glucocorticoid-induced hyperglycemia
  • Glycemic variability
  • Length of stay