Introduction: The objective of this study was to analyze the blood transfusion factors of minimally invasive direct coronary artery bypass (MIDCAB) surgery using artificial intelligence. Methods: A retrospective analysis was performed for patients undergoing MIDCAB operations and no heart-lung machine was used from January 2017 to September 2022 in our hospital. The influencing factors of blood transfusion were used to build the artificial intelligence model. Eighty percent of the database was used as the training set, and twenty percent database was used as the testing set. To predict whether to use red blood cells during operation, we compared 104 artificial intelligence models. We aimed to assess whether which factors influence allogeneic transfusion in MIDCAB operations. Results: Of the 104 machine learning algorithms, the XGBoost model delivered the best performance, with an AUC of 0.726 in the testing set and an accuracy of 0.854 in the testing set. The artificial intelligence model showed preoperative hemoglobin less than 120 g/L, prothrombin time greater than 13.75, body mass index less than 22.7 kg/m2, coronary heart disease with additional comorbidities, a history of percutaneous coronary intervention, weight lower than 67 kg were the six major risk factors of allogeneic transfusion. Conclusion: The XGBoost model can predict transfusion or not transfusion in MIDCBA surgery with high accuracy.

The shortage of blood resources has become a global dilemma. The global shortfall in blood resources is as much as 30 million units a year [1]. In China, we also have the same dilemma [2]. A study in the USA showed that the transfusion rate of allogeneic blood during adult heart surgery was as high as 50%, accounting for 10–15% of allogeneic blood use [3]. Compared with traditional surgical methods, minimally invasive surgery has the advantages of smaller trauma and faster recovery. The minimally invasive direct coronary artery bypass (MIDCAB) through a small incision in the left anterior chest can be completed under direct vision, with a clearer view, smaller trauma, and lower postoperative drainage volume than traditional coronary artery bypass grafting [4]. Although minimally invasive heart surgery has greatly reduced the allogenic blood transfusion rate [5], evaluating the possibility of different surgical blood usage and identifying factors that affect blood transfusion can help with scientific perioperative management and maximize patient safety.

Analyzing factors related to blood use in heart surgeries is mostly based on statistical models [6] but cannot engage in intelligent learning. AI can classify, predict data, and effectively analyze by learning from the data [7]. Using AI, more objective data results can be obtained [8]. AI can help identify useful clues for clinical diagnosis [9]. Using AI, we can provide data-supported blood transfusion plans to the clinic, which may help us achieve better patient blood management. A standardized diagnostic and treatment process exists for patients undergoing small incision coronary artery bypass grafting surgery [10]. Using AI to explore surgical-related risks helps doctors evaluate the blood needs during surgery and better manage patients’ blood. This study compared the accuracy of different AI models in predicting blood usage in MIDCAB and used the best model to explore the risk factors related to blood transfusion. The study investigated the advantages of AI in the perioperative management of MIDCAB patients.

Study Design

This is a single-center, open, retrospective analysis aimed at patients who underwent MIDCAB operations, and no heart-lung machine was used in the Department of Cardiac Surgery at Peking University, Third Hospital, from January 2017 to September 2022. The analysis included the patient’s medical histories, general information, preoperative routine examination results, heart function classification, and surgical procedures. A model for predicting the use of allogeneic blood during surgery was established, using 80% of the data as the training set and 20% as the testing set. Additionally, the risk factors associated with allogeneic blood transfusion were analyzed.

Sample Size

A total of 766 patients who underwent left anterior thoracotomy MIDCAB from January 2017 to September 2022 were included as the study subjects. This study was approved by the Medical Ethics Committee of Peking University Third Hospital (Approval No. 2022 Medical Ethics Review No. 523-02) and was granted an exemption from informed consent. Exclusion criteria: patients without preoperative blood routine results; patients with a history of cardiac surgery (excluding interventional surgery); patients who converted to open chest surgery; patients who underwent secondary surgery; patients without blood routine results after surgery.

Data Management

Medical history (pleural thickening, pleural fibrosis, tuberculosis, hyperlipidemia); diagnosis (extracted from the first admission note); Demographic characteristics: age, gender, BMI, blood volume (BV); cardiac function classification; surgical vessel (left anterior descending artery, circumflex artery, right coronary artery posterior descending branch, right coronary artery left ventricular posterior branch); myocardial injury detection: creatine kinase (CK), CK isoenzymes (CK-MB), hydroxybutyrate dehydrogenase, highly sensitive cardiac troponin T, N-terminal pro-brain natriuretic peptide (NT-proBNP); plasma lipids analysis: total cholesterol, triglycerides, high-density lipoprotein cholesterol, low-density lipoprotein cholesterol, apolipoprotein A1, apolipoprotein B, lipoprotein(a); coagulation function test: prothrombin time (PT), activated partial thromboplastin time, fibrinogen (Fib), international normalized ratio; blood routine before the surgery: hemoglobin, hematocrit (Hct), red blood cell count (RBC); platelets (PLT), white blood cell count; infection detection: C-reactive protein; liver function test: alanine aminotransferase, aspartate aminotransferase; kidney function test: creatinine (Cr), glomerular filtration rate (GFR), blood routine after the surgery: Hb, Hct; surgical characteristics (surgical vessels, surgical approach) and preoperative medication history.

Preoperative test results are within 72 h before surgery. The allogeneic red blood cell transfusion volume is recorded based on the transfusion management system. The chief surgeon and the anesthesiologist decide the intraoperative allogeneic blood transfusion based on the patient’s bleeding volume and rate, as well as the patient’s underlying conditions. In our cardiovascular surgery department, the routine indications for allogeneic blood transfusion are intraoperative blood loss greater than 800 mL and/or Hb level lower than 80 g/L. Clinical physicians will choose between restrictive and nonrestrictive transfusion strategies based on their specific surgical circumstances. For patients with the following conditions: low venous saturation, low cardiac output syndrome, lactate accumulation or metabolic acidosis, high catecholamine dose, hypovolemia, we adopt a more liberal transfusion threshold. Collect the postoperative examination within 72 h according to the following principles: for patients who received blood transfusions within 20 h of the start of surgery, collect the results that are closest to the most recent blood transfusion; for patients who did not receive blood transfusions within 20 h of the start of surgery, collect the results that are closest to the time of the end of the surgery.

