Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Longitudinal changes in glycemic control and associated factors in patients with type 2 diabetes mellitus in a public referral hospital in Peru

Abstract

Objectives

To evaluate longitudinal changes in glycemic control, measured by glycated hemoglobin (HbA1c), among patients with type 2 diabetes mellitus treated at a national hospital in Peru, and to identify factors associated with persistent poor glycemic control (HbA1c ≥ 7%).

Methods

We conducted a retrospective cohort study including 741 patients aged 18–65 years with T2DM who had at least two HbA1c measurements (baseline and one-year follow-up) recorded between 2015 and 2019. Changes in the proportion of patients with HbA1c ≥ 7% were assessed using McNemar’s test, and individual baseline-to-follow-up HbA1c changes were evaluated. Factors associated with persistent poor glycemic control over time were examined using generalized estimating equation (GEE) models with binomial distribution and logit link. An exchangeable correlation structure and robust standard errors were applied. Progressive models were constructed according to the percentage of missing data, along with a complete-case sensitivity analysis.

Results

The proportion of patients with HbA1c ≥ 7% decreased from 66.6% to 60.7% (absolute difference: 5.9%; 95% CI: 2.4–9.4; p < 0.001). Overall, 14.3% of patients improved (from ≥7% to <7%), whereas 8.4% worsened (from <7% to ≥7%), yielding a paired odds ratio of 1.71 (95% CI: 1.23–2.37). The median individual baseline-to-follow-up change in HbA1c was 0.0%; however, 35.6% experienced a reduction >0.5%, and 28.3% an increase >0.5%. In GEE models, the odds of HbA1c ≥ 7% were lower at follow-up (adjusted OR: 0.73; 95% CI: 0.61–0.88). Longer diabetes duration (≥10 years), insulin use, and hypertriglyceridemia were associated with higher odds of poor glycemic control, whereas reduced estimated glomerular filtration rate was associated with lower odds.

Conclusions

Among patients with type 2 diabetes treated at a public hospital in Peru, a modest reduction in the proportion of poor glycemic control was observed after one year of follow-up. Although this reduction was statistically significant, most patients remained above recommended HbA1c targets. These findings underscore persistent gaps in diabetes management and highlight the need for strengthened clinical and public health strategies to improve glycemic control in routine care settings in Peru.

Introduction

Despite advances in medicine, millions of people diagnosed with type 2 diabetes mellitus (DM2) worldwide remain far from achieving optimal control of their condition [1]. Only modest improvements in glycemic control have been achieved worldwide, with an average annual reduction of just 0.5% in HbA1c levels [2] Likewise, even in high-income countries, glycemic control remains suboptimal: in regions such as the United States and Europe, fewer than 40% of patients achieve an HbA1c level <7%, and this proportion is even lower in emerging countries, where only about one third reach this target [3]. In South America, fewer than half of patients achieve adequate glycemic control [4]. In Peru, the situation is no different [5]. Despite the availability of international and national guidelines that prioritize HbA1c monitoring as a key indicator, clinical outcomes remain unsatisfactory.

Several factors contribute to the gap between routine clinical practice and recommended glycemic targets. The most relevant include longer disease duration, poor adherence to pharmacological treatment, low educational attainment, and limited disease-related knowledge [6]. In addition, comorbid conditions such as obesity, arterial hypertension, and dyslipidemia further complicate comprehensive diabetes management; and complexity of insulin regimens may also promote clinical inertia and increase variability in clinical outcomes [7]. However, in the Peruvian context, evidence on the effectiveness of standard treatments in achieving glycemic control targets among patients treated in public hospitals remains scarce, particularly given that the Ministry of Health defines an HbA1c target of <7%, with follow-up assessments every 3–6 months, as the national therapeutic goal [8].

In light of this knowledge gap, there is a need for a more precise characterization of longitudinal changes in HbA1c and for the identification of clinical and therapeutic factors associated with successful or unsuccessful metabolic control. Accordingly, this study aimed to assess longitudinal changes in glycated hemoglobin among patients with type 2 diabetes mellitus treated at the endocrinology service of a public hospital in Peru over a one-year follow-up period, and to identify factors associated with the persistence of poor glycemic control (HbA1c ≥ 7%). These findings provide relevant evidence on the effectiveness of current management strategies and may inform the optimization of clinical interventions and resource allocation to improve glycemic control and prevent long-term complications.

Methods

Study design and clinical setting

This study was reported in accordance with the STROBE (Strengthening the Reporting of Observational Studies in Epidemiology) guidelines for observational studies. We conducted a retrospective longitudinal observational cohort study using the database of the endocrinology outpatient clinic at Hospital María Auxiliadora administered by the Ministry of Health, The hospital provides medical care to a population originating from surrounding districts in the south of Lima,

Study population and sample

The sampling frame consisted of adult patients (18–65 years) with a diagnosis of type 2 diabetes mellitus who were treated in the outpatient setting between 2015 and 2019 and were registered in the Diabetes Epidemiological Surveillance Program of the General Directorate of Epidemiology. Patients with only a single recorded evaluation and those lacking a glycated hemoglobin measurement at one year of follow-up were excluded.

Sampling and sample power

A census sampling approach was used, including all accessible individuals recorded in the database.

The statistical power of the final sample was calculated based on the proportion of discordant pairs, using as reference the study by López Huamanrayme and the power paired proportions command in Stata 19.5 (College Station, Texas, USA). In that study, 10.2% of patients showed improvement (transition from HbA1c ≥ 7% to <7%), while 5.1% worsened (from HbA1c < 7% to ≥7%) [9]. Using these parameters (p21 = 0.102, p12 = 0.051), a 5% significance level, and a sample size of 741 subjects, the estimated power of McNemar’s test was 94.6% (power = 0.9455), exceeding the 80% threshold. Additionally, power simulations were performed by varying the number of participants (500–1000) and the proportions of discordant pairs, showing that power remained high and tended to stabilize at values close to 1 as sample size and the difference between the proportions of improvement and worsening increased (S1 Fig).

