Development of machine learning models to predict perioperative blood transfusion in hip surgery

BMC Med Inform Decis Mak. 2024 Jun 5;24(1):158. doi: 10.1186/s12911-024-02555-7.

Abstract

Background: Allogeneic Blood transfusion is common in hip surgery but is associated with increased morbidity. Accurate prediction of transfusion risk is necessary for minimizing blood product waste and preoperative decision-making. The study aimed to develop machine learning models for predicting perioperative blood transfusion in hip surgery and identify significant risk factors.

Methods: Data of patients undergoing hip surgery between January 2013 and October 2021 in the Peking Union Medical College Hospital were collected to train and test predictive models. The primary outcome was perioperative red blood cell (RBC) transfusion within 72 h of surgery. Fourteen machine learning algorithms were established to predict blood transfusion risk incorporating patient demographic characteristics, preoperative laboratory tests, and surgical information. Discrimination, calibration, and decision curve analysis were used to evaluate machine learning models. SHapley Additive exPlanations (SHAP) was performed to interpret models.

Results: In this study, 2431 hip surgeries were included. The Ridge Classifier performed the best with an AUC = 0.85 (95% CI, 0.81 to 0.88) and a Brier score = 0.21. Patient-related risk factors included lower preoperative hemoglobin, American Society of Anesthesiologists (ASA) Physical Status > 2, anemia, lower preoperative fibrinogen, and lower preoperative albumin. Surgery-related risk factors included longer operation time, total hip arthroplasty, and autotransfusion.

Conclusions: The machine learning model developed in this study achieved high predictive performance using available variables for perioperative blood transfusion in hip surgery. The predictors identified could be helpful for risk stratification, preoperative optimization, and outcomes improvement.

Keywords: Hip surgery; Machine learning; Perioperative blood transfusion; Prediction models; Risk stratification.

MeSH terms

  • Adult
  • Aged
  • Arthroplasty, Replacement, Hip
  • Blood Transfusion*
  • Female
  • Humans
  • Machine Learning*
  • Male
  • Middle Aged
  • Risk Assessment
  • Risk Factors