Model Prediction and Result

To predict whether a patient will receive an allogeneic blood transfusion during surgery, we made models using Extreme Gradient Boosting, Gradient Boosting Classifier, Extra Trees Classifier, Logistic Regression, CatBoost Classifier, AdaBoost Classifier, Linear Discriminant Analysis, Random Forest Classifier, Decision Tree Classifier, and K Neighbors Classifier. We compared the result and chose the best model using 80% of the data as the training set to train the model and 20% as the test set to evaluate the model using the ROC curves. Additionally, we used the SHapley Additive exPlanations (SHAP) tool to analyze and demonstrate the factors that have the highest importance in decision-making. We also visualized the specific impact of important features using a local dependence plot.

Statistical Analysis

Statistical analysis was conducted using SPSS26.0 software. Continuous variables with normal distribution were expressed as means, while those with non-normal distribution were expressed as medians (interquartile range). Categorical variables were expressed as frequency or (and) percentage. T-tests for two independent samples were used for normally distributed data, and nonparametric t-tests for two independent samples were used for non-normally distributed data. The χ2 or Fisher’s exact test was used to count data, and p < 0.05 was considered statistically significant.

Analysis of the Blood Transfusion Situation

The 766 surgical patients were included, and 107 (13.97%) cases received allogeneic blood transfusion during surgery. The distribution of postoperative Hb levels in transfused patients is shown (Fig. 1). The average postoperative Hb level in transfused patients was 98.77 g/L, and there were 22 cases with a postoperative Hb level ≥120 g/L, accounting for 20.56% of transfused patients. Among the total number of patients, 576 had applicated for red blood cells of 4 units or more, accounting for 75.20%. The number of transfused patients with a red blood cell application of 4 units or more was 77, and the transfusion rate was 13.37% for patients requiring more than 4 units of red blood cells.

Fig. 1.

Postoperative Hb distribution in patients who underwent MIDCAB with blood transfusion during the operation.

Fig. 1.

Postoperative Hb distribution in patients who underwent MIDCAB with blood transfusion during the operation.

Close modal

Univariate Analysis of Clinical Characteristics and Laboratory Testing Indicators of MIDCAB Patients

First, perform a univariate analysis of preoperative data based on whether allogeneic blood was transfused or not (Table 1). The results showed that advanced age, male gender, low BMI, low blood volume, tachycardia, elevated CK isoenzyme, increased high-sensitivity cardiac troponin T, high N-terminal pro-brain natriuretic peptide, low Hb, low Hct, low red blood cell count, increased Cr, low GFR, and after cardiovascular stent implantation were all risk factors for allogeneic blood transfusion, and the differences were statistically significant (all p < 0.05). The result of CK in the transfusion group is lower than the non-transfusion group (p < 0.05) because CK is not sensitive in determining heart damage.

Table 1.

Univariate analysis of whether allogeneic blood transfusion was administered during minimally invasive coronary artery bypass grafting surgery

CharacteristicsSubtypeMissingPerioperative blood transfusionp value
noyes
659107
Demographic characteristics 
 Age, years 65.00 (58.00–71.00) 67.00 (64.00–74.00) 0.006 
 Gender, n (%) 481 (73.0) 64 (59.8) 0.005 
178 (27.0) 43 (40.2) 
 BMI, kg/m2 25.30 (3.21) 23.95 (2.96) 0.000 
Vital signs 
 Blood volume, mL 4,566.22 (4,006.92–4,918.06) 4,259.99 (3,610.50–4,693.73) 0.000 
 Respiration (per min) 18.00 (18.00–20.00) 18.00 (18.00–18.00) 0.118 
 Heart rate (per min) 65.00 (60.00–72.00) 70.00 (61.00–77.00) 0.007 
 Temperature (°C) 36.20 (36.00–36.50) 36.20 (36.00–36.50) 0.781 
Medical history 
 Pulmonary tuberculosis No 652 (98.9) 106 (99.1) 1.000 
Yes 7 (1.1) 1 (0.9) 
 Pleural thickening No 639 (97.0) 104 (97.2) 1.000 
Yes 20 (3.0) 3 (2.8) 
 Hyperlipidemia No 655 (99.4) 104 (97.2) 0.061 
Yes 4 (0.6) 3 (2.8) 
Myocardial injury detection 
 CK, U/L 223 60.00 (44.00–85.00) 55.50 (38.00–76.00) 0.039 
 CK-MB, U/L 76 80.00 (6.00–11.00) 10.00 (7.00–12.00) 0.030 
 α-HBDH, U/L 105 121.00 (106.00–139.00) 126.00 (108.00–148.75) 0.106 
 hs-cTnT, ng/mL 163 0.01 (0.00–0.02) 0.02 (0.01–0.04) 0.001 
 NT-proBNP, pg/mL 174 174.50 (69.00–468.50) 357.20 (149.25–969.75) 0.000 
Blood routine 
 Hb, g/L 133.08 (15.89) 118.37 (19.20) 0.000 
 Hct 0.40 (0.37–0.43) 0.36 (0.32–0.40) 0.000 
 RBC, ×1012/L 4.33 (0.51) 3.94 (0.60) 0.000 
 PLT, ×109/L 216.00 (177.00–253.25) 216.00 (180.00–252.00) 0.966 
 WBC, ×109/L 6.24 (5.32–7.33) 6.09 (5.07–7.24) 0.266 
