Construction and Validation of a Prediction Model for Time to Flatus Discharge Following Elective Gynecologic Laparoscopic Surgery

Jie Zhang , Zhimin Li , Xiao Shen , Wei Li

Clinical and Experimental Obstetrics & Gynecology ›› 2026, Vol. 53 ›› Issue (8) : 47650

PDF (2490KB)
Clinical and Experimental Obstetrics & Gynecology ›› 2026, Vol. 53 ›› Issue (8) :47650 DOI: 10.31083/CEOG47650
Original Research
research-article
Construction and Validation of a Prediction Model for Time to Flatus Discharge Following Elective Gynecologic Laparoscopic Surgery
Author information +
History +
PDF (2490KB)

Abstract

Background:

Postoperative intestinal distension in patients undergoing gynecologic laparoscopic surgery may impair wound healing and restrict respiratory function and mobility, potentially leading to serious complications. Reports on factors influencing flatus discharge after gynecologic laparoscopic surgery are limited, and no prediction model for delayed flatus discharge within 24 hours postoperatively has been previously described in this population. This study addresses this gap and provides a nomogram for clinical prediction of this outcome.

Methods:

Using R version 4.3.3, 70% of the samples were randomly selected using the caret package as the training set for model development, with the remaining 30% retained as the validation set for internal validation. Least absolute shrinkage and selection operator (LASSO) regression was applied for variable selection, and the retained variables were incorporated into a multivariable logistic regression model. A nomogram was constructed and validated using receiver operating characteristic (ROC) curves and calibration curves. Decision curve analysis (DCA) was performed to assess clinical applicability.

Results:

A total of 194 patients with complete data were included in the analysis, of whom 74 (38.1%) failed to pass flatus within 24 hours of surgery. Five predictive variables were identified through LASSO regression: analgesic pump usage, postoperative anxiety, early in-bed activity, surgical duration, and postoperative serum potassium level. These five variables were integrated into a nomogram to intuitively predict the risk probability for delayed flatus discharge beyond 24 hours after surgery. The model demonstrated good discriminative performance, with an area under the curve (AUC) of 0.866 (95% confidence interval [CI]: 0.806–0.926) in the training set and 0.812 (95% CI: 0.702–0.922) in the validation set. Calibration curves demonstrated good consistency between predicted and observed values. Clinical DCA indicated a high net clinical benefit across threshold probabilities ranging from 0 to 0.75.

Conclusions:

The constructed nomogram demonstrates good discrimination, calibration, and clinical applicability for predicting the risk of delayed flatus discharge beyond 24 hours following gynecologic laparoscopic surgery. This tool facilitated individualized risk assessment, informed clinical decision-making, and supported proactive management of high-risk populations.

Graphical abstract

Keywords

laparoscopy / flatus / nomograms / prediction model

Cite this article

Download citation ▾
Jie Zhang, Zhimin Li, Xiao Shen, Wei Li. Construction and Validation of a Prediction Model for Time to Flatus Discharge Following Elective Gynecologic Laparoscopic Surgery. Clinical and Experimental Obstetrics & Gynecology, 2026, 53 (8) : 47650 DOI:10.31083/CEOG47650

登录浏览全文

4963

注册一个新账户 忘记密码

1. Introduction

At present, gynecologic laparoscopic surgery has been widely adopted in the management of gynecologic conditions [1]. However, patients frequently experience postoperative gastrointestinal complications such as abdominal distension, constipation, and delayed flatus discharge following laparoscopic surgery [2]. These gastrointestinal complications may impair wound healing, restrict respiratory function and mobility, and potentially lead to serious complications such as lower extremity venous thromboembolism [3]. Time to flatus discharge serves as a critical indicator of early postoperative intestinal motility recovery [4]. Despite its clinical importance, research on factors influencing delayed flatus discharge after gynecologic laparoscopic surgery remains limited. More critically, no validated predictive model exists to identify patients at high risk of failing to pass flatus within 24 hours postoperatively. To address this gap, the present study developed a visualized nomogram model [5,6] to predict the probability of delayed flatus discharge beyond 24 hours following gynecologic laparoscopic surgery, thereby providing a theoretical basis for lowering the incidence of postoperative gastrointestinal complications.