Variables and operationalization

The primary outcome was the change in glycemic control at one year, defined as the change in the proportion of patients with HbA1c ≥ 7% between baseline and final assessments. Secondary outcomes included: (i) paired transitions between glycemic control categories (improvement: ≥ 7% to <7%; worsening: < 7% to ≥7%; maintained <7%; maintained ≥7%) and the corresponding McNemar odds ratio among discordant pairs; and (ii) the individual change in HbA1c, expressed as ΔHbA1c = baseline − final (positive values indicating a reduction in HbA1c). This Δ was described as a continuous variable (median [IQR]) and categorized into three clinically important groups changes: decrease (<−0.5%), minimal change (−0.5% to 0.5%), and increase (>0.5%).

Sociodemographic characteristics were measured at baseline: age (≥60 vs < 60 years), sex (male/female), educational level (primary or less; secondary or higher), duration of diabetes (≥10 vs < 10 years), arterial hypertension (yes/no), obesity defined by body mass index (BMI ≥ 30 kg/m2 vs < 30 kg/m2), and abdominal obesity (waist circumference ≥102 cm in men or ≥88 cm in women).

Pharmacological exposure at baseline was operationalized in two ways: (a) by individual drug (metformin, sulfonylureas, insulin, and others), and (b) by initial treatment regimen in four categories: no pharmacological treatment, oral antidiabetic drugs (OADs) only, insulin only, and insulin plus OADs.

Laboratory variables were defined at baseline, using clinical cutoffs: fasting glucose ≥130 mg/dL, 2-hour postprandial glucose ≥180 mg/dL, LDL cholesterol ≥100 mg/dL, low HDL cholesterol (men < 40 mg/dL/ women <50 mg/dL), triglycerides ≥150 mg/dL, creatinine ≥1 mg/dL, albuminuria ≥30 mg/24 h, and creatinine clearance (or eGFR) <60 mL/min.

Procedures and data collection

Data was obtained from the Diabetes Epidemiological Surveillance Program for the period 2015–2019. Data were evaluated and analyzed from october 1 to december 30, 2024., after approval from the hospital’s ethics committee.