Plasma lipids analysis 
 Total cholesterol, mmol/L 262 3.42 (2.95–4.06) 3.31 (2.94–4.02) 0.898 
 TG, mmol/L 263 1.37 (1.03–1.87) 1.21 (1.02–1.89) 0.899 
 HDL-C, mmol/L 98 0.91 (0.77–1.05) 0.95 (0.77–1.05) 0.596 
 LDL-C, mmol/L 94 1.52 (0.78–2.10) 1.58 (0.82–2.16) 0.777 
 Apo A1, g/L 104 1.12 (0.96–1.29) 1.07 (0.94–1.20) 0.719 
 Apo B, g/L 103 0.64 (0.53–0.77) 0.65 (0.55–0.77) 0.898 
 Lp(a), mg/L 100 124.00 (54.00–307.50) 134.00 (71.50–381.50) 0.254 
Coagulation function test 
 PT, s 12.90 (12.30–13.50) 13.00 (12.30–13.80) 0.089 
 APTT, s 14 36.90 (32.30–44.70) 37.20 (32.50–55.20) 0.352 
 Fib, g/L 2.77 (2.34–3.17) 2.75 (2.33–3.28) 0.636 
 INR 1.20 (1.14–1.26) 1.21 (1.15–1.29) 0.113 
Infection detection 
 CRP, mg/dL 392 0.25 (0.17–0.43) 0.27 (0.18–0.81) 0.139 
Liver function test 
 ALT, U/L 15 21.00 (15.00–31.00) 18.00 (13.00–25.25) 0.011 
 AST, U/L 270 20.00 (16.00–25.00) 20.50 (15.25–26.75) 0.817 
Kidney function test 
 Cr, μmol/L 12 81.00 (71.25–91.00) 84.00 (72.75–99.25) 0.045 
 GFR, mL/min 187 83.00 (71.00–93.00) 76.00 (52.00–89.75) 0.001 
Clinical features 
 Cardiac function classification  129   0.633 
   136 (24.9) 19 (21.1)  
  321 (58.7) 57 (63.3)  
  84 (15.4) 12 (13.3)  
  6 (1.1) 2 (2.2)  
 Endarterectomy No 647 (98.2) 104 (97.2) 0.453 
Yes 12 (1.8) 3 (2.8) 
 Triple-vessel disease No 473 (71.8) 71 (66.4) 0.302 
Yes 186 (28.2) 36 (33.6) 
 Hybrid cardiac surgery No 638 (96.8) 102 (95.3) 0.392 
Yes 21 (3.2) 5 (4.7) 
 History of PCI no 544 (82.5) 76 (71.0) 0.007 
Yes 115 (17.5) 31 (29.0) 
 Total arterial coronary artery bypass grafting No 605 (91.8) 101 (94.4) 0.466 
Yes 54 (8.2) 6 (5.6) 
 Great saphenous vein transplantation No 331 (50.2) 43 (40.2) 0.068 
Yes 328 (49.8) 64 (59.8) 
 EF 624 64 (49.5–69) 61 (45–68) 0.479 
 Aspirin No 431 (65.4) 62 (57.9) 0.166 
Yes 228 (34.6) 45 (42.1) 
 Clopidogrel No 577 (87.6) 86 (80.4) 0.062 
Yes 82 (12.4) 21 (19.6) 
 Acute myocardial infarction No 369 (56.0) 69 (64.5) 0.123 
Yes 290 (44.0) 38 (35.5) 
 Profuse sweating No 625 (94.8) 100 (93.5) 0.720 
Yes 34 (5.2) 7 (6.5) 
 Tearing sharp pain No 307 (46.6) 56 (52.3) 0.317 
Yes 352 (53.4) 51 (47.7) 
 Limitation of physical activity No 640 (97.1) 100 (93.5) 0.076 
Yes 19 (2.9) 7 (6.5) 
 Balloon dilation No 637 (96.7) 106 (99.1) 0.232 
Yes 22 (3.3) 1 (0.9) 
 LIMA_LAD No 378 (57.4) 69 (64.5) 0.200 
Yes 281 (46.2) 38 (35.5) 
 AO_SVG_LCX No 619 (93.9) 100 (93.5) 0.977 
Yes 40 (6.1) 7 (6.5) 
 AO_SVG_OM No 639 (97.0) 103 (96.3) 0.763 
Yes 20 (3.0) 4 (3.7) 
 Single coronary artery bypass surgery No 439 (66.6) 79 (73.8) 0.139 
Yes 220 (33.4) 28 (26.2) 
 Multiple coronary artery bypass surgery No 269 (40.8) 34 (31.8) 0.076 
Yes 390 (59.2) 73 (68.2) 
 Left anterior descending artery surgery No 124 (18.8) 25 (23.4) 0.332 
Yes 535 (81.2) 82 (76.6) 
 Posterior descending artery surgery No 530 (80.4) 89 (83.2) 0.590 
Yes 129 (19.6) 18 (16.8) 
 Circumflex artery surgery No 540 (81.6) 86 (80.4) 0.799 
Yes 119 (18.1) 21 (19.6) 
 Left ventricular posterior descending artery surgery No 604 (91.7) 98 (91.6) 0.868 
Yes 55 (8.3) 9 (8.4) 
 Number of grafts in coronary artery bypass 138 331 (88.5) 43 (11.5) 0.300 
167 (83.9) 32 (16.1) 
48 (87.3) 7 (12.7) 
CharacteristicsSubtypeMissingPerioperative blood transfusionp value
noyes
659107
Demographic characteristics 
 Age, years 65.00 (58.00–71.00) 67.00 (64.00–74.00) 0.006 
 Gender, n (%) 481 (73.0) 64 (59.8) 0.005 
178 (27.0) 43 (40.2) 
 BMI, kg/m2 25.30 (3.21) 23.95 (2.96) 0.000 
Vital signs 
 Blood volume, mL 4,566.22 (4,006.92–4,918.06) 4,259.99 (3,610.50–4,693.73) 0.000 
 Respiration (per min) 18.00 (18.00–20.00) 18.00 (18.00–18.00) 0.118 
 Heart rate (per min) 65.00 (60.00–72.00) 70.00 (61.00–77.00) 0.007 
 Temperature (°C) 36.20 (36.00–36.50) 36.20 (36.00–36.50) 0.781 
