Abstract

The current optimal inpatient diabetes management schema involves administration of basal, prandial, and correctional insulin to maintain blood glucose (BG) within a target range. Nonetheless, practical management often fails to reach the ideal in both insulin dosing regimens and patients’ BG outcomes. Given the challenges of achieving adequate BG control for hospitalized patients using guidelines and expert knowledge alone, we attempted to use machine learning methods to predict (1) individual BGs, (2) average daily BGs, and (3) physician-ordered insulin doses based on data in an electronic health record-based repository between January 2014 and December 2018. We considered inpatients on subcutaneous insulin having a BG ≥ 200 mg/dL or ≤ 70 mg/dL or with an A1c percentage ≥ 6.5%. We excluded those missing critical data (such as weight), with fewer than five BG checks in 72 hours, or those on hemodialysis, resulting in a cohort of 3,461 patients with 175,934 BG checks among them. In this cohort, the average age was 61.4 years, the average A1c was 7.1%, and the average BG was 171.6 mg/dL, with approximately 25% of BGs ≥ 200 mg/dL and 1.7% of BGs < 70 mg/dL. Using linear regression, we identified features that contributed most to prediction of each of the outcomes. For all three outcomes, the average glucose in the past 24 hours was the most important feature. For prediction of glucose levels, previous BG, BG at the same time the previous day, A1c, BG variance, recent long-acting insulin dose, and glucocorticoid dose were all in the top 10 features. Similar features were important for predicting physician-ordered insulin doses. Surprisingly, neither weight nor creatinine were identified as top features for any outcome. Using these features in our predictive model, we found that individual BGs were highly erratic and could not be predicted precisely (R2 0.24). Similarly, and perhaps unsurprisingly, how physicians would order insulin for patients was also difficult to predict (R2 0.25). However, average daily glucose levels were predicted more reliably (R2 0.36), as was prediction of frank hyperglycemia (BG ≥ 200 mg/dL) in the next day (sensitivity 0.73, specificity 0.79). Given the typical practice pattern of a clinician evaluating the previous day’s insulin regimen performance and adjusting it by anticipating BGs for the next day, prediction of hyperglycemia in the next 24 hours can support decision-making for inpatient BG management.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.