# Estimating the Risk of Lower Extremity Complications in Adults Newly Diagnosed With Diabetic Polyneuropathy: Retrospective Cohort Study

**Authors:** Alyce S Adams, Catherine Lee, Gabriel Escobar, Elizabeth A Bayliss, Brian Callaghan, Michael Horberg, Julie A Schmittdiel, Connie Trinacty, Lisa K Gilliam, Eileen Kim, Nima S Hejazi, Lin Ma, Romain Neugebauer

PMC · DOI: 10.2196/60141 · JMIR Diabetes · 2025-05-29

## TL;DR

This study developed a machine learning algorithm to predict the risk of lower extremity complications in diabetic patients newly diagnosed with polyneuropathy.

## Contribution

A high-performing, clinically useful machine learning algorithm for early risk assessment of lower extremity complications in diabetic polyneuropathy patients.

## Key findings

- The algorithm achieved good discrimination with an AUC of 0.845 in predicting complications.
- A simplified version of the algorithm slightly reduced performance but still outperformed logistic regression.
- The model used only electronic medical record data and showed good calibration.

## Abstract

Diabetes-related lower extremity complications, such as foot ulceration and amputation, are on the rise, currently affecting nearly 131 million people worldwide. Methods for early detection of individuals at high risk remain elusive. While data-driven diabetic polyneuropathy algorithms exist, high-performing, clinically useful tools to assess risk are needed to improve clinical care.

This study aimed to develop an electronic medical record–based machine learning algorithm that would predict lower extremity complications.

We conducted a retrospective longitudinal cohort study to predict the risk of lower extremity complications within 24 months of an initial diagnosis of diabetic polyneuropathy. From an initial cohort of 468,162 individuals with at least 1 diagnosis of diabetic polyneuropathy at one of 2 multispecialty health care systems (based in northern California and Colorado) between April 2012 and December 2016, we created an analytic cohort of 48,209 adults with continuous enrollment, who were newly diagnosed with no evidence of end-of-life care. The outcome was any lower extremity complication, including foot ulceration, osteomyelitis, gangrene, or lower extremity amputation. We randomly split the data into training (38,569/48209; 80%) and testing (9,640/48209; 20%) datasets. In the training dataset, we used super Learner (SL), an ensemble learning method that employs cross-validation and combines multiple candidate risk predictors, into a single risk predictor. We evaluated the performance of the SL risk predictor in the testing dataset using the receiver operating characteristic curve and a calibration plot.

Of the 48,209 individuals in the cohort, 2327 developed a lower extremity complication during follow-up. The SL risk estimator exhibited good discrimination (AUC=0.845, 95% CI 0.826-0.863) and calibration. A modified version of our SL algorithm, simplified to facilitate real-world adoption, had only slightly reduced discrimination (AUC=0.817, 95%CI 0.797-0.837). The modified version slightly outperformed the naïve logistic regression model (AUC=0.804, 95% CI 0.783-0.825) in terms of precision gained relative to the frequency of alerts and number of patients that needed to be evaluated.

We have built a machine learning–based risk estimator with the potential to improve clinical detection of diabetic patients at high risk for lower extremity complications at the time of an initial diabetic polyneuropathy diagnosis. The algorithm exhibited good discriminant validity and calibration using only data from the electronic medical record. Additional research will be needed to identify optimal contexts and strategies for maximizing algorithmic fairness in both interpretation and deployment.

## Linked entities

- **Diseases:** diabetic polyneuropathy (MONDO:0001583), osteomyelitis (MONDO:0005246)

## Full-text entities

- **Diseases:** Diabetes (MESH:D003920), osteomyelitis (MESH:D010019), gangrene (MESH:D005734), extremity complication (MESH:D008107), Diabetic Polyneuropathy (MESH:D003929), foot ulceration (MESH:D016523)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12140504/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12140504/full.md

## References

46 references — full list in the complete paper: https://tomesphere.com/paper/PMC12140504/full.md

---
Source: https://tomesphere.com/paper/PMC12140504