Medical history 
 Pulmonary tuberculosis No 652 (98.9) 106 (99.1) 1.000 
Yes 7 (1.1) 1 (0.9) 
 Pleural thickening No 639 (97.0) 104 (97.2) 1.000 
Yes 20 (3.0) 3 (2.8) 
 Hyperlipidemia No 655 (99.4) 104 (97.2) 0.061 
Yes 4 (0.6) 3 (2.8) 
Myocardial injury detection 
 CK, U/L 223 60.00 (44.00–85.00) 55.50 (38.00–76.00) 0.039 
 CK-MB, U/L 76 80.00 (6.00–11.00) 10.00 (7.00–12.00) 0.030 
 α-HBDH, U/L 105 121.00 (106.00–139.00) 126.00 (108.00–148.75) 0.106 
 hs-cTnT, ng/mL 163 0.01 (0.00–0.02) 0.02 (0.01–0.04) 0.001 
 NT-proBNP, pg/mL 174 174.50 (69.00–468.50) 357.20 (149.25–969.75) 0.000 
Blood routine 
 Hb, g/L 133.08 (15.89) 118.37 (19.20) 0.000 
 Hct 0.40 (0.37–0.43) 0.36 (0.32–0.40) 0.000 
 RBC, ×1012/L 4.33 (0.51) 3.94 (0.60) 0.000 
 PLT, ×109/L 216.00 (177.00–253.25) 216.00 (180.00–252.00) 0.966 
 WBC, ×109/L 6.24 (5.32–7.33) 6.09 (5.07–7.24) 0.266 
Plasma lipids analysis 
 Total cholesterol, mmol/L 262 3.42 (2.95–4.06) 3.31 (2.94–4.02) 0.898 
 TG, mmol/L 263 1.37 (1.03–1.87) 1.21 (1.02–1.89) 0.899 
 HDL-C, mmol/L 98 0.91 (0.77–1.05) 0.95 (0.77–1.05) 0.596 
 LDL-C, mmol/L 94 1.52 (0.78–2.10) 1.58 (0.82–2.16) 0.777 
 Apo A1, g/L 104 1.12 (0.96–1.29) 1.07 (0.94–1.20) 0.719 
 Apo B, g/L 103 0.64 (0.53–0.77) 0.65 (0.55–0.77) 0.898 
 Lp(a), mg/L 100 124.00 (54.00–307.50) 134.00 (71.50–381.50) 0.254 
Coagulation function test 
 PT, s 12.90 (12.30–13.50) 13.00 (12.30–13.80) 0.089 
 APTT, s 14 36.90 (32.30–44.70) 37.20 (32.50–55.20) 0.352 
 Fib, g/L 2.77 (2.34–3.17) 2.75 (2.33–3.28) 0.636 
 INR 1.20 (1.14–1.26) 1.21 (1.15–1.29) 0.113 
Infection detection 
 CRP, mg/dL 392 0.25 (0.17–0.43) 0.27 (0.18–0.81) 0.139 
Liver function test 
 ALT, U/L 15 21.00 (15.00–31.00) 18.00 (13.00–25.25) 0.011 
 AST, U/L 270 20.00 (16.00–25.00) 20.50 (15.25–26.75) 0.817 
Kidney function test 
 Cr, μmol/L 12 81.00 (71.25–91.00) 84.00 (72.75–99.25) 0.045 
 GFR, mL/min 187 83.00 (71.00–93.00) 76.00 (52.00–89.75) 0.001 
Clinical features 
 Cardiac function classification  129   0.633 
   136 (24.9) 19 (21.1)  
  321 (58.7) 57 (63.3)  
  84 (15.4) 12 (13.3)  
  6 (1.1) 2 (2.2)  
 Endarterectomy No 647 (98.2) 104 (97.2) 0.453 
Yes 12 (1.8) 3 (2.8) 
 Triple-vessel disease No 473 (71.8) 71 (66.4) 0.302 
Yes 186 (28.2) 36 (33.6) 
 Hybrid cardiac surgery No 638 (96.8) 102 (95.3) 0.392 
Yes 21 (3.2) 5 (4.7) 
 History of PCI no 544 (82.5) 76 (71.0) 0.007 
Yes 115 (17.5) 31 (29.0) 
 Total arterial coronary artery bypass grafting No 605 (91.8) 101 (94.4) 0.466 
Yes 54 (8.2) 6 (5.6) 
 Great saphenous vein transplantation No 331 (50.2) 43 (40.2) 0.068 
Yes 328 (49.8) 64 (59.8) 
 EF 624 64 (49.5–69) 61 (45–68) 0.479 
 Aspirin No 431 (65.4) 62 (57.9) 0.166 
Yes 228 (34.6) 45 (42.1) 
 Clopidogrel No 577 (87.6) 86 (80.4) 0.062 
Yes 82 (12.4) 21 (19.6) 
 Acute myocardial infarction No 369 (56.0) 69 (64.5) 0.123 
Yes 290 (44.0) 38 (35.5) 
 Profuse sweating No 625 (94.8) 100 (93.5) 0.720 
Yes 34 (5.2) 7 (6.5) 
 Tearing sharp pain No 307 (46.6) 56 (52.3) 0.317 
Yes 352 (53.4) 51 (47.7) 
 Limitation of physical activity No 640 (97.1) 100 (93.5) 0.076 
Yes 19 (2.9) 7 (6.5) 
 Balloon dilation No 637 (96.7) 106 (99.1) 0.232 
Yes 22 (3.3) 1 (0.9) 
 LIMA_LAD No 378 (57.4) 69 (64.5) 0.200 
Yes 281 (46.2) 38 (35.5) 
 AO_SVG_LCX No 619 (93.9) 100 (93.5) 0.977 