The information had been originally collected by physicians from the endocrinology service using a standardized form that included demographic, clinical, and laboratory data, recorded during routine outpatient visits or whenever laboratory tests were requested. Data was registered into the official web-based platform of the program (https://app8.dge.gob.pe/diabetes/).

Database cleaning was performed by identifying and correcting extreme values, outliers, inconsistent entries, and missing cells using Microsoft Excel. Inclusion and exclusion criteria were then applied. Finally, a flow diagram was developed showing the number of patients included in and excluded from the analysis.

Data processing and statistical analysis

First, baseline characteristics of the sampling frame and the included sample were described using frequencies and percentages. Both groups were compared using the χ2 test or Fisher’s exact test, as appropriate, and the percentage of missing data for each variable was also reported.

Statistical analyses were conducted according to the paired study design. To assess the overall change in glycemic control at one year (HbA1c ≥ 7%), baseline and final proportions were compared using McNemar’s test, and the absolute difference in proportions was estimated with 95% CI adjusted for pairing.

In addition, transitions between glycemic control categories (improved, worsened, maintained <7%, and maintained ≥7%) were quantified, and the paired McNemar odds ratio was calculated as the ratio of discordant pairs (improved/worsened), with corresponding 95% CI. Individual change in HbA1c was defined as the difference between baseline and final values (Δ = baseline − final; positive values indicate a reduction) and was described as a continuous variable using the median and interquartile range. Paired median comparisons were performed using the Wilcoxon signed-rank test, and quantile regression with robust variances was used to estimate the median Δ and its confidence interval. Additionally, Δ was categorized into three clinical bands (<−0.5%, −0.5% to 0.5%, and >0.5%) and related to categorical changes in glycemic control. Complementary descriptive analyses, such as the distribution of Δ HbA1c and category transition matrices, are presented in the supplementary material.

To identify factors associated with poor glycemic control (HbA1c ≥ 7%) over time, generalized estimating equation (GEE) models with a binomial distribution, logit link, exchangeable working correlation structure, and robust standard errors were applied, accounting for clustering by patient (two observations per subject: baseline and final) [10,11]. Crude and adjusted odds ratios with 95% confidence intervals were reported. The modeling strategy was conducted in stages: Model 1 included only variables with no or minimal missing data; Model 2 incorporated variables with approximately 10% of missing data (such as educational level and body mass index); and Model 3 added variables with up to 35% of missing data (such as triglycerides and estimated glomerular filtration rate). Variables with more than 35% of missing information, including abdominal obesity and albuminuria, were excluded from multivariable models. In the main model, the aim was to retain as many clinically relevant covariates as possible; therefore, in Models 2 and 3, missing values were coded as a specific category (“missing”).

Additionally, a sensitivity analysis using complete-case analysis was performed by replicating the same three models but restricting each to observations with complete data for the included variables, without creating “missing” categories, to assess the robustness of the observed associations in the presence of missing data. To reduce collinearity among medications, pharmacological exposure was primarily modeled as the initial treatment regimen in four mutually exclusive categories (none, oral antidiabetic drugs only, insulin only, and insulin plus oral antidiabetic drugs). As a complementary analysis, an analysis restricted to discordant pairs, such as patients who changed HbA1c category (≥7% to <7% or vice versa) between baseline and final assessments, was conducted using McNemar’s test stratified by demographic, clinical, therapeutic, and laboratory subgroups, reporting odds ratios (improved/worsened) with 95% confidence intervals for each stratum.

In analyses of the sampling frame by categories of Δ presented in the supplementary material, comparisons were performed using χ2 or Fisher’s exact tests, and for comparisons of continuous Δ, effect size was also reported using Cohen’s d with 95% CI.

All tests were two-sided with a significance level of 0.05. Data processing and statistical analyses were performed using Stata version 19.5 (StataCorp, College Station, Texas, USA).

Ethical considerations

The project (PRE-15-2024-00188) was reviewed by the Institutional Review Board/Ethics Committee of Universidad Científica del Sur and approved under Certificate No. 526-CIEI-CIENTIFICA-2024. It was also reviewed and approved by the Institutional Ethics Committee of Hospital María Auxiliadora under the Unique Registration Code HMA/CIEI/047/2024.

Access was granted to an anonymized database that did not include names, surnames, medical record numbers, or any other personally identifiable information. The data were stored on a personal computer and were used exclusively for research purposes.

Results

Sample selection

Of a total of 6,577 individuals with diabetes mellitus who attended the clinic for the first time between 2015 and 2019, 2,333 had a one-year follow-up evaluation. Subsequently, 1,592 additional patients were excluded due to the absence of a glycated hemoglobin measurement at one year. Finally, 741 patients met the established criteria and were included in the analysis (Fig 1).

thumbnail
Fig 1. Flowchart of patient selection for the longitudinal analysis.

https://doi.org/10.1371/journal.pone.0346081.g001

Patients with diabetes mellitus were identified at their first consultation between 2015 and 2019. Exclusions were due to lack of follow-up or missing HbA1c at one year. The final sample consisted of patients with complete baseline and follow-up HbA1c data

Compared with the sampling frame, study sample had a higher proportion of adults aged ≥60 years (60.6% vs. 51.5%; p = 0.001), a lower proportion of males (30.4% vs. 35.7%; p = 0.005), a higher educational level (p = 0.001) and dyslipidemia (0.001), greater use of metformin (70.9% vs. 66.0%; p = 0.008), and differences in the number of medications at baseline (p = 0.004 for none). No significant differences were identified in other baseline characteristics (Table 1).

thumbnail
Table 1. Baseline characteristics of the source population and included sample.

https://doi.org/10.1371/journal.pone.0346081.t001

Baseline characteristics

Among the 741 patients included in the analysis, most were women (69.6%) and aged ≥60 years (60.6%). More than half had a low educational level (52.1%), and nearly one third had diabetes duration longer than 10 years (28.6%). At baseline, approximately two thirds of patients had poor glycemic control (HbA1c ≥ 7%). Lipid abnormalities were highly prevalent, with elevated LDL cholesterol observed in 71.3% and low HDL cholesterol in 59.8% of participants. Regarding treatment, metformin was the most commonly prescribed medication (70.9%), and 28.1% of patients were receiving any insulin therapy. The use of novel antidiabetic agents was minimal. Overall, treatment regimens were predominantly based on oral antidiabetic drugs (Table 1).

Overall changes in glycemic control

A significant reduction in the proportion of patients with poor glycemic control (HbA1c ≥ 7%) was observed between the baseline and follow-up assessments (66.6% vs. 60.7%), corresponding to an absolute difference of 5.9% (95% CI: 2.4–9.4). Paired analyses showed that most patients remained with HbA1c ≥ 7% (52.4%), while 25.0% consistently had HbA1c < 7%. Improvement to adequate control (HbA1c ≥ 7% to <7%) was observed in 14.3% of patients, whereas 8.4% worsened from <7% to ≥7%, yielding a paired odds ratio of 1.71 (95% CI: 1.23–2.37; p < 0.001). Regarding absolute changes in HbA1c values between baseline and follow-up, 43.4% of patients experienced a decrease, 35.9% an increase, and 20.6% showed no change. The median difference was not statistically significant (0; 95% CI: −0.03 to 0.03; p = 1.000). When changes were categorized according to clinical relevance, 35.6% of patients showed improvement (reduction >0.5%), 36.0% exhibited minimal change (−0.5% to 0.5%), and 28.3% experienced worsening (increase >0.5%) (Table 2).

thumbnail
Table 2. Changes in glycemic control (HbA1c) from baseline to follow-up: proportions, absolute differences, and paired comparisons.

https://doi.org/10.1371/journal.pone.0346081.t002

When examining the relationship between categorical changes in glycemic control and the magnitude of individual HbA1c variation, most patients who consistently maintained HbA1c < 7% experienced only minimal changes (−0.5 to 0.5) (65.4%). Among those who remained with HbA1c ≥ 7%, changes were more evenly distributed, with 31.7% showing a clinically meaningful reduction, 36.1% exhibiting minimal variation, and 32.2% experiencing a clinically important increase. In the group that worsened (from HbA1c < 7% to ≥7%), nearly all patients showed clinically important increases in HbA1c (91.9%). Conversely, among patients who improved (from HbA1c ≥ 7% to <7%), 99.1% achieved a clinically important reduction (Δ > 0.5) (Table 3 and Fig 2).

thumbnail
Table 3. Relationship between categorical change in glycemic control and the magnitude of individual HbA1c change (baseline to follow-up).

https://doi.org/10.1371/journal.pone.0346081.t003

thumbnail
Fig 2. Changes in glycemic control: HbA1c-based categories and individual absolute variation.

https://doi.org/10.1371/journal.pone.0346081.g002

The left panel shows categorical changes in HbA1c relative to the 7% threshold between baseline and follow-up: worsened (<7% to ≥7%), maintained ≥7%, maintained <7%, and improved (≥7% to <7%). The right panel displays the individual absolute change in HbA1c (Δ), classified as: clinically relevant increase (Δ < –0.5%), minimal/no change (Δ –0.5% to 0.5%), and clinically relevant decrease (Δ > 0.5%).

Supplementary analyses further explored the dynamics of HbA1c changes. S1 Table and S1 Fig display the distribution of absolute differences in HbA1c between baseline and follow-up. Most patients clustered around values close to zero, with 36% showing no clinically important change (−0.5 to +0.5%), whereas 28.3% experienced reductions ≥0.5% and 35.6% exhibited increases ≥0.5%.

S2 Table, S3 and S4 Figs illustrate transitions across HbA1c categories. Although a substantial proportion of patients remained in poor glycemic control (≥7%), meaningful flows toward improvement (≥7% to <7%) were observed, reinforcing the consistency between categorical shifts and the absolute magnitude of HbA1c variation.

Factors associated with poor glycemic control in GEE models

Longitudinal analyses using GEE models showed a statistically significant reduction in the proportion of patients with HbA1c ≥ 7% at one-year follow-up (adjusted OR: 0.73; 95% CI: 0.61–0.88; p = 0.001). This finding indicates that, on average, the odds of poor glycemic control at follow-up were 27% lower than at baseline, independently of the other covariates included in the model. Regarding associated factors, patients with a diabetes duration of ≥10 years had an adjusted OR of 2.58 (95% CI: 1.82–3.64; p < 0.001), indicating more than a twofold higher likelihood of maintaining HbA1c ≥ 7% compared with those with a shorter disease duration. In terms of treatment regimen, insulin use, either as monotherapy (adjusted OR: 5.99; 95% CI: 3.65–9.82; p < 0.001) or in combination with oral antidiabetic agents (adjusted OR: 5.19; 95% CI: 3.08–8.77; p < 0.001), was strongly associated with an increased probability of poor glycemic control.

Regarding metabolic factors, hypertriglyceridemia was associated with a higher likelihood of poor glycemic control (HbA1c ≥ 7%) (adjusted OR: 2.06; 95% CI: 1.46–2.89; p < 0.001), a pattern that was also observed among participants with missing data for this variable. Finally, patients with an estimated creatinine clearance <60 mL/min showed a lower probability of persistent poor glycemic control (adjusted OR: 0.54; 95% CI: 0.30–0.96; p = 0.038). In contrast, variables such as age, sex, educational level, hypertension, and BMI-defined obesity were not significantly associated with poor glycemic control after multivariable adjustment (Table 4).

thumbnail
Table 4. Demographic, clinical, therapeutic, and laboratory factors associated with changes in the proportion of patients with HbA1c ≥ 7% between baseline and follow-up: crude and adjusted GEE regression analyses.

https://doi.org/10.1371/journal.pone.0346081.t004

The supplementary GEE regression models confirmed the robustness of the main findings. Insulin use (either alone or in combination with oral agents), diabetes duration ≥10 years, and hypertriglyceridemia remained consistent predictors of poor glycemic control (HbA1c ≥ 7%), regardless of model specification and the approach used to handle missing data (S3 Table).

Similarly, in the sensitivity analysis restricted to complete cases (i.e., without creating a “missing data” category), the time effect remained statistically significant in Models 1 and 2, indicating a lower probability of HbA1c ≥ 7% at follow-up compared with baseline. In Model 3 (n = 312), the time effect lost statistical significance, which was expected given the substantial reduction in sample size; however, both direction and magnitude of the estimate were consistent with those observed in the previous models, supporting the overall stability of the main finding (S4 Table).

Discordant-pair analysis: Factors associated with improvement

In the analysis restricted to discordant pairs using the McNemar test, a significant reduction in poor glycemic control at one year was confirmed (OR = 1.71; 95% CI: 1.23–2.37; p < 0.001), indicating that transitions toward improvement (HbA1c ≥ 7% to <7%) were more frequent than transitions toward deterioration (<7% to ≥7%). Stratified analyses revealed stronger associations in specific subgroups. Improvement was more pronounced among patients aged ≥60 years (OR = 1.81; 95% CI: 1.18–2.79; p = 0.005) and among men (OR = 2.18; 95% CI: 1.17–4.23; p = 0.011). Similarly, patients with a diabetes duration of less than 10 years were more likely to improve glycemic control (OR = 1.76; 95% CI: 1.22–2.58; p = 0.002). Regarding clinical characteristics, individuals with a body mass index <30 kg/m2 showed a higher likelihood of improvement (OR=2.24; 95% CI: 1.42–3.60; p = 0.001). At the laboratory level, the absence of microalbuminuria was associated with greater odds of improvement (OR=1.71; 95% CI: 1.13–2.62; p = 0.010), as was preserved renal function, defined as creatinine clearance ≥60 ml/min (OR=3.00; 95% CI: 1.37–7.25; p = 0.003) (Table 5).

thumbnail
Table 5. Demographic, clinical, therapeutic, and laboratory factors associated with changes in glycemic control among discordant pairs (HbA1c ≥ 7% to <7% transitions between baseline and follow-up).

https://doi.org/10.1371/journal.pone.0346081.t005

Supplementary analyses

In additional analyses, the distribution of individual HbA1c changes across demographic and clinical subgroups (S5 Table) showed no meaningful differences, reinforcing the interpretation that the overall changes observed reflect cohort-level evolution rather than effects driven by specific subpopulations.

Consistently, S6 and S7 Tables, where HbA1c change was categorized using clinically important thresholds (≥0.5%), confirmed that the observed trends were largely homogeneous across strata. Statistically significant differences emerged only when stratified by baseline glycemic status (HbA1c < 7% vs. ≥ 7%), highlighting baseline control as the primary determinant of subsequent change.

Discussion

Main findings

In this study, we observed a reduction in the proportion of patients with poor glycemic control over the follow-up period. Longitudinal analyses using GEE models showed that the probability of having HbA1c ≥ 7% at one year was approximately one-third lower than at baseline. Consistently, paired analyses indicated that transitions from HbA1c ≥ 7% to <7% were more frequent than transitions in the opposite direction.

Despite this overall improvement, more than half of the cohort remained with HbA1c ≥ 7% at the end of follow-up, indicating that the magnitude of improvement was modest. Longer duration of diabetes, insulin use, and hypertriglyceridemia were independently associated with a higher likelihood of persistent poor glycemic control, whereas an estimated glomerular filtration rate <60 mL/min was associated with a lower probability of HbA1c ≥ 7%.

Comparison with previous studies

Our findings are consistent with previous studies conducted in Peru, Latin America, and other regions. In the Peruvian context, hospital-based studies have consistently reported a low proportion of patients achieving HbA1c < 7%, with estimates of 31.7% in public hospitals [12], 25.3% in EsSalud [13] and 35.8% at the national level [5]. These figures are comparable to the baseline levels of glycemic control observed in our cohort.

Notably, López-Huamanrayme et al. reported that 10.2% of patients improved their glycemic control, while 5.1% experienced deterioration after one year of follow-up [9]. This pattern closely mirrors both direction and magnitude of change observed in our study, supporting the consistency of these findings across different Peruvian clinical settings.

In Latin America, a similar pattern has been reported. In Mexico, only 39–43% of patients achieved an HbA1c < 7%, with a progressive decline in glycemic control as diabetes duration increases [14]. Likewise, a multicenter study conducted across nine countries found that only 43% of patients met glycemic targets, with substantially poorer control among those with more than 15 years of disease duration [15]. Although targeted interventions using advanced technologies, such as mHealth strategies implemented in Argentina, have demonstrated meaningful improvements, their scalability and generalizability to routine clinical practice remain uncertain [16].

Similarly, systematic reviews indicate that poor glycemic control remains the global norm, with reported prevalences ranging from 45% to as high as 93% [17,18]. Educational and dietary interventions have been associated with modest reductions in HbA1c (approximately –0.3% to –0.6%), while more structured dietary approaches achieve larger decreases (–0.7% to –1.3%). However, sustaining these improvements over time continues to represent a major challenge [19,20].

Finally, population-based cohorts reveal heterogeneous glycemic trajectories over time. In the United States, most patients (95.5%) maintain stable glycemic control over a two-year period, although a small but relevant proportion (4.4%) experiences rapid deterioration [21]. In Japan, mean population HbA1c levels remained largely stable between 2012 and 2019; however, poorer glycemic control has been observed among younger, insulin-treated individuals [22]. In contrast, data from the SEARCH study indicate a worsening trend in glycemic control over the past decade among adolescents and young adults [23].

Taken together, these findings place our study within the pattern consistently reported in both national and international literature: modest improvements in average glycemic control coexisting with a substantial proportion of patients who remain above recommended therapeutic targets. The magnitude of change observed, as well as the identification of subgroups with poorer trajectories, particularly those with longer disease duration and insulin use, aligns with evidence from hospital-based studies and population cohorts. Collectively, these results reinforce the notion that, in the absence of intensive interventions or broader access to modern therapies, improvements in glycemic control tend to be modest and unevenly distributed across patient populations.

Explanation of findings and biological plausibility

The observed reduction in the proportion of patients with HbA1c ≥ 7% over the follow-up period suggests an overall improvement in glycemic control at the population level [24]. This finding is consistent with the notion that regular contact with a specialized care service facilitates progressive therapeutic adjustments, pharmacological intensification, and reinforcement of non-pharmacological recommendations [25]. However, this average effect does not imply a uniform improvement across individuals. This heterogeneity is reflected in the null median change in individual HbA1c values and in the coexistence of distinct trajectories, with subgroups of patients who improved, worsened, or remained stable over time [26].

In our analysis, the magnitude of the observed effect varied according to the statistical approach used. The paired McNemar odds ratio indicated a moderate effect in favor of improvement (OR=1.71), whereas the adjusted GEE model revealed a more robust and time-consistent effect (OR=0.73). It is important to note that, within the GEE framework, odds ratios below 1 should be interpreted as protective against poor glycemic control, as this method estimates population-averaged odds ratios while accounting for within-subject correlation over time. The apparent discrepancy between both approaches can be explained by their underlying assumptions: the McNemar test is restricted to discordant pairs only, whereas GEE models incorporate the full longitudinal structure of the data and allow for multivariable adjustment, resulting in more stable and generalizable estimates (29). These findings further support the interpretation that glycemic improvement occurs at the population level, albeit with substantial interindividual heterogeneity.

Among the factors associated with poor glycemic control, a diabetes duration of ≥10 years (adjusted OR=2.58) is consistent with the progressive decline in pancreatic β-cell function, which limits the ability of conventional therapeutic regimens to sustain glycemic targets over the long term. The use of insulin, either alone or in combination with oral antidiabetic agents (adjusted ORs 5–6), should be interpreted primarily as a marker of greater disease severity and prior failure of oral therapy, rather than as an intrinsic adverse effect of insulin itself. Likewise, hypertriglyceridemia (adjusted OR 2.06) is biologically plausible, as it reflects an underlying milieu of insulin resistance, lipotoxicity, and coexistence of other components of the metabolic syndrome, conditions that collectively hinder the achievement and maintenance of adequate glycemic control.

Conversely, the lower probability of poor glycemic control observed among patients with reduced glomerular filtration may be explained by several non-mutually exclusive mechanisms. These include the use of more conservative pharmacological regimens, closer clinical follow-up, more frequent dose adjustments, and, in some cases, reduced caloric intake associated with chronic kidney disease. In addition, in more advanced stages of renal impairment, decreased insulin clearance prolongs insulin action, thereby facilitating lower plasma glucose levels. Finally, conditions commonly accompanying chronic kidney disease—such as anemia and reduced erythrocyte lifespan may influence HbA1c values [27], leading to lower measured levels that do not necessarily reflect true improvements in glycemic control. Nevertheless, this finding should be interpreted with caution, given the high proportion of missing data for this variable (34.9%), which may have influenced the final estimates.

Finally, the fact that our data were derived from a public tertiary referral hospital places these results within a setting characterized by greater clinical complexity [28]. Such environments tend to concentrate patients with longer disease duration, more frequent insulin use, and multiple comorbidities [29]. This higher burden of complex cases may partly explain the differences observed when compared with population-based cohorts and may have attenuated the magnitude of the improvements in glycemic control identified in this study [30].

Public health relevance and practical implications

During the study period, the therapeutic options available within the Ministry of Health (MINSA) system were limited to metformin, sulfonylureas, and NPH and regular insulin. Within this constrained therapeutic context, it is noteworthy that although a statistically significant reduction in glycated hemoglobin category transitions was observed, a substantial proportion of patients failed to achieve the HbA1c target of <7%. This indicates that, despite a favorable overall trend, gains in optimal glycemic control were modest. Given that the prevention of chronic microvascular complications; such as diabetic retinopathy, nephropathy, and neuropathy; requires sustained glycemic control over time [31], the one-year outcomes observed in this study offer a limited outlook regarding the long-term health impact for these patients.

Importantly, glycemic control, while essential, represents only one component of comprehensive metabolic management. International evidence consistently shows that the simultaneous control of glucose, blood pressure, and lipid levels is what ultimately determines the risk of macrovascular complications and mortality [32] If achieving adequate HbA1c targets alone is already challenging, attaining concurrent control of all three risk factors is even more complex. From a public health perspective, these findings underscore the need to strengthen access to therapies with improved efficacy and safety profiles, promote multidisciplinary care models, and implement intensive follow-up programs that integrate all components of metabolic risk management, particularly in resource-limited health systems.

Strengths and limitations

This study has several limitations that should be considered when interpreting its findings. First, although the database initially included 6,577 individuals with type 2 diabetes mellitus, only 741 met the eligibility criteria and had sufficient information for the main analysis. While this represents just over 10% of the original sampling frame, the clinical registry itself holds substantial potential for future research, provided that the completeness and quality of longitudinal data are further improved. The relatively limited sample size may have reduced the ability to detect associations of smaller magnitude and should be taken into account when interpreting the results. In addition, comparisons between the included sample and the overall sampling frame revealed differences in certain demographic and clinical characteristics, such as a higher proportion of individuals aged ≥60 years and differences in metformin use, which may have influenced the estimated associations. These discrepancies raise the possibility of selection bias and warrant caution when extrapolating the findings to the entire population receiving care in the endocrinology service.

Second, several variables had incomplete data. As a predefined strategy, variables with more than 35% missing values were excluded from the multivariable models, as was the case for abdominal obesity (50.4%) and microalbuminuria. However, for the anthropometric domain, body mass index was available and used as an alternative measure. In addition, albuminuria mainly reflects a consequence of poor glycemic control rather than a direct causal determinant; therefore, its exclusion is unlikely to have substantially affected the main associations observed. Third, it was not possible to assess adherence to pharmacological treatment, nor to verify whether patients maintained regular attendance at endocrinology visits or accessed complementary services such as nutritional counseling or diabetes education programs. In addition, information on treatment modifications during the follow-up period was not consistently available in the clinical records, preventing evaluation of changes in therapeutic regimens over time. These factors are likely to influence glycemic control, and their omission may have led to an underestimation of interindividual variability in treatment response. Furthermore, although the GEE models used are appropriate for longitudinal data and account for within-subject correlation, their estimates represent population-averaged effects, which limits direct inference at the individual level. Likewise, because a logit link was applied, the resulting odds ratios should be interpreted as approximations of relative risk rather than direct risk estimates. This limitation was partially addressed through complementary individual-level analyses, including paired comparisons and analyses of changes in mean HbA1c values, the results of which are presented in the supplementary tables.

In contrast, this study has several notable strengths. First, a systematic comparison between the sampling frame and the analyzed sample was conducted, allowing potential selection differences to be identified and their impact transparently addressed. Second, while a pragmatic strategy of creating a “missing data” category was used to retain sample size for variables with up to 35% missing values, complementary analyses were also performed using complete-case models, as well as models including variables with less than 10% and up to 35% missing information. A sensitivity analysis restricted exclusively to complete cases was also conducted. These approaches yielded consistent estimates, supporting the robustness of the findings. Third, the study’s statistical power was evaluated across different scenarios of discordant proportions and sample sizes, confirming sufficient capacity to detect clinically relevant differences. Finally, glycemic control was assessed from multiple perspectives, including the proportion of patients with HbA1c ≥ 7%, categorical transitions, and individual HbA1c changes, providing a more comprehensive and robust understanding of glycemic patterns in this patient population.

Research recommendations

The findings of this study highlight the need for further research on glycemic control in individuals with type 2 diabetes receiving care in public hospitals in Peru. First, future studies should incorporate longer-term follow-up to determine whether the modest reductions in HbA1c observed are sustained over time and whether they translate into meaningful reductions in micro- and macrovascular complications. Second, it is essential to include variables related to treatment adherence and continuity of care, including follow-up in endocrinology, nutrition, and diabetes education services, as these factors directly influence therapeutic effectiveness and were not assessed in the present study. Third, future research should explore the impact of newer therapeutic regimens incorporating medications with improved safety and efficacy profiles, such as GLP-1 receptor agonists or SGLT2 inhibitors, which remain limited in the public system but could substantially improve outcomes in comprehensive metabolic control. Finally, studies evaluating all three key components of metabolic management (glucose, blood pressure, and lipids) are warranted, given that controlling only one component in isolation may be insufficient to prevent major cardiovascular events.

Conclusion

In patients with type 2 diabetes receiving care at a public referral hospital, the proportion of individuals with poor glycemic control decreased after one year of follow-up. However, the magnitude of this reduction, an absolute difference of approximately 6%, is modest from a clinical perspective. The median individual change in HbA1c was essentially zero, suggesting that the observed population-level improvement was driven primarily by a subset of patients who achieved values below the 7% threshold, while a substantial proportion experienced no clinically meaningful change. Persistence of poor glycemic control was more likely among patients with longer disease duration, insulin-based treatment regimens, and hypertriglyceridemia, whereas reduced kidney function was associated with a lower probability of HbA1c ≥ 7%, likely reflecting clinical and physiological factors related to advanced disease and treatment patterns. Overall, these findings suggest limited progress in glycemic control within the public healthcare setting and highlight the need to strengthen more intensive, individualized, and multidisciplinary approaches, as well as to expand access to effective pharmacologic options, to achieve sustained improvements in metabolic control and reduce the risk of diabetes-related complications

Supporting information

S1 Fig. Statistical power curves for the McNemar test.

https://doi.org/10.1371/journal.pone.0346081.s001

(TIF)

S2 Fig. Distribution of HbA1c difference (baseline – final).

https://doi.org/10.1371/journal.pone.0346081.s002

(TIF)

S3 Fig. Transition of HbA1c categories between baseline and final evaluation.

https://doi.org/10.1371/journal.pone.0346081.s003

(DOCX)

S4 Fig. Baseline HbA1c and absolute change at one year.

https://doi.org/10.1371/journal.pone.0346081.s004

(DOCX)

S1 Table. Categories of HbA1c difference (ΔHbA1c) between baseline and final.

https://doi.org/10.1371/journal.pone.0346081.s005

(DOCX)

S2 Table. Transition matrix of HbA1c categories (baseline vs final).

https://doi.org/10.1371/journal.pone.0346081.s006

(DOCX)

S3 Table. Factors associated with poor glycemic control (HbA1c ≥ 7%) in patients with type 2 diabetes according to different GEE model specifications.

https://doi.org/10.1371/journal.pone.0346081.s007

(DOCX)

S4 Table. Sensitivity analysis using GEE models restricted to complete cases for the assessment of factors associated with poor glycemic control (HbA1c ≥ 7%) between baseline and final evaluation.

https://doi.org/10.1371/journal.pone.0346081.s008

(DOCX)

S5 Table. Median individual change in HbA1c from baseline to final evaluation and differences in medians across demographic, clinical, treatment, and laboratory subgroups.

https://doi.org/10.1371/journal.pone.0346081.s009

(DOCX)

S6 Table. Individual change in HbA1c from baseline to final evaluation categorized in the overall population according to demographic, clinical, therapeutic, and laboratory factors.

https://doi.org/10.1371/journal.pone.0346081.s010

(DOCX)

S7 Table. Proportion of patients with a decrease or increase ≥0.5% in HbA1c according to demographic, clinical, and treatment characteristics, stratified by baseline HbA1c (<7% and ≥7%).

https://doi.org/10.1371/journal.pone.0346081.s011

(DOCX)

References

  1. 1. Cheng LJ, Wang W, Lim ST, Wu VX. Factors associated with glycaemic control in patients with diabetes mellitus: A systematic literature review. J Clin Nurs. 2019;28(9–10):1433–50. pmid:30667583
  2. 2. García-Molina L, Lewis-Mikhael A-M, Riquelme-Gallego B, Cano-Ibáñez N, Oliveras-López M-J, Bueno-Cavanillas A. Improving type 2 diabetes mellitus glycaemic control through lifestyle modification implementing diet intervention: a systematic review and meta-analysis. Eur J Nutr. 2020;59(4):1313–28. pmid:31781857
  3. 3. Aschner P, Galstyan GR, Yavuz DG, Litwak L, González-Gálvez G, Goldberg-Eliaschewitz F. Glycemic control and prevention of diabetic complications in low- and middle-income countries: an expert opinion. Diabetes Therapy. 2021;12:1491.
  4. 4. Chachaima-Mar JE, Moreno AIR, Ruiz K, Lazo‐Porras M. Awareness, treatment, and control of diabetes in South America: A systematic review and meta-analysis. Archives of Endocrinology and Metabolism. 2025;69:1.
  5. 5. Seinfeld J, Sobrevilla A, Rosales ML, Ibáñez M, Ruiz D, Penny E, et al. Economic burden of type-2 diabetes in Peru: a cost-of-illness study valuing cost differences associated with the level of glycemic control. Expert Rev Pharmacoecon Outcomes Res. 2024;24(5):661–9. pmid:38584495
  6. 6. Tarekegn ET, Gobezie MY, Haile MB, Zerga AA. Glycemic control and associated factors among type 2 diabetes patients attending at Dessie comprehensive specialized hospital outpatient department. Sci Rep. 2025;15(1):9286. pmid:40102612
  7. 7. Rakhis SAB, AlDuwayhis NM, Aleid N, AlBarrak AN, Aloraini A. Glycemic Control for Type 2 diabetes mellitus patients: a systematic review. Cureus. 2022.
  8. 8. Calderon-Ticona JR, Taype-Rondan A, Villamonte G, Labán-Seminario LM, Helguero-Santín LM, Miranda JJ, et al. Diabetes care quality according to facility setting: A cross-sectional analysis in six Peruvian regions. Prim Care Diabetes. 2021;15(3):488–94. pmid:33358034
  9. 9. López-Huamanrayme E, Salsavilca-Macavilca E, Gárate-Chirinos DD, Taype-Rondán Á. Control glucémico y variación de HbA1c de pacientes con diabetes mellitus atendidos en consulta presencial y por teleconsulta en un hospital peruano. Acta Med Peru. 2024;41(2):103–11.
  10. 10. Colin Cameron A, Miller DL. A practitioner’s guide to cluster-robust inference. J Human Resources. 2015;50(2):317–72.
  11. 11. Halekoh U, Højsgaard S. The R Package geepack for Generalized Estimating Equations. 2015. [Cited 2026 February]. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.562.4172
  12. 12. Huayanay-Espinoza IE, Guerra-Castañon F, Lazo-Porras M, Castaneda-Guarderas A, Thomas NJ, Garcia-Guarniz A-L, et al. Metabolic control in patients with type 2 diabetes mellitus in a public hospital in Peru: a cross-sectional study in a low-middle income country. PeerJ. 2016;4:e2577. pmid:27761351
  13. 13. Crispín-Trebejo B, Robles-Cuadros MC, Bernabé-Ortiz A. Association between depression and glycemic control among type 2 diabetes patients in Lima, Peru. Asia Pac Psychiatry. 2015;7(4):419–26. pmid:26037488
  14. 14. Basto‐Abreu A, Barrientos‐Gutiérrez T, Rojas R, Aguilar‐Salinas CA, López‐Olmedo N, Cruz‐Góngora VD la, et al. Prevalencia de diabetes y descontrol glucémico en México: resultados de la Ensanut 2016. Salud Pública de México. 2019;62: 50.
  15. 15. Lopez Stewart G, Tambascia M, Rosas Guzmán J, Etchegoyen F, Ortega Carrión J, Artemenko S. Control of type 2 diabetes mellitus among general practitioners in private practice in nine countries of Latin America. Rev Panam Salud Publica. 2007;22(1):12–20. pmid:17931483
  16. 16. Proietti A, Raggio M, Paz M, Rubin G, Kabakian M, Saleme A, et al. Six-Month glycemic control with a hybrid closed-loop system in type 1 diabetes patients in a Latin American country. Diabetes Technol Ther. 2022;24(3):220–6. pmid:34668782
  17. 17. Ahmed Y, Abuelass FKM, Abd‐Elfattah AS, Mukhtar MD, Ahmed Y, Elfahal M, et al. Determinants of poor glycemic control among type 2 diabetes patients: a systematic review. Cureus. 2025.
  18. 18. Azagew AW, Mekonnen CK, Lambie M, Shepherd T, Babatunde OO. Poor glycemic control and its predictors among people living with diabetes in low- and middle-income countries: a systematic review and meta-analysis. BMC Public Health. 2025;25(1):714. pmid:39979862
  19. 19. Jing T, Zhang S, Bai M, Chen Z, Gao S, Li S. Effect of dietary approaches on glycemic control in patients with type 2 diabetes: a systematic review with network meta-analysis of randomized trials. Nutrients. 2023;:3156.
  20. 20. Chrvala CA, Sherr D, Lipman RD. Diabetes self-management education for adults with type 2 diabetes mellitus: A systematic review of the effect on glycemic control. Patient Educ Couns. 2016;99(6):926–43. pmid:26658704
  21. 21. McCoy RG, Ngufor C, Van Houten HK, Caffo B, Shah ND. Trajectories of Glycemic Change in a National Cohort of Adults With Previously Controlled Type 2 Diabetes. Med Care. 2017;55(11):956–64. pmid:28922296
  22. 22. Miyazawa I, Yokoyama H, Yagi N, Araki S-I, Morino K, Kume S, et al. Annual trends in glycemic control and prescribing patterns in diabetic treatment according to age in Japanese patients with type 2 diabetes between 2012 and 2019 (JDDM 71). Diabetes Res Clin Pract. 2023;198:110599. pmid:36849048
  23. 23. Malik FS, Sauder KA, Isom S, Reboussin BA, Dabelea D, Lawrence JM, et al. Trends in glycemic control among youth and young adults with diabetes: The SEARCH for diabetes in youth study. Diabetes Care. 2022;45(2):285–94. pmid:34995346
  24. 24. Presley C, Khodneva Y, Juarez L, Howell CR, Agne AA, Riggs KR. Trends and predictors of glycemic control among adults with type 2 diabetes covered by Alabama Medicaid, 2011–2019. Preventing Chronic Disease. 2023;20.
  25. 25. Li J, Xu Z, Zhou H, Li Z, Yuan B. The involvement of specialists in primary healthcare teams for managing diabetes: a systematic review and meta-analysis. BMC Prim Care. 2025;26(1):45. pmid:39966713
  26. 26. Kuss O, Opitz ME, Brandstetter LV, Schlesinger S, Roden M, Hoyer A. How amenable is type 2 diabetes treatment for precision diabetology? A meta-regression of glycaemic control data from 174 randomised trials. Diabetologia. 2023;66(9):1622–32. pmid:37338539
  27. 27. Galindo RJ, Beck RW, Scioscia MF, Umpierrez GE, Tuttle KR. Glycemic Monitoring and Management in Advanced Chronic Kidney Disease. Endocrine Reviews. 2020;41(5):756–74.
  28. 28. Schneiders J, Telo GH, Bottino LG, Pasinato B, Neyeloff JL, Schaan BD. Quality indicators in type 2 diabetes patient care: analysis per care-complexity level. Diabetol Metab Syndr. 2019;11:34. pmid:31073334
  29. 29. Shita NG, Iyasu AS. Glycemic control and its associated factors in type 2 diabetes patients at Felege Hiwot and Debre Markos Referral Hospitals. Sci Rep. 2022;12(1):9459. pmid:35676526
  30. 30. de Almeida-Pititto B, Eliaschewitz FG, de Paula MA, Ferreira GC. BrazIliaN type 1 & 2 DiabetEs Disease Registry (BINDER): longitudinal, real-world study of diabetes mellitus control in Brazil. Front Clin Diabetes Healthc. 2022;3:934629. pmid:36992732
  31. 31. Taylor SI, Yazdi ZS, Beitelshees AL. Pharmacological treatment of hyperglycemia in type 2 diabetes. J Clin Invest. 2021;131(2):e142243. pmid:33463546
  32. 32. From the American Association of Neurological Surgeons (AANS), American Society of Neuroradiology (ASNR), Cardiovascular and Interventional Radiology Society of Europe (CIRSE), Canadian Interventional Radiology Association (CIRA), Congress of Neurological Surgeons (CNS), European Society of Minimally Invasive Neurological Therapy (ESMINT), European Society of Neuroradiology (ESNR), European Stroke Organization (ESO), Society for Cardiovascular Angiography and Interventions (SCAI), Society of Interventional Radiology (SIR), Society of NeuroInterventional Surgery (SNIS), and World Stroke Organization (WSO), Sacks D, Baxter B, Campbell BCV, Carpenter JS, Cognard C, et al. Multisociety consensus quality improvement revised consensus statement for endovascular therapy of acute ischemic stroke. Int J Stroke. 2018;13(6):612–32. pmid:29786478