- Department of Hepatobiliary Surgery, Wenzhou Central Hospital, Dingli Clinical Institute of Wenzhou Medical University, Wenzhou, Zhejiang, China
Background & aims: Deep vein thrombosis, a common complication after laparoscopic surgery, can negatively affect patients' limb motor function and even seriously threaten their lives. Therefore, it is crucial to accurately identify patients at high risk of lower extremity deep vein thrombosis. Thus, the aim of this study was to develop a model to predict the occurrence of deep vein thrombosis in patients after laparoscopy.
Methods: We retrospectively analyzed the clinical data of patients who underwent laparoscopic surgery at Wenzhou Central Hospital's Hepatobiliary Surgery Department. Patients with postoperative deep vein thrombosis composed the observation group, while others composed the control group. Eleven key features were identified through group comparisons and used for model development. Twenty machine learning algorithms were evaluated, and the top five algorithms were used to build the final model by stacking.
Results: A total of 335 patients underwent laparoscopic abdominal surgery. Patients with deep vein thrombosis (9.9%) differed significantly in age, history of tumor, hemoglobin, red blood cell counts, preoperative blood pressure, duration of the surgery, activated partial thromboplastin time, D-dimer, total protein, albumin, and calcium. According to our model, the most important features influencing the predictions were tumor history, age, time to surgery, and D-dimer level. We employed two interpretability methods: decomposition interpretation and Shapley additive explanation. Decomposition analysis revealed that the three study characteristics with the strongest predictive effect for deep vein thrombosis occurrence after laparoscopy were, in descending order, the time of surgery, patient age, and tumor history. Conversely, for ruling out deep vein thrombosis, the most important features were tumor history, hemoglobin level, and age. Shapley additive explanation revealed that tumor history, age, and time of surgery were the most important factors for predicting and ruling out deep vein thrombosis following laparoscopy. We additionally selected 114 patients for external validation, and the results showed that the ROC of validation set for the LASDVT model was 0.9293 and the AUPRC was 0.6497. The effect of the LASDVT model was statistically different (delong test, p = 0.0047) and superior to the Caprini score.
Conclusion: We present a model for predicting deep vein thrombosis in laparoscopic surgery patients. This model outperformed the Caprini score in predicting the incidence of deep vein thrombosis.
Introduction
As the global population ages at an accelerated pace, the elderly are increasingly becoming major consumers of healthcare services. This demographic shift presents both challenges and opportunities for the advancement of medical technology, particularly in the field of minimally invasive surgery. Traditional abdominal surgeries typically involve large incisions, leading to significant postoperative pain and prolonged recovery times for patients. However, with the continuous evolution of medical technology, especially the maturation of laparoscopic techniques, minimally invasive surgery has gradually supplanted traditional open surgery, establishing itself as the predominant approach in abdominal surgery. Minimally invasive surgical techniques have steadily supplanted past open surgical interventions for the treatment of benign and malignant diseases in abdominal surgery (1–5). Minimally invasive techniques offer significant clinical benefits to most patients. These benefits include a faster return to normal function, a shorter hospital stay, and a reduced risk of complications. As medical technology advances, minimally invasive surgical techniques are continually being refined. Alongside traditional laparoscopy, innovative approaches like single-port laparoscopic surgery and natural orifice transluminal endoscopic surgery (NOTES) are emerging. These newer methods further minimize surgical trauma and enhance patient safety. Conversely, open surgery carries the drawbacks of increased invasiveness, leading to higher blood loss, more postoperative pain, extended hospital stays, and larger incisions. Consequently, minimally invasive surgery has become the preferred approach in contemporary abdominal surgery (6, 7). Nurses play a crucial role in minimally invasive procedures, from preoperative education and postoperative care to managing nutrition and pain relief (8). Although minimally invasive techniques are the gold standard in many surgical fields, the complications of laparoscopic surgery are just as serious (9). Examples include injury to adjacent organs, intraoperative and postoperative bleeding, gastrointestinal fistulae, incisions and abdominal infections, postoperative abdominal or abdominal wall implantation of tumors and postoperative deep vein thrombosis of the lower extremities. Given the crucial role that clinicians and nurses play in identifying patient complications, ongoing development of clinical techniques is essential to enhance their ability to swiftly recognize complications associated with minimally invasive surgery.
Deep vein thrombosis (DVT), a common complication after laparoscopic surgery, usually occurs within one week after surgery. DVT can significantly impair patients' limb motor function, leading to a decreased quality of life. Furthermore, detachment of a venous thrombus can trigger acute pulmonary embolism, a life-threatening condition for patients (10–12). Studies have demonstrated that minimally invasive surgery may have a lower overall risk of venous thromboembolism (VTE) compared to open surgery (13–15). However, some research suggests a higher incidence of postoperative deep vein thrombosis (DVT) specifically after laparoscopic procedures. Regardless of the surgical approach (open or minimally invasive), VTE remains a potential complication. Importantly, the occurrence of VTE in any patient, irrespective of the surgical method, can have serious adverse consequences, significantly impacting their life and quality of survival. Therefore, accurately identifying patients at risk for lower extremity deep vein thrombosis (LEDVT) is crucial (16, 17). Currently, the diagnosis and prediction of lower extremity deep vein thrombosis (LEDVT) primarily rely on scoring systems such as the Caprini and Padua scores, along with laboratory tests and ultrasonography (18). These scoring systems were originally published in the 1990s and early 2000s and were found to be valuable for predicting the occurrence of LEDVT after open surgery. However, their ability to accurately predict outcomes in laparoscopic surgery remains unclear (19, 20). There are some deficiencies in Caprini scores. For example, the Caprini score's classification of risk classes is based on data from Western populations and may not be applicable to other populations, especially those at high risk for VTE, such as oncology patients and orthopedic patients. Moreover, the risk factor assignment of the Caprini score is based on the relative contribution of different factors to the risk of VTE, but there may be interactions or synergistic effects between these factors, and the Caprini score does not consider the combined effects of these factors (21).
In summary, the diagnosis and prediction of DVT, a common complication after laparoscopic surgery, relies on the Caprini score and Padua score, as well as laboratory tests and ultrasonography, but each of these methods has its own drawbacks. This study aimed to identify independent risk factors for laparoscopic abdominal surgery patients who develop LEDVT. By doing so, we hope to develop a more accurate and efficient prediction model to aid clinicians and nurses in accelerating patient recovery.
Materials and methods
Institutional review board approval
This retrospective study was approved by the Institutional Review Board of Wenzhou Central Hospital (202402192124000497228).
Ethical compliance with human study
This study was conducted in compliance with the ethical standards of the responsible institution on human subjects as well as with the Helsinki Declaration.
Study design and cohort
This research was guided by the Declaration of Helsinki. The clinical charts and related data of patients who underwent laparoscopic surgery from January 3, 2023, to December 19, 2023, in our hepatobiliary surgery department were collected and reviewed. Patients who met the following criteria were included in this study: (1) underwent laparoscopic surgery; (2) complete clinical data; (3) no preoperative use of hormonal drugs; (4) Patients who did not undergo secondary surgery. Patients who met any of the following criteria were excluded: (1) incomplete clinical data; (2) severe preoperative underlying disease or intolerance to general anesthesia; (3) underwent surgery via open surgery or other nonlaparoscopic surgery; (4) were perinatal women. A total of 335 patients were included in the study. Among these patients, 33 developed LEDVT postoperatively and composed the observation group. The remaining 302 patients who did not develop LEDVT after laparoscopy composed the control group. We additionally selected 114 patients who underwent laparoscopic surgery at our hospital from December 2023 to August 2024 for external validation, with the same inclusion criteria as above.
Data collection and variables
The clinical records and data of the patients were collected. The diagnostic criteria for LEDVT are that the vascular ultrasound must show hypoechoicity, loss of blood flow signal in the lumen of the vessel, and no change after applying pressure to the vessel with the probe. The study variables included age, gender, tumor history, height, weight, preoperative blood pressure, duration of surgery, prothrombin percentage activity, hemoglobin, red blood cell count, prothrombin time (PT), fibrinogen, thrombin time (TT), activated partial thromboplastin time (APTT), D-dimer, white blood cell count, absolute neutrophil count, absolute lymphocyte count, mean corpuscular hemoglobin, platelet count, total protein, albumin, globulin, total bilirubin, direct bilirubin, indirect bilirubin, glucose, urea, calcium, and C-reactive protein (CRP).
Statistical analysis
The data were analyzed using R (version 4.2.2, https://www.r-project.org/). Categorical variables were compared with the chi-squared test. Student's t test was used to compare continuous variables between two groups when the data were normally distributed and had homogeneous variance. The data are presented as the median (P25, P75), and the nonparametric rank sum test was used when the measurement data did not have a normal distribution or homogeneity of variance. We constructed a laparoscopic abdominal surgery deep vein thrombosis (LASDVT) model. The construction of the machine learning (ML) model is based on the mlr3 package, benchmarking of extracted meaningful features using 20 algorithms, and evaluation by ML evaluation metrics such as the ACC, AUROC, AUPRC, classification error (CE), F1 score, false discovery rate (FDR), false negative rate (FNR), false positive rate (FPR), precision, true positive rate (TPR), and true negative rate (TNR) using 5-fold cross-validation with 200 repetitions. The five algorithms with the best overall evaluation were selected to construct the final model using the starking approach. We divided the dataset into training and test sets at a ratio of 7:3. The class imbalance in the training set consisted of 26 cases (10.7%), while the test set had 7 cases (11.6%) of class imbalance. The LASDVT model is trained on the training set, and the performance of the model is validated on the test set. The LASDVT model interpretation was performed using the DALEX R package (Figure 1). A p-value of <0.05 was considered to indicate statistical significance.

Figure 1. The workflow of our study. SVM, support vector machine; LMT, locally mapped trees; BART, Bayesian additive regression trees; KKNN, kernel K-nearest neighbors.
Feature importance analysis
We use two interpretable methods to determine the importance of features in machine learning models: global and local interpretation.
For global interpretation, we use the Predictor class of the iml package to construct the prediction interpreter object. The feature importance calculation is based on the cross-entropy loss function (cross-entropy loss), which quantifies the contribution of each feature to the predictive power of the model by performing 100 repetitive samples through the replacement eigenvalue method. Specifically, by perturbing the values of each feature and observing the changes in model performance, a feature importance score is calculated, with higher scores indicating that the feature has a greater impact on model prediction. The model-independence of PFI makes it suitable for stacked integration models, avoiding algorithmic idiosyncratic biases based on the number of tree model splits, etc.; at the same time, combining it with univariate analysis mitigates the underestimation of importance of multi-covariate features.
In terms of local interpretation, to assess the importance of local features, we used the iBreakDown package and Shapley Additive Explanations (SHAP) within the mlr3 framework. The feature contributions of one randomly selected patient without lower limb thrombosis and one with lower limb thrombosis were quantified using the break_down function, while SHAP values were calculated to assess marginal feature impact.
This dual approach ensured reliable and interpretable insight into the model decision-making process.
Results
Participant characteristics and univariate analysis
The clinical characteristics of the 335 patients are summarized in Table 1. Figure 2 illustrates the surgical indications, types of surgery, and their respective percentages among 335 patients who underwent laparoscopic procedures. This cohort encompassed a diverse spectrum of surgical indications, encompassing most common laparoscopic procedures. Hepatobiliary and pancreatic surgeries were most frequent, with patients presenting with gallstones and cholecystitis comprising the largest proportion (60.299%) (Figure 2A). Concurrently, laparoscopic cholecystectomy emerged as the most prevalent surgical intervention within this study population, accounting for 69.254% of all procedures (Figure 2B). Univariate analysis revealed no statistically significant differences between the two groups in terms of gender, prothrombin percentage activity, body weight, height, PT, fibrinogen, TT, white blood cell count, absolute neutrophil count, absolute lymphocyte count, mean corpuscular hemoglobin, platelet count, globulin, total bilirubin, direct bilirubin, indirect bilirubin, glucose, urea, or C-reactive protein (P > 0.05; Table 2). However, age, tumor history, hemoglobin, red blood cell count, preoperative blood pressure, duration of surgery, APTT, D-dimer, total protein, albumin, and calcium were found to be significantly different between the two groups (P < 0.05; Table 2). The mean age of patients who developed LEDVT after laparoscopy was significantly higher compared to those who did not develop LEDVT after surgery (70.788 ± 10.939 vs. 56.563 ± 14.828, P < 0.05). Furthermore, the surgical duration was significantly longer in the group that subsequently developed LEDVT compared to the group that did not experience LEDVT postoperatively. [175 (120,287) vs. 60 (50.25, 98.75), P < 0.05]. The proportion of patients with a history of tumors was much higher in the group that developed LEDVT than in the group that did not develop LEDVT (P < 0.05; Table 2). To build our ML model, we considered only features that showed statistically significant differences (p < 0.05) between the groups being compared.

Figure 2. Indications and types of surgery and their percentage in 335 patients who underwent laparoscopic surgery. (A) Indications for surgery and their percentage in 335 patients undergoing laparoscopic surgery. (B) Type of surgery and its percentage in 335 patients who underwent laparoscopic surgery.
Construction of the ML model
Our construction for the ML model is based on the mlr3 package for R and uses 20 algorithms (including recursive partitioning and regression trees (RPART), random forest, AdaBoost. M1, C5.0 Decision Tree Algorithm, Instance-Based k-NN (IBK), XGBoost, Quadratic Discriminant Analysis (QDA), Naive Bayes, Logistic Regression, GLMNET, JRIP, (LMT), Bayesian Additive Regression Trees (BART), Kernel K-Nearest Neighbors (KKNN), Support Vector Machine (SVM), Light Gradient Boosting Machine (LightGBM), One Rule (OneR), Partial Least Squares Locally Mapped Trees Regression (PART), Extremely Randomized Trees (EARTH), Gradient Boosting Machine (GBM) to benchmark the meaningful features extracted above. To evaluate model performance, we employed a comprehensive suite of ML metrics, including the ACC, AUROC, AUPRC, CE, F1 score, FDR, FNR, FPR, TPR, and TNR (Table 3). Our evaluation metrics, including ACC, AUPRC, and AUROC, indicate that algorithms such as BART, GLMNET, KKNN, LMT, logistic regression, and SVM achieve higher accuracy. Conversely, naive Bayes and QDA performed less favorably in terms of accuracy (Figures 3A–C). Algorithms such as BART, GLMNET, KKNN, LMT, logistic regression, and SVM demonstrated high accuracy (low classification error rate) when evaluated using the CE metric (Figure 3D). From an initial evaluation of 20 algorithms, we narrowed the selection to the five with the strongest overall performance: BART, GLMNET, KKNN, LMT, and SVM. We then employed the stacking method to create the final model. The final stacked model had a value of 0.6154 for sensitivity and a value of 0.9917 for specificity. The model had good predictive value for the occurrence of deep vein thrombosis in patients after laparoscopy, with an AUROC of 0.9476, which was better than that of the Caprini score (p = 0.0421; Figure 4). Meanwhile, we additionally selected 114 patients for external validation, and the results showed that the ROC of validation set for the LASDVT model was 0.9293 and the AUPRC was 0.6497. The effect of the LASDVT model was statistically different (delong test, p = 0.0047; Figure 5) and superior to the Caprini score. Our results show that our model shows good generalization ability and robustness both in internal and external data.

Figure 3. Performance comparison of 20 machine learning algorithms using various metrics. (A-D). The results of evaluation methods such as accuracy, AUPRC, AUROC, and classification error. QDA, quadratic discriminant analysis; EARTH, extremely randomized trees; RPART, recursive partitioning and regression trees; GBM, gradient boosting machine; IBK, instance-based k-NN; LightGBM, light gradient boosting machine; PART, partial least squares regression; BART, Bayesian additive regression trees; AUPRC, area under the precision-recall curve; AUROC, area under the receiver operating characteristic curve.

Figure 4. Performance demonstration of the LASDVT model. (A) The results of the comparison of the ROC curves for both the Caprini score and the LASDVT model. (B) Scoring results of the LASDVT model under several evaluation metrics. LASDVT, laparoscopic abdominal surgery deep vein thrombosis model; AUROC, area under the receiver operating characteristic curve; TNR, true negative rate; FNR, false negative rate; AUPRC, area under the precision-recall curve; ACC, accuracy; AUROC, area under the receiver operating characteristic curve.

Figure 5. Performance demonstration of the LASDVT model. (A) The results of the comparison of the ROC curves for both the Caprini score and the LASDVT model. (B) the AUPRC of validation set for the LASDVT model. AUPRC, area under the precision-recall curve; ROC, area under the receiver operating characteristic curve.
Interpretation of the model
Global interpretation
This refers to understanding the overall behavior of the model and its predictions across the entire dataset. According to our model, the most important features influencing the predictions, ranked by their importance, were tumor history, age, time to surgery, D-dimer level, and hemoglobin level (Figure 6).

Figure 6. A global interpretation of the LASDVT model. The five most important features in the LASDVT model were tumor history, age, time to surgery, D-dimer level, and hemoglobin level. APTT: activated partial thromboplastin time.
Local interpretation
Refers to understanding the contribution of individual features to the model's predictions for a specific instance (sample). We randomly selected two patients (one who developed DVT after laparoscopy and the other who did not develop DVT after laparoscopy). We applied two common localized interpretation methods—decomposition interpretation and Shapley additive explanation (SHAP)—to each of the two patients' data. The results are as follows:
The breakdown plot (Figures 7A,B) deconstructs the model's predictions by visualizing the influence of each variable and its relative contribution. It achieves this by assigning an importance score to each variable, with the sum of these scores closely approximating the overall prediction. The breakdown charts visualize the contribution of each variable to the prediction. In this study, we investigated the relationships between various factors, including age, tumor history, hemoglobin, red blood cell count, preoperative blood pressure, duration of surgery, APTT, D-dimer, total protein, albumin, and calcium, and the likelihood of developing DVT after laparoscopy. We employed decomposition analysis to interpret these relationships, and the results are presented in a clear and informative breakdown chart. In patients who developed deep vein thrombosis after laparoscopy, study variables such as tumor history, age, red blood cell count, blood pressure, D-dimer, hemoglobin, APTT, duration of surgery, albumin, and total protein were predictive of the development of deep vein thrombosis after laparoscopy. The three strongest predictors were time to surgery, patient age, and tumor history. In this patient who did not develop DVT after laparoscopy, the 3 study variables that had a better predictive effect for excluding the development of DVT after laparoscopy were tumor history, hemoglobin, and age.

Figure 7. A local interpretation of the LASDVT model. (A) Decompositional interpretation of factors that can predict the development of deep vein thrombosis in patients after laparoscopy. (B) Decomposition interpretation of factors that can exclude the possibility of deep vein thrombosis in patients after laparoscopy. (C) Shapley additive interpretation of factors that can predict the development of deep vein thrombosis in patients after laparoscopy. (D) Shapley additive interpretation of factors that can rule out the possibility of deep vein thrombosis in patients after laparoscopy. APTT, activated partial thromboplastin time. DVT, deep venous thrombosis.
SHAP leverages Shapley values, a game theory concept, to quantify the individual contribution of each feature to a model's predictions. We applied Shapley's method of additive interpretation to study variables such as age, tumor history, hemoglobin, red blood cell count, preoperative blood pressure, duration of surgery, APTT, D-dimer, total protein, albumin, and calcium that can predict the likelihood of DVT in patients after laparoscopy and drew the following conclusions (Figures 7C,D). We found that three study variables, namely, tumor history, age, and duration of surgery, were effective in predicting and excluding the occurrence of deep vein thrombosis after laparoscopy.
Discussion
Artificial Intelligence (AI) is rapidly transforming healthcare, revolutionizing traditional practices. AI applications in medicine not only enhance diagnostic accuracy but also significantly improve healthcare efficiency and provide a superior patient experience. Chronic complications of DVT include post thrombotic syndrome (25%-38%) and venous ulceration (9.8%). Pulmonary embolism (6%-32%), a more acute complication, can be fatal in 5%-10% of patients. Less common complications include chronic thromboembolic pulmonary hypertension, sudden death, and limb loss (22). Early and accurate prediction of DVT is critical because it can significantly impact patients' quality of life and even pose a life-threatening risk. Currently, the diagnosis and prediction of LEDVT primarily rely on scoring systems such as the Caprini and Padua scores, along with laboratory tests and ultrasonography (18). However, their predictive effectiveness in laparoscopic surgery remains uncertain (19, 20).
Artificial Intelligence (AI) encompasses a variety of technologies that share the common goal of computationally simulating human intelligence. Machine Learning (ML) is a branch of AI that focuses on making predictions by using mathematical algorithms to identify patterns in data (23). ML is a rapidly growing field in medicine, with significant research efforts focused on applying its capabilities to address medical challenges (24). ML in medicine can lead to more accurate diagnostic algorithms and personalized patient care (25, 26). Stacked ensemble methods are a type of ML approach that combines multiple classifier models in a hierarchical structure (27, 28). In ML, stacking can be employed as an ensemble method to address both model errors and dataset biases (29). Stacked integrated learning (SEL) is an algorithmic structure that consists of multiple levels of ML algorithms (27, 30). This type of ML produces more reliable models (29).
The model had good predictive value for the occurrence of DVT in patients after laparoscopy, with an AUROC of 0.9476. The model had good composite performance. This model outperformed the Caprini score in predicting the incidence of deep vein thrombosis. The model we constructed demonstrates a higher probability of accurately predicting or excluding the risk of postoperative VTE in patients undergoing abdominal surgery, thus offering a potential improvement over existing VTE prediction tools. Lee Hwangbo (29) et al. developed a mortality prediction model for acute ischemic stroke patients who did not receive reperfusion therapy; this model used a stacked integrated learning model with an AUROC of 0.783 for 6-month mortality prediction, which is a better supplement to the clinical methods for predicting mortality in acute ischemic stroke patients. The ML models developed by Tao Yu (31) et al. accurately predict post thrombotic syndrome (PTS). This approach demonstrates strong predictive ability and generalizability, potentially allowing clinicians to better select patients for endovascular surgery. Hua Liu (32) et al. built and externally validated a novel ML model to predict venous thromboembolism (VTE) in hospitalized young and middle-aged patients. Five algorithms (logistic regression, decision tree, feed-forward neural network, support vector machine, and random forest) were employed to train and refine the model. The support vector machine model performed the best, with 95% CI AUC values of 0.806∼0.944, a sensitivity of 59%, a specificity of 99%, and an accuracy of 87%. The risk of venous thromboembolism can be accurately predicted using a support vector machine model with a clinical dataset of young and middle-aged hospitalized patients. Our model leverages a stacking approach, screening the top 5 basic models from 20 candidates for integration. This integrated model can effectively predict the risk of DVT after laparoscopic surgery for abdominal surgery and can serve as a good guide to the clinic. Our study revealed that patients who developed DVT after laparoscopic surgery were older, on average, than those who remained DVT-free postoperatively. This age difference may be attributed to factors such as increased vascular intima roughness, intimal damage, procoagulant production, and a greater incidence of comorbidities such as cardiovascular disease and tumors in older individuals (33). In addition, patients with malignant tumors often exhibit low fibrinolytic capacity and hyperfibrinogenemia. Tumors may secrete both procoagulant substances, which promote platelet aggregation and release, and inhibitors of fibrinolytic activity, leading to a hypercoagulable state in the body. Certain chemotherapeutic drugs can cause deficiencies in protein C, protein S, and antithrombin, increasing the risk of blood clots (deep vein thrombosis or DVT). Additionally, compression of blood vessels by tumors, prolonged bed rest, and other factors can also promote DVT formation (34). Our findings also revealed that a higher percentage of patients in the postoperative DVT group than in the group without postoperative DVT had a history of tumors. Patients who developed postoperative DVT had higher preoperative blood pressure readings compared to those who did not develop DVT. Previous studies have shown that high blood pressure leads to faster blood flow and increased shear stress, which damages venous endothelial cells and increases the likelihood of releasing procoagulant factors; high blood pressure leads to increased blood viscosity, red blood cell aggregation, and platelet activation, which increase the risk of thrombosis. Patients who developed postoperative DVT underwent significantly longer surgeries compared to those who did not develop DVT. While laparoscopic surgery offers a significant advantage over open surgery in terms of reduced operative time, patients are still required to remain in a supine or sitting position for extended periods. This can lead to slower blood flow in the lower extremities, increasing the risk of blood stasis. Stasis, in turn, promotes platelet aggregation and thrombosis. Additionally, surgical trauma itself activates the coagulation cascade, further contributing to a hypercoagulable state. Furthermore, intraoperative vascular injury and prolonged use of carbon dioxide pneumoperitoneum during laparoscopy have been associated with an increased risk of DVT (35, 36). Our findings align with our existing DVT diagnostic approach, as D-dimer levels were significantly elevated in the postoperative DVT group compared to the control group, while APTT was conversely lower in the DVT group (37). Previous studies have rarely reported that both total protein and albumin levels are lower in patients who develop postoperative DVT compared to those who do not. This finding might be partially explained by the link between hypoalbuminemia and decreased colloid osmotic pressure. This pressure drop leads to fluid movement from the intravascular space to the extravascular space, causing tissue edema. Consequently, it may contribute to blood flow stasis and heighten the risk of DVT. Although our model outperforms the widely used Caprini score in clinical practice, it still has several limitations. First, this was a single-center study at Wenzhou Central Hospital, limiting the generalizability of the findings to other institutions. Future studies should involve multiple centers for a more representative sample. Second, the sample size was relatively small, which might impact certain statistical analyses and the generalizability of the results. Third, the study focused on several abdominal surgery-related diseases, limiting the generalizability of the findings to other disease types. While this focus provided a more targeted investigation, it is essential to acknowledge this limitation in future applications. We collected and reviewed clinical charts and related data of patients who underwent laparoscopic surgery from January 3, 2023, to December 19, 2023, in the hepatobiliary surgery department at our hospital. This is only the case data of hepatobiliary surgery in general surgery in our hospital, but it basically covers the basic diseases in general abdominal surgery, and we have performed external validation of the model. We will incorporate more samples and even multicenter data to further improve our model in order to translate the results to better serve research and clinical work.
Fourth, the model relied solely on clinical data, including laboratory tests and vital signs, neglecting other potentially contributing factors, such as environmental and genetic elements. Fifth, the marked disparity in sample sizes between the observation group (postoperative DVT, n = 33) and control group (non-DVT, n = 302) indeed constitutes a critical methodological consideration. While we implemented ensemble learning techniques (e.g., stacked generalization) to enhance model robustness, we fully acknowledge that the inherent class imbalance may have introduced predictive bias toward the majority class, potentially impacting sensitivity metrics for DVT detection.
Notably, our external validation cohort (n = 114) demonstrated preserved discriminative capacity (AUROC = 0.9293), suggesting reasonable generalizability within the current sample constraints. However, we concur that the limited representation of DVT-positive cases and the absence of explicit balancing strategies (e.g., SMOTE, class-weighted learning) represent study limitations. These factors may affect model performance in clinical scenarios with higher DVT prevalence. Future studies could further enhance the clinical application value of the model by introducing more advanced balancing techniques or expanding the multicenter sample size, especially by increasing the proportion of DVT-positive cases. Additionally, as a retrospective study, the selection of cases and controls might introduce selection bias.
Conclusion
This study constructed an integrated ML model that utilizes both preoperative and intraoperative data to predict the occurrence of DVT in patients undergoing laparoscopic abdominal surgery. Our model outperforms the Caprini score in predicting DVT occurrence. Future validation in larger centers and diverse populations can establish its broader application, allowing healthcare professionals to more effectively identify potential DVT cases and improve patient outcomes. Subsequent translation of the results can be further enhanced by interdisciplinary collaboration, such as with computer scientists, to develop specialized software that optimizes clinical diagnosis and treatment.
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Ethics statement
The studies involving humans were approved by the Institutional Review Board of Wenzhou Central Hospital (202402192124000497228). The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants' legal guardians/next of kin in accordance with the national legislation and institutional requirements. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.
Author contributions
S-ZY: Writing – original draft. M-HP: Writing – original draft. QL: Data curation, Writing – original draft. S-WG: Formal analysis, Validation, Writing – original draft. K-LZ: Data curation, Writing – original draft. H-BY: Methodology, Supervision, Writing – review & editing.
Funding
The author(s) declare that financial support was received for the research and/or publication of this article. This study was supported by the Basic Public Welfare Research Project of Wenzhou City (Y20180368).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declare that no Generative AI was used in the creation of this manuscript.
Publisher's note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fsurg.2025.1502944/full#supplementary-material
Supplementary Table S1 | Type of surgery and its percentage for 335 patients.
Supplementary Table S2 | Indications for surgery and their percentage in 335 patients.
Supplementary Table S3 | Baseline information for 114 patients.
Abbreviations
DVT, deep vein thrombosis; LEDVT, lower extremity deep vein thrombosis; PT, prothrombin time; TT, fibrinogen, thrombin time; APTT, activated partial thromboplastin time; CRPC-reactive protein; LASDVT, laparoscopic abdominal surgery deep vein thrombosis; ML, machine learning; CE, classification error; FDR, false discovery rate; FNR, false negative rate; FPR, false positive rate; TPRprecision, true positive rate; TNR, true negative rate; RPART, partitioning and regression trees; QDA, quadratic discriminant analysis; IBK, instance-based k-NN; BART, Bayesian additive regression trees; KKNN, Kernel K-nearest neighbors; SVM, support vector machine; LightGBM, light gradient boosting machine; OneR, one rule; PART, partial least squares locally mapped trees regression; EARTH, extremely randomized trees; GBM, gradient boosting machine; PTS, post thrombotic syndrome; VTE, venous thromboembolism.
References
1. Scheib SA, Tanner E, Green IC, Fader AN. Laparoscopy in the morbidly obese: physiologic considerations and surgical techniques to optimize success. J Minim Invasive Gynecol. (2014) 21:182–95. doi: 10.1016/j.jmig.2013.09.009
2. Kasai M, Cipriani F, Gayet B, Aldrighetti L, Ratti F, Sarmiento JM, et al. Laparoscopic versus open major hepatectomy: a systematic review and meta-analysis of individual patient data. Surgery. (2018) 163:985–95. doi: 10.1016/j.surg.2018.01.020
3. Medeiros LR, Stein AT, Fachel J, Garry R, Furness S. Laparoscopy versus laparotomy for benign ovarian tumor: a systematic review and meta-analysis. Int J Gynecol Cancer. (2008) 18:387–99. doi: 10.1111/j.1525-1438.2007.01045.x
4. Zhang Y, Fan S, Xiang Y, Duan H, Sun L. Comparison of the prognosis and recurrence of apparent early-stage ovarian tumors treated with laparoscopy and laparotomy: a meta-analysis of clinical studies. BMC Cancer. (2015) 15:597. doi: 10.1186/s12885-015-1604-3
5. Galaal K, Donkers H, Bryant A, Lopes AD. Laparoscopy versus laparotomy for the management of early stage endometrial cancer. Cochrane Database Syst Rev. (2018) 10(10):CD006655. doi: 10.1002/14651858.CD006655.pub3
6. Lancellotti F, Patel A, Coletta D, de Liguori-Carino N, Satyadas T, Barrie J, et al. Minimally invasive pancreatoduodenectomy is associated with a higher incidence of postoperative venous thromboembolism when compared to the open approach: a systematic review and meta-analysis. Eur J Surg Oncol. (2024) 50:108314. doi: 10.1016/j.ejso.2024.108314
7. Hue JJ, Elshami M, Beckman MJ, Driedger MR, Rothermel LD, Hardacre JM, et al. A propensity-matched analysis of the postoperative venous thromboembolism rate after pancreatoduodenectomy based on operative approach. J Gastrointest Surg. (2022) 26:623–34. doi: 10.1007/s11605-021-05191-y
8. Balfour A, Amery J, Burch J, Smid-Nanninga H. Enhanced recovery after surgery (ERAS®): barriers and solutions for nurses. Asia Pac J Oncol Nurs. (2022) 9:100040. doi: 10.1016/j.apjon.2022.02.002
9. Li T. Complications of laparoscopic pelvic surgery: recognition, management and prevention. Hum Reprod Update. (1997) 3:505–15. doi: 10.1093/humupd/3.5.505
10. Gutzeit O, Lauterbach R, Loberman Z, Sachner R, Karram T, Lowenstein L. Laparoscopic sacrocolpopexy complication: ilio-femoral deep vein thrombosis. Eur J Obstet Gynecol Reprod Biol. (2020) 247:270–1. doi: 10.1016/j.ejogrb.2020.02.040
11. Hui Y, Zhao S, Gu J, Hang C. Analysis of factors related to fertility after endometriosis combined with infertility laparoscopic surgery. Medicine (Baltimore). (2020) 99:e20132. doi: 10.1097/MD.0000000000020132
12. Kaya AC, Radosa MP, Zimmermann JSM, Stotz L, Findeklee S, Hamza A, et al. Intraoperative and postoperative complications of gynecological laparoscopic interventions: incidence and risk factors. Arch Gynecol Obstet. (2021) 304:1259–69. doi: 10.1007/s00404-021-06192-7
13. Lancellotti F, Coletta D, de'Liguori Carino N, Satyadas T, Jegatheeswaran S, Maruccio M, et al. Venous thromboembolism (VTE) after open hepatectomy compared to minimally invasive liver resection: a systematic review and meta-analysis. HPB (Oxford). (2023) 25:872–80. doi: 10.1016/j.hpb.2023.04.012
14. Xourafas D, Pawlik TM, Cloyd JM. Early morbidity and mortality after minimally invasive liver resection for hepatocellular carcinoma: a propensity-score matched comparison with open resection. J Gastrointest Surg. (2019) 23:1435–42. doi: 10.1007/s11605-018-4016-2
15. Hue JJ, Katayama E, Markt SC, Rothermel LD, Hardacre JM, Ammori JB, et al. Association between operative approach and venous thromboembolism rate following hepatectomy: a propensity-matched analysis. J Gastrointest Surg. (2021) 25:2778–87. doi: 10.1007/s11605-020-04887-x
16. Han S, Yang B, Feng Y, Zhao L, Feng Q, Guan H, et al. The correlation between FGB promoter polymorphism and clotting function in patients with idiopathic lower extremity deep venous thrombosis. Clin Appl Thromb Hemost. (2021) 27:107602962096710. doi: 10.1177/1076029620967108
17. Moragón-Ledesma S, Galeano-Valle F, Calleja-Cartón E, Del-Toro-Cervera J, Demelo-Rodríguez P. Bilateral deep vein thrombosis, vena Cava agenesis, and renal abnormalities: KILT syndrome—a case report and literature review. J Cardiovasc Transl Res. (2019) 13:629–31. doi: 10.1007/s12265-019-09935-9
18. Willan J, Katz H, Keeling D. The use of artificial neural network analysis can improve the risk-stratification of patients presenting with suspected deep vein thrombosis. Br J Haematol. (2019) 185:289–96. doi: 10.1111/bjh.15780
19. Lu X, Zeng W, Zhu L, Liu L, Du F, Yang Q. Application of the caprini risk assessment model for deep vein thrombosis among patients undergoing laparoscopic surgery for colorectal cancer. Medicine (Baltimore). (2021) 100:e24479. doi: 10.1097/MD.0000000000024479
20. Yang Y, Wang X, Huang Y, Chen N, Shi J, Chen T. Ontology-based venous thromboembolism risk assessment model developing from medical records. BMC Med Inform Decis Mak. (2019) 19(Suppl 4):151. doi: 10.1186/s12911-019-0856-2
21. Xu J-X, Dong J, Ren H, Chen X-J, Yang Y, Chen R-X, et al. Incidence and risk assessment of venous thromboembolism in cancer patients admitted to intensive care unit for postoperative care. J BUON. (2018) 23:248–54.29552792
22. Stubbs MJ, Mouyis M, Thomas M. Deep vein thrombosis. Br Med J. (2018) 360:k351. doi: 10.1136/bmj.k351
24. Handelman GS, Kok HK, Chandra RV, Razavi AH, Lee MJ, Asadi H. Edoctor: machine learning and the future of medicine. J Intern Med. (2018) 284:603–19. doi: 10.1111/joim.12822
25. Weiss J, Kuusisto F, Boyd K, Liu J, Page D. Machine learning for treatment assignment: improving individualized risk attribution. AMIA Annu Symp Proc. (2015) 2015:1306–15.26958271
26. Weiss JC, Page D, Peissig PL, Natarajan S, McCarty C. Statistical relational learning to predict primary myocardial infarction from electronic health records. Proc Innov Appl Artif Intell Conf. (2012) 2012:2341–7.25360347
27. Wolpert DH. Stacked generalization. Neural Netw. (1992) 5:241–59. doi: 10.1016/S0893-6080(05)80023-1
28. Divina F, Gilson A, Gómez-Vela FA, Torres MG, Torres JF. Stacking ensemble learning for short-term electricity consumption forecasting. Energies. (2018) 11:949. doi: 10.3390/en11040949
29. Hwangbo L, Kang YJ, Kwon H, Lee JI, Cho H-J, Ko J-K, et al. Stacking ensemble learning model to predict 6-month mortality in ischemic stroke patients. Sci Rep. (2022) 12(1):17389. doi: 10.1038/s41598-022-22323-9
30. Jin L-P, Dong J. Ensemble deep learning for biomedical time series classification. Comput Intell Neurosci. (2016) 2016:1–13. doi: 10.1155/2016/6212684
31. Yu T, Shen R, You G, Lv L, Kang S, Wang X, et al. Machine learning-based prediction of the post-thrombotic syndrome: model development and validation study. Front Cardiovasc Med. (2022) 9:990788. doi: 10.3389/fcvm.2022.990788
32. Liu H, Yuan H, Wang Y, Huang W, Xue H, Zhang X. Prediction of venous thromboembolism with machine learning techniques in young-middle-aged inpatients. Sci Rep. (2021) 11(1):12868. doi: 10.1038/s41598-021-92287-9
33. Oger E, Leroyer C, Le Moigne E, Pomey M-P, Bressollette L, Clavier J, et al. The value of a risk factor analysis in clinically suspected deep venous thrombosis. Respiration. (1997) 64:326–30. doi: 10.1159/000196699
34. Young A, Chapman O, Connor C, Poole C, Rose P, Kakkar AK. Thrombosis and cancer. Nat Rev Clin Oncol. (2012) 9:437–49. doi: 10.1038/nrclinonc.2012.106
35. Stone J, Hangge P, Albadawi H, Wallace A, Shamoun F, Knuttien MG, et al. Deep vein thrombosis: pathogenesis, diagnosis, and medical management. Cardiovasc Diagn Ther. (2017) 7:S276–84. doi: 10.21037/cdt.2017.09.01
36. Holzheimer RG. Laparoscopic procedures as a risk factor of deep venous thrombosis, superficial ascending thrombophlebitis and pulmonary embolism–case report and review of the literature. Eur J Med Res. (2004) 9:417–22.15546806
Keywords: artificial intelligence, nursing diagnosis, postoperative care, clinical supervision, laparoscopic surgery, deep vein thrombosis
Citation: Yang S-Z, Peng M-H, Lin Q, Guan S-W, Zhang K-L and Yu H-B (2025) A machine learning-based predictive model for the occurrence of lower extremity deep vein thrombosis after laparoscopic surgery in abdominal surgery. Front. Surg. 12:1502944. doi: 10.3389/fsurg.2025.1502944
Received: 27 September 2024; Accepted: 14 May 2025;
Published: 30 May 2025.
Edited by:
Federica Perelli, Azienda USL Toscana Centro, ItalyReviewed by:
Eugenia Yiannakopoulou, University of West Attica, GreeceEric Munger, United States Department of Veterans Affairs, United States
Soukaina Amniouel, National Center for Advancing Translational Sciences (NIH), United States
Copyright: © 2025 Yang, Peng, Lin, Guan, Zhang and Yu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Hai-Bo Yu, emp1Ym9ieUB6dWFhLnpqdS5lZHUuY24=
†These authors have contributed equally to this work and share first authorship