Yes 40 (6.1) 7 (6.5) 
 AO_SVG_OM No 639 (97.0) 103 (96.3) 0.763 
Yes 20 (3.0) 4 (3.7) 
 Single coronary artery bypass surgery No 439 (66.6) 79 (73.8) 0.139 
Yes 220 (33.4) 28 (26.2) 
 Multiple coronary artery bypass surgery No 269 (40.8) 34 (31.8) 0.076 
Yes 390 (59.2) 73 (68.2) 
 Left anterior descending artery surgery No 124 (18.8) 25 (23.4) 0.332 
Yes 535 (81.2) 82 (76.6) 
 Posterior descending artery surgery No 530 (80.4) 89 (83.2) 0.590 
Yes 129 (19.6) 18 (16.8) 
 Circumflex artery surgery No 540 (81.6) 86 (80.4) 0.799 
Yes 119 (18.1) 21 (19.6) 
 Left ventricular posterior descending artery surgery No 604 (91.7) 98 (91.6) 0.868 
Yes 55 (8.3) 9 (8.4) 
 Number of grafts in coronary artery bypass 138 331 (88.5) 43 (11.5) 0.300 
167 (83.9) 32 (16.1) 
48 (87.3) 7 (12.7) 

M, male; F, female; LIMA, left internal mammary artery; LAD, left anterior descending branch; AO, aorta; SVG, great saphenous vein; LCX, left circumflex artery; OM, obtuse marginal artery; PCI, percutaneous coronary intervention; EF, ejection fraction; Apo A1, apolipoprotein A1; APTT, activated partial thromboplastin time; α-HBDH, hydroxybutyrate dehydrogenase; Apo B, apolipoprotein B; hs-cTnT, highly sensitive cardiac troponin T; TG, triglycerides; WBC, white blood cell; INR, international normalized ratio; LDL-C, low-density lipoprotein cholesterol; HDL-C, high-density lipoprotein cholesterol; CRP, C-reactive protein; AST, aspartate aminotransferase; ALT, alanine aminotransferase; Lp(a), lipoprotein(a); GFR, glomerular filtration rate.

A decision model for allogeneic blood transfusion was established, and the effects of different models were compared (Table 2). XGBoost was chosen as the prediction model based on a comprehensive evaluation. After training, SHAP was used to display the feature priorities (Fig. 2). It can be seen that preoperative anemia, elevated PT, low BMI and weight, multiple types of diseases, history of percutaneous coronary intervention (PCI), increased heart rate, low Fib and PLT, and elevated Cr are the top ten risk factors affecting blood transfusion during surgery. The relationship dependence diagram was drawn for the top six influential factors of SHAP values (Fig. 3), which showed that preoperative Hb less than 120 g/L, PT greater than 13.75, BMI less than 22.7 kg/m2, diagnose length longer than 4 letters, the history of PCI, weight lower than 67 kg were the main risk factors for blood transfusion. The learning curve shows the validation accuracy of the XGBoost (Fig. 4). It shows that accuracy is relatively high when the training set has more than 400 samples.

Table 2.

Comparison of 10 allogeneic blood transfusion decision models in patients undergoing minimally invasive coronary artery bypass grafting

ModelAccuracyAUCRecallPrecF1Kappa
Extreme Gradient Boosting 0.854 0.7261 0.1595 0.3817 0.2122 0.1605 
Gradient Boosting Classifier 0.854 0.7131 0.2071 0.3362 0.2474 0.1894 
Extra Trees Classifier 0.8649 0.7118 0.0643 0.35 0.1071 0.0895 
Logistic Regression 0.8606 0.7003 0.0762 0.2833 0.1167 0.0892 
CatBoost Classifier 0.8692 0.6992 0.1119 0.5167 0.1766 0.1506 
AdaBoost Classifier 0.817 0.6833 0.2262 0.2326 0.2201 0.1313 
Linear Discriminant Analysis 0.8169 0.6426 0.2024 0.2998 0.2313 0.1336 
Random Forest Classifier 0.8628 0.5802 0.081 0.425 0.1307 0.1062 
Decision Tree Classifier 0.7801 0.5723 0.2833 0.258 0.2585 0.1397 
K Neighbors Classifier 0.8519 0.5389 0.081 0.375 0.1279 0.0864 
ModelAccuracyAUCRecallPrecF1Kappa
Extreme Gradient Boosting 0.854 0.7261 0.1595 0.3817 0.2122 0.1605 
Gradient Boosting Classifier 0.854 0.7131 0.2071 0.3362 0.2474 0.1894 
Extra Trees Classifier 0.8649 0.7118 0.0643 0.35 0.1071 0.0895 
Logistic Regression 0.8606 0.7003 0.0762 0.2833 0.1167 0.0892 
CatBoost Classifier 0.8692 0.6992 0.1119 0.5167 0.1766 0.1506 
AdaBoost Classifier 0.817 0.6833 0.2262 0.2326 0.2201 0.1313 
Linear Discriminant Analysis 0.8169 0.6426 0.2024 0.2998 0.2313 0.1336 
Random Forest Classifier 0.8628 0.5802 0.081 0.425 0.1307 0.1062 
Decision Tree Classifier 0.7801 0.5723 0.2833 0.258 0.2585 0.1397 
K Neighbors Classifier 0.8519 0.5389 0.081 0.375 0.1279 0.0864 
Fig. 2.

SHAP values for transfusion risk according to the features identified in XGBoost models for patients undergoing MIDCAB. The model is sorted by importance from high to low; red represents high values, and blue represents low values. The left side of the horizontal axis represents low transfusion risk, while the right side represents high transfusion risk.

Fig. 2.

SHAP values for transfusion risk according to the features identified in XGBoost models for patients undergoing MIDCAB. The model is sorted by importance from high to low; red represents high values, and blue represents low values. The left side of the horizontal axis represents low transfusion risk, while the right side represents high transfusion risk.

Close modal
Fig. 3.

