Risk Management and Healthcare Policy (May 2025)

Predicting Postoperative Blood Transfusion in Elderly Patients Undergoing Total Hip and Knee Arthroplasty Using Machine Learning Models

  • Liang D,
  • Pang Y,
  • Huang J,
  • Che X,
  • Zhou R,
  • Ding X,
  • Wang C,
  • Zhao L,
  • Han Y,
  • Rong X,
  • Li P

Journal volume & issue
Vol. Volume 18, no. Issue 1
pp. 1697 – 1711

Abstract

Read online

Dan Liang,1,2 Yiming Pang,2,3 Jingrui Huang,2 Xianda Che,2 Raorao Zhou,2 Xueting Ding,4 Chunfang Wang,4 Litao Zhao,5 Yichen Han,6 Xueqin Rong,5 Pengcui Li2 1Department of Health Statistics, School of Public Health, Shanxi Medical University, Taiyuan, Shanxi, 030001, People’s Republic of China; 2Key Laboratory of Bone and Soft Tissue Injury Repair, The Second Hospital of Shanxi Medical University, Taiyuan, Shanxi, 030001, People’s Republic of China; 3Academy of Medical Sciences, Shanxi Medical University, Taiyuan, Shanxi, 030001, People’s Republic of China; 4Animal Laboratory Center, Shanxi Medical University, Taiyuan, Shanxi, 030001, People’s Republic of China; 5Department of Pain Medicine, Sanya Central Hospital, Sanya, Hainan, 572000, People’s Republic of China; 6School of Sino-British Digital Media Art, Lu Xun Academy of Fine Arts, Shenyang, Liaoning, 110004, People’s Republic of ChinaCorrespondence: Xueqin Rong, Department of Pain Medicine, Sanya Central Hospital, Sanya, Hainan, 572000, People’s Republic of China, Email [email protected] Pengcui Li, Key Laboratory of Bone and Soft Tissue Injury Repair, The Second Hospital of Shanxi Medical University, Taiyuan, Shanxi, 030001, People’s Republic of China, Email [email protected]: With the aging population, the demand for total hip arthroplasty (THA) and total knee arthroplasty (TKA) has risen significantly. Elderly patients, especially those over 70 years, face a higher risk of perioperative bleeding and transfusion, increasing morbidity and mortality. Accurate transfusion risk prediction is vital for optimizing perioperative blood management. Traditional models often fail to capture complex factor interactions, whereas machine learning enhances predictive accuracy. This study aimed to develop predictive models for postoperative transfusion in elderly patients undergoing THA or TKA, identify key risk factors, and create an online prediction tool.Patients and Methods: We retrospectively analyzed 1,520 elderly patients who underwent THA (659) or TKA (861). The Least Absolute Shrinkage and Selection Operator (LASSO) method was used for variable selection. The dataset was randomly split into training (70%) and testing (30%) sets. Five models—Logistic Regression (LR), Random Forest (RF), Support Vector Machines (SVM), K-Nearest Neighbors (KNN), and Naive Bayes (NB)—were developed and validated. Ten-fold cross-validation and grid search optimized model parameters. Model performance was evaluated using AUC, accuracy, precision, sensitivity, specificity, and F1 score. SHapley Additive exPlanations (SHAP) were applied to assess variable importance. An online tool was developed based on the models.Results: Nineteen variables were retained. RF, LR, and SVM showed superior performance with AUC values exceeding 0.90. RF achieved the best results, with an accuracy of 0.86, precision of 0.80, specificity of 0.91, F1-score of 0.78, and sensitivity of 0.76. SHAP analysis highlighted intraoperative blood loss, hypertension, and postoperative drainage volume as major predictors.Conclusion: The developed models and online tool support personalized transfusion risk assessment, optimizing perioperative management, optimizing blood utilization, and enhancing patient outcomes.Keywords: elderly patients, total hip arthroplasty, total knee arthroplasty, blood transfusion, risk prediction models, online prediction tool

Keywords