2. Materials and Methods

2.1 Study Design and Participants

This was a cross-sectional observational study. The study participants consisted of 194 patients who underwent gynecologic laparoscopic surgery at the Jiading Branch of Shanghai General Hospital, Shanghai, China, between February 1, 2023, and April 30, 2024. Data were collected at a single time point during the perioperative period. Inclusion criteria were as follows: ① age 18 to 65 years old, with a diagnosis of uterine fibroids, ovarian cysts, infertility, or endometriosis and scheduled for laparoscopic surgery; and ② ability to read and write and to complete the study questionnaire independently. Exclusion criteria were: ① severe systemic complications before surgery (e.g., severe anemia or hemodynamic instability); ② ectopic pregnancy; ③ emergency surgery; ④ postoperative pathology confirming malignancy; ⑤ conversion from laparoscopic to open surgery; ⑥ intraoperative adverse events (e.g., intestinal or urinary tract injury); and ⑦ history of mental illness. This study was approved by the Ethics Committee of Jiading Branch of Shanghai General Hospital, Shanghai, China (Approval No.: [2025] 023).

2.2 Study Variables

A total of 15 variables were selected for analysis. These variables were: patient age, body mass index (BMI), history of hypertension and diabetes, postoperative eating status (defined as early eating within 6–12 hours after surgery, or delayed eating if initiated more than 12 hours after surgery), preoperative oral bowel preparation with compound polyethylene glycol electrolyte powder (I) (Jiangxi Hengkang Pharmaceutical Co., Ltd., Shangrao, Jiangxi, China), postoperative analgesic pump usage (containing sufentanil plus esketamine), early in-bed activity (defined as initiation of in-bed activity within 2 hours after surgery; coded as 1 for activity initiated ≤2 hours postoperatively, and 0 for >2 hours), time to first ambulation, preoperative and postoperative serum albumin and potassium levels, and time to urinary catheter removal after return to the ward. The dependent variable was defined as whether passage of flatus occurred within 24 hours of gynecologic laparoscopic surgery (0 = occurrence; 1 = non-occurrence).

2.3 Psychological Assessment Tools

Postoperative anxiety was assessed using the Self-Rating Anxiety Scale (SAS), developed originally by Zung et al. [7], with its scoring and application informed by previous studies [8,9]. The SAS comprises 20 items evaluating the frequency of anxiety symptom occurrence. Among them, 15 items are positively worded and scored directly based on symptom frequency (occasional/absent = 1 point, sometimes = 2 points, often = 3 points, persistent = 4 points), while the remaining 5 items are reverse-scored (occasional/absent = 4 points, sometimes = 3 points, often = 2 points, persistent = 1 point). The initial total score is calculated by summing all item scores and then multiplying by 1.25 to derive the standardized score (ranging from 25 to 100). A standardized score of ≥50 indicates the presence of anxiety, with higher scores reflecting greater anxiety levels. The Cronbach’s α coefficient for this scale was 0.862 [10].

2.4 Statistical Analysis

All statistical analyses and graph generation were performed using R software (Version 4.3.3; R Foundation for Statistical Computing, Vienna, Austria). Baseline tables were constructed using the CBCgrps package. Normally distributed continuous variables are presented as mean ± standard deviation (SD) and were compared using the independent samples t-test. Non-normally distributed continuous variables were analyzed using the Mann-Whitney U test and are expressed as median [interquartile range, Q1, Q3]. Categorical variables meeting the assumptions of the chi-square test were analyzed accordingly and are presented as frequencies and percentages. Categorical variables not meeting these criteria were analyzed using Fisher’s exact test, with the results expressed as frequencies and percentages. Results of all intergroup comparisons are presented as p-values.