Relationship dependence diagram of the top six influential factors of SHAP values for patients undergoing MIDCAB. The risk factors, including Hb (a), PT (b), BMI (c), coronary heart disease with additional comorbidities (d), history of PCI (e), weight (f).

Fig. 3.

Relationship dependence diagram of the top six influential factors of SHAP values for patients undergoing MIDCAB. The risk factors, including Hb (a), PT (b), BMI (c), coronary heart disease with additional comorbidities (d), history of PCI (e), weight (f).

Close modal
Fig. 4.

Learning curve of the XGBoost model for patients undergoing MIDCAB.

Fig. 4.

Learning curve of the XGBoost model for patients undergoing MIDCAB.

Close modal

In recent years, with increasing awareness and attention to the risks of blood transfusions, more and more doctors have begun to focus on patient blood management and adopt restrictive transfusion strategies [11]. Studies have shown that in hospitals where patient blood management is not implemented, 25% of trauma patients receive blood products even when their Hb levels are greater than 104 g/L [12]. While some doctors acknowledge the restrictive transfusion threshold of 70 g/L for surgical patients, in actual clinical practice, 84–92% of patients are not strictly adhering to the restrictive transfusion strategy [13]. Therefore, it is necessary to strengthen education on transfusion practice, and also, we can practice patient blood management by reducing bleeding, blood conservation, and rational use of allogeneic transfusions. Early screening for the cause of blooding has proven beneficial. This screening should be tailored to different diseases.

This study investigates patients who underwent MIDCAB surgery to find the risk factors of bleeding with the goal of preventing RBC transfusion. We construct 10 machine learning models to preliminarily identify that preoperative anemia, coagulation indicators (PT, Fib, PLT), low BMI and weight, multiple types of diseases, history of PCI, increased heart rate, elevated Cr have relatively high weights in predicting allogeneic blood transfusions during surgery.

It has been proved that the incorporation of common factors into clinical pathways can better reduce perioperative risks and economic costs for patients [14, 15]. Currently, there are few predictions and assessments related to blood transfusion, and clinicians often rely on clinical experience to judge the infusion and evaluation of blood products [16]. Guidelines on blood transfusion only provide rough descriptions based on Hb, coagulation function, and platelet values, and there are no standards for preoperative evaluation or management of specific diseases. Currently, most predictions related to blood transfusion in cardiac surgery are based on linear regression results, which cannot provide a quantitative relationship between risk factors and prediction results. We used SHAP analysis to identify risk factors and determine the critical values of risk through local relationship dependence graphs and found that preoperative Hb less than 120 g/L, PT greater than 13.75 s, BMI less than 22.7 kg/m2, weight lower than 67 kg are consistent with the results of previous studies [17‒21]. Diagnose length longer than 4 letters and history of PCI have a high risk of transfusion [22]. Coronary heart disease was the primarily diagnosis in our study. In Chinese, coronary heart disease is 3 characters. Our results show that the risk of bleeding increases for patients whose diagnosis length is greater than 4, which means that in addition to coronary heart disease, these patients also have other comorbidities. The risk of blood transfusion in patients undergoing venous bypass grafting is greater than in other surgical methods, which is consistent with the risk factors identified by our univariate analysis [23]. N-terminal pro-brain natriuretic peptide and CK isoenzyme, which assess myocardial damage, are also indicators of blood transfusion. Some studies have indicated that the use of clopidogrel and platelet function are also factors for predicting transfusion risk [24], while others have shown that continuing the original anticoagulation regimen does not increase the risk of intraoperative bleeding in cardiac patients undergoing minimally invasive surgery [25]. In our hospital, we kept aspirin on before the surgery, which did not increase the risk of allogeneic blood transfusion in the risk factor analysis model.

Multiple-center randomized controlled studies have shown that simply strengthening the auditing and evaluation of blood transfusion does not improve the quality control of blood transfusion. It is suggested that a learning software system should be used to improve the rationality of blood transfusion [26]. Previous studies have shown that intelligent software-based blood transfusion interventions can help reduce the use of red blood cells [27, 28]. Therefore, the effectiveness of the blood transfusion model can be verified through the clinical application, and optimization can continue during the application process. Our hospital’s evaluation of the use of blood products based on doctors’ experience shows that the Hb levels of patients who receive red blood cell transfusions after surgery are generally between 80 and 100 g/L. Clinical physicians will choose between restrictive and nonrestrictive transfusion strategies based on their specific surgical circumstances. According to the recommendations of the AABB [29], the indications for a liberal transfusion threshold are Hb levels between 90 g/L and 100 g/L. Therefore, using this more liberal transfusion threshold to transfuse patients, the postoperative Hb levels would not exceed 120 g/L, but there were also 22 (20.56%) cases of postoperative Hb levels ≥120 g/L among patients who received red blood cell transfusions. The process of red blood cell application or evaluation indicators for these patients still needs to be improved. The intelligent blood transfusion model that has been constructed will be embedded in the clinical medical record system and will be automatically triggered when doctors submit a blood transfusion application. The model will use preoperative variables to analyze and predict the risk level of surgical blood usage and related risk factors [30]. The predicting model can help doctors to reduce the risk of intraoperative blood use and play a role in patient blood management.

Studies have shown that reasonable preoperative blood preparation is an important measure for blood inventory management and can also reduce medical expenses [31]. For surgeries with a low risk of transfusion reactions, two units of red blood cells are routinely prepared before surgery to deal with the risk of unexpected intraoperative bleeding. To eliminate the interference of routine blood preparation operations, RBC applications lower than two units were removed, and a total of 576 cases applicated RBC of 4 units or more with an experience evaluation. There were 77 cases (13.7%) transfused among RBC applications of 4 units or more. Blood preparation volumes that exceed the maximum blood preparation list not only increase medical expenses due to excessive testing but also pose difficulties for blood inventory management. The blood transfusion department can use the intelligent blood transfusion model to manage blood inventory in a reasonable manner.

