Predicting 1-year mortality of patients with diabetes mellitus in Kazakhstan based on administrative health data using machine learning

Aidar Alimbayev, Gulnur Zhakhina, Arnur Gusmanov, Yesbolat Sakko, Sauran Yerdessov, Iliyar Arupzhanov, Ardak Kashkynbayev, Amin Zollanvari, Abduzhappar GaipovScientific Reports 2023

TL;DR

This study demonstrates the feasibility of predicting one-year mortality in diabetes mellitus (DM) patients using only administrative health data from Kazakhstan. By employing a machine learning platform, they achieved "fair" to "good" predictive performance (AUC 0.78-0.80), identifying age, diabetes duration, hypertension, and sex as key predictors. This work highlights the potential of leveraging readily available administrative data for early identification of high-risk DM patients.

What Problem Does This Paper Address?

Diabetes mellitus (DM) is a global health crisis, contributing to significant morbidity, disability, and premature mortality. Effectively managing DM and mitigating its severe consequences hinges on identifying patients at high risk of mortality. Clinicians need tools to tailor treatments and allocate resources efficiently. While predictive models for mortality exist, many rely on extensive clinical data, including laboratory results and vital signs, which are not always readily accessible or consistently collected. This paper addresses the challenge of predicting one-year mortality in DM patients using only administrative health data, which is more universally available and easier to collect, making it a more scalable solution for broad healthcare systems.

Methods

The researchers developed a comprehensive machine learning (ML) platform to predict one-year mortality. They implemented and compared nine classification algorithms, including Gaussian Naive Bayes, K-nearest neighbors, logistic regression, random forest, AdaBoost, gradient boosting with regression trees (GBRT), XGBoost (XGB), linear discriminant analysis, and perceptron.

The core of their approach involved:

  • Yearly-Specific Cohorts: Data was divided into four distinct cohorts (2016-2019) to predict mortality within that specific year based on data from the preceding year. This accounts for potential temporal shifts in data or patient populations.
  • Model Training and Selection: For each cohort, an 80/20 train-test split was used. Model selection and hyperparameter tuning were performed using stratified 5-fold cross-validation (5-CV) on the training data, with Area Under the Curve (AUC) as the primary performance metric. Gradient-boosting ensemble methods (GBRT and XGB) consistently showed the best performance.
  • Feature Importance Analysis: To understand which factors were most influential, they employed SHAP (SHapley Additive exPlanations) values. This technique quantifies the contribution of each feature to the model's predictions.

Datasets

The study utilized a large administrative health dataset from the Unified National Electronic Health System (UNEHS) of Kazakhstan. This dataset comprised clinical data for 472,950 patients diagnosed with DM who were admitted to hospitals between mid-2014 and December 2019. The data was structured into four yearly-specific cohorts for prediction:

  • 2016-cohort: 262,212 patients
  • 2017-cohort: 301,563 patients
  • 2018-cohort: 337,846 patients
  • 2019-cohort: 370,807 patients

This represents a novel benchmark for DM mortality prediction using solely administrative data within the Central Asian region.

Key Insights and Ideas

  • Administrative Data is Powerful: The study strongly suggests that even without detailed lab results or vital signs, administrative health records (diagnoses, comorbidities, demographics) are sufficient to build reasonably accurate predictive models for DM mortality. This has significant implications for resource-limited settings.
  • Gradient Boosting Reigns Supreme: Ensemble methods, specifically gradient boosting algorithms like GBRT and XGBoost, consistently outperformed other tested classifiers across all cohorts. This reinforces their robustness and effectiveness for tabular data prediction.
  • Age is King (and Duration Matters): The SHAP analysis revealed that age and duration of diabetes are the most critical predictors of one-year mortality. This aligns with general clinical understanding but provides quantitative evidence from a large administrative dataset.
  • Hypertension's Paradoxical Role: Interestingly, the lack of hypertension (encoded as 0) was associated with higher mortality. The authors speculate this might be due to a "reverse epidemiology" phenomenon or better management of hypertension in diagnosed DM patients, warranting further investigation.
  • Sensitivity Over Specificity: The models achieved higher sensitivity than specificity. This is a desirable trade-off in this context, as missing a high-risk patient (false negative) has a much higher cost than misclassifying a low-risk patient (false positive).

Key Results

The developed machine learning models achieved an Area Under the Curve (AUC) ranging from 0.78 to 0.80 on independent test sets across the four yearly cohorts. This performance is categorized as "fair" to "good" according to diagnostic test metrics.

The top four most important features identified by SHAP analysis for predicting one-year mortality were:

  1. Age
  2. Duration of Diabetes
  3. Hypertension
  4. Sex

Limitations and Future Work

The authors acknowledge several limitations:

  • Lack of Laboratory Data: The absence of laboratory test results (e.g., HbA1c, lipid profiles) and detailed medical history is a significant limitation. Including these could potentially boost predictive performance.
  • Missing Comorbidities: Important comorbidities like Alzheimer's disease, renal diseases, amputations, and BMI were not included in the administrative data.
  • No Feature Selection Stage: While not critical for this study due to the limited number of features, a feature selection stage would be beneficial if more complex datasets were used to avoid the "curse of dimensionality."
  • Natural Language Processing for Clinical Notes: Extracting information from clinical notes would require advanced NLP, which was not undertaken in this study.

Future work suggested includes:

  • Integrating Additional Data: Incorporating laboratory data, patients' medical history, and other relevant comorbidities to improve model accuracy.
  • Advanced NLP: Developing NLP pipelines to extract valuable information from unstructured clinical notes.
  • Feature Selection: Implementing feature selection methods for more complex datasets.
  • Investigating Hypertension Paradox: Further research into the observed paradoxical role of hypertension in DM mortality.

Summary updated

BibTeX
@inproceedings{alimbayev2023predicting,
  author = {Aidar Alimbayev and Gulnur Zhakhina and Arnur Gusmanov and Yesbolat Sakko and Sauran Yerdessov and Iliyar Arupzhanov and Ardak Kashkynbayev and Amin Zollanvari and Abduzhappar Gaipov},
  title = {{Predicting 1-year mortality of patients with diabetes mellitus in Kazakhstan based on administrative health data using machine learning}},
  booktitle = {Scientific Reports},
  year = {2023},
  doi = {10.1038/s41598-023-35551-4},
}
Figure