Variables with a missing data rate exceeding 20% were directly excluded, while those with a missing rate below 20% underwent missing value imputation. The caret package was used to randomly select 70% of the cases as the training set for establishing the risk prediction model, with the remaining cases assigned to the validation set for internal model validation. Variable selection was based on the least absolute shrinkage and selection operator (LASSO) regression. Prior to analysis, continuous variables included in the LASSO regression were standardized using the min-max normalization method [11]. LASSO regression was implemented via the glmnet package with nfolds set to 10. The optimal number of variables was determined as that corresponding to the one-standard-error-away criterion, and the relevant variables were thus screened out.

The rms package was used to construct the logistic regression model. Variables incorporated into the logistic regression were selected for inclusion based on LASSO regression results, with nonsignificant variables subsequently excluded to refine the model. Variance inflation factor (VIF) values were calculated using the car package. Calibration curves of the prediction model, which were plotted using the rms package. The ResourceSelection package was used to perform the Hosmer-Lemeshow goodness-of-fit test. The pROC and ggplot2 packages were applied to calculate and plot the receiver operating characteristic (ROC) curves, respectively. Additionally, the decision curve of the model was generated using the rmda package in R, with threshold probabilities ranging from 0 to 1 at increments of 0.01, with all other parameters set to their default values in the package. The net benefit was calculated across this range of thresholds by weighting true positives (correctly identified high-risk individuals who would benefit from intervention) against false positives (low-risk individuals unnecessarily subjected to intervention), where the relative harm of an unnecessary intervention compared to the benefit of a true positive is implicitly defined by the selected probability threshold—reflecting the clinical trade-off between benefit and harm.

3. Results

3.1 Patient Characteristics and Clinical Statistical Data

A total of 194 patients were included in the study, among whom 12 (6.2%) exhibited combined hypertension, and 5 (2.6%) had combined diabetes. The median age was 38.0 (33.0, 46.0) years, and the median BMI was 23.4 (21.5, 25.4). All patients were divided into two groups: the group without flatus discharge within 24 hours after gynecologic laparoscopic surgery (74 cases, accounting for 38.1%) and the group with flatus passage within 24 hours postoperatively (120 cases, accounting for 61.9%). The results were presented clearly and intuitively. As shown in Table 1, regarding perioperative interventions, the delayed flatus discharge group had a significantly lower rate of analgesic pump usage (23.0% vs. 44.2%, p = 0.005.) and a markedly higher incidence of postoperative anxiety (94.6% vs. 55.0%, p < 0.001). Early postoperative in-bed activity was significantly lower in this group (24.3% vs. 65.0%, p < 0.001). In terms of postoperative physiological parameters, patients in the delayed flatus discharge group presented with a significantly lower postoperative serum potassium (3.5 [3.2, 3.7] vs. 3.7 [3.4, 3.9] mmol/L, p < 0.001) and longer time to urinary catheter removal (26.0 vs. 20.0 h, p < 0.001). These findings suggest that delayed recovery of postoperative gastrointestinal function may be associated with electrolyte disturbances and restricted ambulation caused by indwelling urinary catheters. However, univariate analysis failed to account for multicollinearity or mutual interference among variables. In contrast, LASSO regression performs comprehensive variable selection based on the global variable set, yielding outcomes with higher clinical value and reliability. To further identify the core predictive factors, all independent variables were entered into the LASSO regression model, which ultimately identified five independent influencing factors (Fig. 1A,B). Moreover, the total cohort was randomly divided into a training set (n = 136) and a validation set (n = 58). No statistically significant differences were observed between the two sets with respect to any of the included variables, as shown in Table 2.

3.2 Risk Factor Identification and Nomogram Construction

Among the 194 patients, 15 potential predictive variables were evaluated. LASSO regression analysis identified 5 variables for inclusion (Fig. 1A,B). These factors included: analgesic pump usage, postoperative anxiety, early postoperative in-bed activity, duration of surgery, and postoperative serum potassium levels. These 5 variables were subsequently included in a multivariate logistic regression analysis, and all 5 were confirmed as independent risk factors for delayed flatus discharge, as shown in Table 3. The independent risk factors identified by the multivariate analysis were included in a nomogram for predicting the probability of delayed flatus discharge within 24 hours following gynecologic laparoscopic surgery (Fig. 2).

3.2.1 Nomogram Validation