Accumulating evidence supports our results that our blood transfusion model can help reduce the transfusion rate and economic costs. Although many studies have already confirmed the role of intelligent models in different diseases, AI for blood transfusion prediction studies are still in the early stages and need more exploration. Future research could discover models that have high accuracy.

This study has some limitations that must be highlighted. First, this study is a single-center retrospective study, and the transfusion probability provided by the machine model only represents the current level of medical care in our hospital. Second, the accuracy of the software prediction needs to be further corrected through prospective experiments.

This model only predicts the transfusion rate of a single type of disease, and in the future, more types of diseases can be added for analysis to improve the evaluation of preoperative blood demand and better allocate blood products. Alternatively, dynamic blood inventory management can be carried out using artificial intelligence to achieve reasonable blood allocation in a blood shortage situation. Based on the factors affecting transfusion, we can make different processing flows and therapeutic schemes to provide better medical decisions, aiming to achieve intelligent blood management for patients before, during, and after surgery.

The result reveals that the XGBoost model can accurately predict transfusion or not transfusion in MIDCAB. The risk factors discovered by the model can help doctors perform effective patient blood management.

This study was approved by the Medical Ethics Committee of Peking University Third Hospital (Approval No. 2017 Medical Ethics Review No. 523-02) and was granted an exemption from informed consent.

The authors declare that there is no conflict of interest regarding the publication of this paper.

This research was funded by National Natural Science Foundation of China (Grant No. 81971012).

Zhenmin Sun: conceptualization, methodology, formal analysis, investigation, resources, writing – original draft, funding acquisition, and writing – review and editing; Zhongqi Cui: methodology, software, validation, formal analysis, investigation, writing – original draft, writing – review and editing, and project administration; Yan Xie: methodology; investigation; data curation; visualization; validation; and writing – original draft; Lei Wang: investigation, data curation, visualization, validation, and writing – original draft; Zhengqian Li, Xiaoyu Yang, and Xiaoqing Zhang: investigation, data curation, and writing – original draft; and Jun Wang: supervision, methodology, formal analysis, writing – review and editing.

The data that support the findings of this study are not publicly available due to their containing information that could compromise the privacy of research participants but are available from the corresponding author (J.W.) upon reasonable request.

