Development of a machine learning model to predict intraoperative transfusion and guide type and screen ordering

J Clin Anesth. 2023 Dec:91:111272. doi: 10.1016/j.jclinane.2023.111272. Epub 2023 Sep 27.

Abstract

Study objective: To develop an algorithm to predict intraoperative Red Blood Cell (RBC) transfusion from preoperative variables contained in the electronic medical record of our institution, with the goal of guiding type and screen ordering.

Design: Machine Learning model development on retrospective single-center hospital data.

Setting: Preoperative period and operating room.

Patients: The study included patients ≥18 years old who underwent surgery during 2019-2022 and excluded those who refused transfusion, underwent emergency surgery, or surgery for organ donation after cardiac or brain death.

Intervention: Prediction of intraoperative transfusion vs. no intraoperative transfusion.

Measurements: The outcome variable was intraoperative transfusion of RBCs. Predictive variables were surgery, surgeon, anesthesiologist, age, sex, body mass index, race or ethnicity, preoperative hemoglobin (g/dL), partial thromboplastin time (s), platelet count x 109 per liter, and prothrombin time. We compared the performances of seven machine learning algorithms. After training and optimization on the 2019-2021 dataset, model thresholds were set to the current institutional performance level of sensitivity (93%). To qualify for comparison, models had to maintain clinically relevant sensitivity (>90%) when predicting on 2022 data; overall accuracy was the comparative metric.

Main results: Out of 100,813 cases that met study criteria from 2019 to 2021, intraoperative transfusion occurred in 5488 (5.4%) of cases. The LightGBM model was the highest performing algorithm in external temporal validity experiments, with overall accuracy of (76.1%) [95% confidence interval (CI), 75.6-76.5], while maintaining clinically relevant sensitivity of (91.2%) [95% CI, 89.8-92.5]. If type and screens were ordered based upon the LightGBM model, the predicted type and screen to transfusion ratio would improve from 8.4 to 5.1.

Conclusions: Machine learning approaches are feasible in predicting intraoperative transfusion from preoperative variables and may improve preoperative type and screen ordering practices when incorporated into the electronic health record.

Keywords: Artificial intelligence; Machine learning; Preoperative optimization; Systems-based practice; Transfusion.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Adolescent
  • Blood Transfusion*
  • Erythrocyte Transfusion*
  • Humans
  • Machine Learning
  • Prothrombin Time
  • Retrospective Studies