Leveraging Machine Learning to Assess Post-COVID-19 Glycemic Control in Diabetic Patients.

Hemoglobin A1c is a central biomarker for long-term glycemic control and a key predictor of diabetes-related complications. The COVID-19 pandemic disrupted routine healthcare delivery and introduced potential metabolic effects of SARS-CoV-2 infection, yet the long-term impact of COVID-19 on glycemic trajectories in individuals with diabetes remains unclear. In this retrospective study, we leveraged harmonized electronic health record data from the National Clinical Cohort Collaborative to evaluate changes in HbA1c before and after documented SARS-CoV-2 infection in adults with diabetes (n = 93,320). Patients were required to have repeated HbA1c measurements pre- and post-infection and stable exposure to key antihyperglycemic medications. A paired statistical analysis was used to identify individuals with statistically significant post-infection changes in HbA1c. We then developed and evaluated multiple supervised machine learning classifiers using an 80/20 train-test split and cross-validation to assess demographic, clinical, and structural factors associated with significant glycemic change. Most patients (71%) did not experience a statistically significant change in average HbA1c following COVID-19 infection, and among those who did, decreases were more common than increases. A random forest classifier achieved the best overall performance, and feature importance and SHAP analyses highlighted body mass index, insulin use, age, and socioeconomic proxies as key contributors. These findings suggest that while COVID-19 infection does not substantially alter long-term glycemic control for most patients with diabetes, individual-level clinical and structural factors influence post-infection glycemic variability.
Diabetes
Chronic respiratory disease
Access
Care/Management
Advocacy

Authors

Lluberes-Contreras Lluberes-Contreras, Figueroa-Santiago Figueroa-Santiago, Kohan-Ghadr Kohan-Ghadr, Ortiz-Ortega Ortiz-Ortega, Roche-Lima Roche-Lima,
View on Pubmed
Share
Facebook
X (Twitter)
Bluesky
Linkedin
Copy to clipboard