ROC curves were plotted using data from the modeling cohort and validation cohort, as shown in Fig. 3A,B. The area under the curve (AUC) for the training set (AUC = 0.866, 95% confidence interval [CI]: 0.806–0.926) and the validation set (AUC = 0.812, 95% CI: 0.702–0.922) were greater than 0.70, indicating good discriminative ability of the nomogram. The calibration performance of the prediction model was evaluated using the Hosmer-Lemeshow goodness-of-fit test. The absence of a statistically significant difference between predicted and actual values (p > 0.05) indicates good calibration of the constructed nomogram (Fig. 4).

3.2.2 Nomogram Clinical Utility Assessment

Decision curve analysis (DCA) exhibited favorable clinical utility for this model (Fig. 5). Across threshold probabilities ranging from 0.0 to 0.75, this nomogram yielded a higher net benefit than the treat-all or treat-none strategies. Therefore, within a certain range, the constructed nomogram presented good clinical utility in predicting delayed flatus discharge within 24 hours after surgery.

4. Discussion

The results of this study show that the incidence of delayed flatus discharge within 24 hours after gynecologic laparoscopic surgery was 38.1%. The independent risk factors identified for this outcome were: postoperative analgesic pump usage, postoperative anxiety, early in-bed activity within 2 hours of return to the ward, surgical duration, and postoperative serum potassium level. A nomogram was constructed based on these 5 risk factors demonstrated an AUC of 0.866, indicating good predictive performance and clinical utility.

The results show that early postoperative in-bed activity can effectively promote the recovery of intestinal peristalsis and facilitate flatus discharge, consistent with the findings of Ni et al. [12], who reported that early in-bed activity can shorten the recovery time of intestinal peristalsis by stimulating the vagus nerve and increasing intestinal blood flow and smooth muscle contractility.

This study identifies postoperative anxiety as a risk factor for delayed flatus discharge, with a significant positive correlation between anxiety level and delayed recovery, consistent with the findings of Li et al. [13]. In this study, the postoperative analgesic pump contained sufentanil combined with esketamine. Although sufentanil is an opioid that may independently contribute to intestinal dysmotility, the present findings found that patient-controlled analgesia (PCA) with this combination was associated with delayed postoperative flatus passage. This phenomenon may be associated with effective postoperative pain and anxiety relief, increased frequency of early ambulation, and enhanced patient confidence in rehabilitation [14], as well as reduced air intake due to pain-related vocalization and improvements in SpO2 and PaO2 [15], collectively promoting rapid postoperative recovery and shortening flatus passage.

Surgical duration was identified as an independent risk factor for delayed flatus discharge, consistent with previously reported findings [16]. Firstly, prolonged laparoscopic surgery requires greater anesthetic exposure, which extends the duration of postoperative ileus [17]. Secondly, longer operative time increases the duration of abdominal surgical manipulation, stimulating catecholamine release, and thereby impairing gastrointestinal function [18], leading to intestinal distension and delaying flatus passage. Thirdly, prolonged surgical duration exacerbates the intraoperative inflammatory response, leading to impaired intestinal motility and delaying the recovery of intestinal peristalsis, thereby increasing the time to flatus. Therefore, minimizing surgical duration may effectively reduce the risk of delayed flatus discharge and promote postoperative recovery.

Postoperative serum potassium: The incidence of serum potassium levels <3.5 mmol/L during the anesthesia recovery period was approximately 43.75% [19]. Hypokalemia reduces intestinal peristalsis activity, resulting in gastrointestinal dysmotility and delayed flatus, manifesting as nausea, vomiting, and abdominal distention, and increasing the risk of serious complications such as intestinal obstruction, all of which are not conducive to postoperative recovery. These findings are consistent with previous reports [20,21]. Therefore, early postoperative assessment of serum potassium levels and timely intervention for hypokalemia may effectively reduce the risk of delayed flatus discharge within 24 hours of surgery.