1.
Roberts
N
,
James
S
,
Delaney
M
,
Fitzmaurice
C
.
The global need and availability of blood products: a modelling study
.
Lancet Haematol
.
2019
;
6
(
12
):
e606
15
.
2.
Xue
R
,
Chen
Y
,
Wen
J
.
Blood shortages and donation in China
.
Lancet
.
2016
;
387
(
10031
):
1905
.
3.
Society of Thoracic Surgeons Blood Conservation Guideline Task Force
,
Ferraris
VA
,
Brown
JR
,
Despotis
GJ
,
Hammon
JW
,
Reece
TB
, et al
.
2011 update to the Society of Thoracic Surgeons and the Society of Cardiovascular Anesthesiologists blood conservation clinical practice guidelines
.
Ann Thorac Surg
.
2011
;
91
(
3
):
944
82
.
4.
Xiao
LB
,
Zhang
YH
,
Zhou
JW
,
Yang
M
,
Ling
YP
,
Gao
ZS
, et al
.
The clinical research of off-pump coronary artery bypass grafting by small incision at the left chest
.
Eur Rev Med Pharmacol Sci
.
2016
;
20
(
2
):
305
10
.
5.
Grant
SW
,
Hickey
GL
,
Modi
P
,
Hunter
S
,
Akowuah
E
,
Zacharias
J
.
Propensity-matched analysis of minimally invasive approach versus sternotomy for mitral valve surgery
.
Heart
.
2019
;
105
(
10
):
783
9
.
6.
Pieri
M
,
Nardelli
P
,
De Luca
M
,
Landoni
G
,
Frassoni
S
,
Melissano
G
, et al
.
Predicting the need for intra-operative large volume blood transfusions during thoraco-abdominal aortic aneurysm repair
.
Eur J Vasc Endovasc Surg
.
2017
;
53
(
3
):
347
53
.
7.
Ramkumar
PN
,
Kunze
KN
,
Haeberle
HS
,
Karnuta
JM
,
Luu
BC
,
Nwachukwu
BU
, et al
.
Clinical and research medical applications of artificial intelligence
.
Arthroscopy
.
2021
;
37
(
5
):
1694
7
.
8.
Hamamoto
R
.
Application of artificial intelligence for medical research
.
Biomolecules
.
2021
;
11
(
1
):
90
.
9.
Akatsuka
J
,
Yamamoto
Y
,
Sekine
T
,
Numata
Y
,
Morikawa
H
,
Tsutsumi
K
, et al
.
Illuminating clues of cancer buried in prostate MR image: deep learning and expert approaches
.
Biomolecules
.
2019
;
9
(
11
):
673
.
10.
Sousa-Uva
M
,
Neumann
FJ
,
Ahlsson
A
,
Alfonso
F
,
Banning
AP
,
Benedetto
U
, et al
.
2018 ESC/EACTS Guidelines on myocardial revascularization
.
Eur J Cardio Thorac Surg
.
2019
;
55
(
1
):
4
90
.
11.
Mueller
MM
,
Van Remoortel
H
,
Meybohm
P
,
Aranko
K
,
Aubron
C
,
Burger
R
, et al
.
Patient blood management: recommendations from the 2018 frankfurt consensus conference
.
Jama
.
2019
;
321
(
10
):
983
97
.
12.
Juárez-Vela
R
,
Andrés-Esteban
EM
,
Santolalla-Arnedo
I
,
Ruiz de Viñaspre-Hernández
R
,
Benito-Puncel
C
,
Serrano-Lázaro
A
, et al
.
Epidemiology and associated factors in transfusion management in intensive care unit
.
J Clin Med
.
2022
;
11
(
12
):
3532
.
13.
Murphy
DJ
,
Pronovost
PJ
,
Lehmann
CU
,
Gurses
AP
,
Whitman
GJR
,
Needham
DM
, et al
.
Red blood cell transfusion practices in two surgical intensive care units: a mixed methods assessment of barriers to evidence-based practice
.
Transfusion
.
2014
;
54
(
10 Pt 2
):
2658
67
.
14.
Clevenger
B
,
Mallett
SV
,
Klein
AA
,
Richards
T
.
Patient blood management to reduce surgical risk
.
Br J Surg
.
2015
;
102
(
11
):
1325
4
; discussion 1324.
15.
Butcher
A
,
Richards
T
.
Cornerstones of patient blood management in surgery
.
Transfus Med
.
2018
;
28
(
2
):
150
7
.
16.
Chang
C-M
,
Hung
JH
,
Hu
YH
,
Lee
PJ
,
Shen
CC
.
Prediction of preoperative blood preparation for orthopedic surgery patients: a supervised learning approach
.
Appl Sci
.
2018
;
8
(
9
):
1559
.
17.
Paiva
PP
,
Leite
FM
,
Antunes
PE
,
Antunes
MJ
.
Risk-prediction model for transfusion of erythrocyte concentrate during extracorporeal circulation in coronary surgery
.
Braz J Cardiovasc Surg
.
2021
;
36
(
3
):
323
30
.
18.
Petricevic
M
,
Petricevic
M
,
Pasalic
M
,
Golubic Cepulic
B
,
Raos
M
,
Vasicek
V
, et al
.
Bleeding risk stratification in coronary artery surgery: the should-not-bleed score
.
J Cardiothorac Surg
.
2021
;
16
(
1
):
103
.
19.
Madhu Krishna
NR
,
Nagaraja
PS
,
Singh
NG
,
Nanjappa
SN
,
Kumar
KN
,
Prabhakar
V
, et al
.
Evaluation of risk scores in predicting perioperative blood transfusions in adult cardiac surgery
.
Ann Card Anaesth
.
2019
;
22
(
1
):
73
8
.
20.
Liu
S
,
Zhou
R
,
Xia
XQ
,
Ren
H
,
Wang
LY
,
Sang
RR
, et al
.
Machine learning models to predict red blood cell transfusion in patients undergoing mitral valve surgery
.
Ann Transl Med
.
2021
;
9
(
7
):
530
.
21.
de Boer
WJ
,
Visser
C
,
van Kuijk
SMJ
,
de Jong
K
.
A prognostic model for the preoperative identification of patients at risk for receiving transfusion of packed red blood cells in cardiac surgery
.
Transfusion
.
2021
;
61
(
8
):
2336
46
.
22.
Kinnaird
T
,
Anderson
R
,
Ossei-Gerning
N
,
Cockburn
J
,
Sirker
A
,
Ludman
P
, et al
.
Coronary perforation complicating percutaneous coronary intervention in patients with a history of coronary artery bypass surgery: an analysis of 309 perforation cases from the British cardiovascular intervention society database
.
Circ Cardiovasc Interv
.
2017
;
10
(
9
):
e005581
.
23.
Werner
RS
,
Lipps
C
,
Waldhans
S
,
Künzli
A
.
Blood consumption in total arterial coronary artery bypass grafting
.
J Cardiothorac Surg
.
2020
;
15
(
1
):
23
.
24.
Petricevic
M
,
Knezevic
J
,
Biocina
B
,
Mikus
M
,
Konosic
L
,
Rasic
M
, et al
.
Association among clopidogrel cessation, platelet function, and bleeding in coronary bypass surgery: an observational trial
.
Thorac Cardiovasc Surg
.
2021
;
69
(
7
):
630
8
.
25.
Wu
H
,
Wang
J
,
Sun
H
,
Lv
B
,
Wang
X
,
Hu
X
, et al
.
Preoperative continuation of aspirin therapy may improve perioperative saphenous venous graft patency after off-pump coronary artery bypass grafting
.
Ann Thorac Surg
.
2015
;
99
(
2
):
576
80
.
26.
Stanworth
SJ
,
Walwyn
R
,
Grant-Casey
J
,
Hartley
S
,
Moreau
L
,
Lorencatto
F
, et al
.
Effectiveness of enhanced performance feedback on appropriate use of blood transfusions: a comparison of 2 cluster randomized trials
.
JAMA Netw Open
.
2022
;
5
(
2
):
e220364
.
27.
Hibbs
SP
,
Nielsen
ND
,
Brunskill
S
,
Doree
C
,
Yazer
MH
,
Kaufman
RM
, et al
.
The impact of electronic decision support on transfusion practice: a systematic review
.
Transfus Med Rev
.
2015
;
29
(
1
):
14
23
.
28.
Zuckerberg
GS
,
Scott
AV
,
Wasey
JO
,
Wick
EC
,
Pawlik
TM
,
Ness
PM
, et al
.
Efficacy of education followed by computerized provider order entry with clinician decision support to reduce red blood cell utilization
.
Transfusion
.
2015
;
55
(
7
):
1628
36
.
29.
Carson
JL
,
Stanworth
SJ
,
Guyatt
G
,
Valentine
S
,
Dennis
J
,
Bakhtary
S
, et al
.
Red blood cell transfusion: 2023 AABB international guidelines
.
JAMA
.
2023
;
330
(
19
):
1892
902
.
30.
Gurm
HS
,
Kooiman
J
,
LaLonde
T
,
Grines
C
,
Share
D
,
Seth
M
.
A random forest based risk model for reliable and accurate prediction of receipt of transfusion in patients undergoing percutaneous coronary intervention
.
PLoS One
.
2014
;
9
(
5
):
e96385
.
31.
Zewdie
K
,
Genetu
A
,
Mekonnen
Y
,
Worku
T
,
Sahlu
A
,
Gulilalt
D
.
Efficiency of blood utilization in elective surgical patients
.
BMC Health Serv Res
.
2019
;
19
(
1
):
804
.