Clinical application example: To illustrate the practical application of the nomogram, consider the following examples: a 56-year-old patient undergoing laparoscopic surgery with postoperative analgesia pump usage, postoperative anxiety, no in-bed activity within 2 hours of surgery, a 150-minute surgical duration, and a postoperative serum potassium level of 4.0 mmol/L. Based on the assigned scores of each variable in the nomogram, the total score was calculated as the sum of individual predictor scores: 0 + 35 + 40 + 20 + 40 = 135 points. Referring to the total score-to-risk probability scale of the nomogram, a total score of 135 corresponds to a predictive probability of delayed flatus discharge of 21.25% (risk probability = 0.213). Given that the DCA-derived clinical intervention threshold spans 0 to 0.75, this patient falls within the actionable interval, and an individualized intervention plan may be formulated based on clinical practice.

Limitations

This study has several limitations. First, the limited sample may introduce selection bias. Second, the single-center design limits the generalizability of the model. Third, the limited literature on factors affecting postoperative flatus discharge following gynecologic laparoscopy surgery may have resulted in incomplete capture of potential risk factors. Future studies should adopt multicenter, large-sample datasets and conduct external validation to confirm the generalizability and clinical applicability of the model.

5. Conclusions

In summary, nomograms have been widely adopted in predictive risk assessment and early disease diagnosis across multiple clinical fields [22]. Reports on factors influencing flatus discharge after laparoscopic surgery remain limited.

This study not only contributes to the theoretical literature on factors influencing postoperative recovery but also pioneers the construction of a nomogram for predicting the risk of delayed flatus discharge within 24 hours in patients undergoing gynecologic laparoscopic surgery. This tool enables clinicians to rapidly assess the likelihood of delayed flatus passage within 24 hours postoperatively, thereby facilitating early identification of high-risk patients and timely intervention, and ultimately achieving primary prevention of postoperative flatus retention. It also equips clinical nursing staff with a targeted framework for optimizing intestinal recovery care in this patient population, thereby contributing to improved clinical outcomes. This predictive model identifies key modifiable factors associated with delayed flatus discharge within 24 hours following gynecologic laparoscopic surgery. By targeting these factors, healthcare providers can implement evidence-based interventions, such as optimizing electrolyte balance and encouraging early in-bed activity, to shorten time to first flatus passage, thereby accelerating postoperative recovery and improving patient comfort.

References

[1]

ZHANG Y, SHI L, LI C, et al. Therapeutic effect of transumbilical single-port laparoscopic surgery versus triple-port laparoscopic surgery for ovarian cyst[J]. American Journal of Translational Research, 2021, 13: 14023-14030.

[2]

HU Y, CHENG X, SU X, et al. Auricular therapy improves gastrointestinal function in patients with gynecological laparoscopic surgery: A protocol for systematic review and meta analysis[J]. Medicine, 2020, 99: e23421. DOI: 10.1097/MD.0000000000023421.

[3]

Gao Y, Wei W, Liu B, Jia Z, Wu W, Shen P. Clinical study on the influencing factors of exhaust time in patients after gynecological laparoscopic surgery. Chinese Medical Equipment. 2020; 17: 4. (In Chinese)

[4]

YU M, WANG W, LIU B, et al. Analysis of the operative factors related to anal exhaust time after laparoscopic surgery for benign gynecological diseases[J]. Journal of Gynecology Obstetrics and Human Reproduction, 2021, 50: 102142. DOI: 10.1016/j.jogoh.2021.102142.

[5]

WU J, ZHANG H, LI L, et al. A nomogram for predicting overall survival in patients with low-grade endometrial stromal sarcoma: A population-based analysis[J]. Cancer Communications (London, England), 2020, 40: 301-312. DOI: 10.1002/cac2.12067.

[6]

MEI Z, CHEN J, CHEN P, et al. A nomogram to predict hyperkalemia in patients with hemodialysis: a retrospective cohort study[J]. BMC Nephrology, 2022, 23: 351. DOI: 10.1186/s12882-022-02976-4.

[7]

ZUNG WW. A rating instrument for anxiety disorders[J]. Psychosomatics, 1971, 12: 371-379. DOI: 10.1016/S0033-3182(71)71479-0.

[8]

DUNSTAN DA, SCOTT N. Norms for Zung's Self-rating Anxiety Scale[J]. BMC Psychiatry, 2020, 20: 90. DOI: 10.1186/s12888-019-2427-6.

[9]

Zhou Y. Evaluation studies of Self-Rating Anxiety Scale applying results in Chinese university students [Master’s thesis]. Southern Medical University. 2012. (In Chinese)

[10]

DU Q, LIU H, YANG C, et al. The Development of a Short Chinese Version of the State-Trait Anxiety Inventory[J]. Frontiers in Psychiatry, 2022, 13: 854547. DOI: 10.3389/fpsyt.2022.854547.

[11]

DEMIRCIOĞLU A. The effect of feature normalization methods in radiomics[J]. Insights into Imaging, 2024, 15: 2. DOI: 10.1186/s13244-023-01575-7.

[12]

NI CY, WANG ZH, HUANG ZP, et al. Early enforced mobilization after liver resection: A prospective randomized controlled trial[J]. International Journal of Surgery (London, England), 2018, 54: 254-258. DOI: 10.1016/j.ijsu.2018.04.060.

[13]

LI A, DU F, JIN Y, et al. Clinical Evaluation of Comfort Nursing in Gynecological Patients Undergoing Laparoscopic Surgery[J]. Alternative Therapies in Health and Medicine, 2023, 29: 311-315.

[14]

SVENSSON-RASKH A, SCHANDL A, HOLDAR U, et al. "I Have Everything to Win and Nothing to Lose": Patient Experiences of Mobilization Out of Bed Immediately After Abdominal Surgery[J]. Physical Therapy, 2020, 100: 2079-2089. DOI: 10.1093/ptj/pzaa168.

[15]

SVENSSON-RASKH A, SCHANDL AR, STÅHLE A, et al. Mobilization Started Within 2 Hours After Abdominal Surgery Improves Peripheral and Arterial Oxygenation: A Single-Center Randomized Controlled Trial[J]. Physical Therapy, 2021, 101: pzab094. DOI: 10.1093/ptj/pzab094.

[16]

YANG S, ZHAO H, AN Y, et al. Machine learning-based prediction models affecting the recovery of postoperative bowel function for patients undergoing colorectal surgeries[J]. BMC Surgery, 2024, 24: 143. DOI: 10.1186/s12893-024-02437-9.

[17]

XU C, CHI P. Relevant factor analysis on postoperative ileus following radical resection for colorectal cancer[J]. Zhonghua Wei Chang Wai Ke Za Zhi = Chinese Journal of Gastrointestinal Surgery, 2014, 17: 361-364.

[18]

PECORELLI N, GRECO M, AMODEO S, et al. Small bowel obstruction and incisional hernia after laparoscopic and open colorectal surgery: a meta-analysis of comparative trials[J]. Surgical Endoscopy, 2017, 31: 85-99. DOI: 10.1007/s00464-016-4995-6.

[19]

WANG BB, HU L, HU XY, et al. Risk Factors Asscociated with Hypokalemia during Postanesthesia Recovery and Its Impact on Outcomes in Gynecological Patients: A Propensity Score Matching Study[J]. Current Medical Science, 2024, 44: 441-449. DOI: 10.1007/s11596-024-2848-4.

[20]

LU G, XU L, ZHONG Y, et al. Significance of serum potassium level monitoring during the course of post-operative rehabilitation in patients with hypokalemia[J]. World Journal of Surgery, 2014, 38: 790-794. DOI: 10.1007/s00268-013-2319-8.

[21]

WANG B, HU L, HU X, et al. Exploring perioperative risk factors for poor recovery of postoperative gastrointestinal function following gynecological surgery: A retrospective cohort study[J]. Heliyon, 2024, 10: e23706. DOI: 10.1016/j.heliyon.2023.e23706.

[22]

ZHANG P, ZHONG X. Analysis of risk factors and construction of nomograph model for critical condition of patients with hypertension during pregnancy[J]. BMC Pregnancy and Childbirth, 2023, 23: 576. DOI: 10.1186/s12884-023-05860-7.

Funding

Scientific and Technological Innovation Programs of Jiading Branch of Shanghai General Hospital(202218B)

PDF (2490KB)

11

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