Gastric cancer is the fifth most frequently diagnosed cancer and the fourth leading cause of cancer-related deaths [1]. In particular, the incidence of cancers originating from the proximal part of the stomach and cardia is increasing [2]. The primary treatment for gastric cancer is surgery [3], though anastomotic leakage (AL) is a serious complication after gastrectomy [4]. The incidence of AL after gastrectomy is 2.1–14.6%, and is associated with increased medical cost, length of hospital stay, postoperative morbidity, mortality, and recurrence rate [5,6,7]. Anastomotic leakage occurs mainly due to the technique being used, though the cause is complex with a variety of factors [8, 9]. Despite improvements in perioperative treatment of anastomotic leaks, the management continues to remain challenging and an optimal treatment protocol needs to be determined [10, 11].

Currently, detection of anastomotic continuity is done through air or methylene blue testing, with or without gastroscopy. Previous studies show conflicting results with the use of IOLT—some suggest reduction in postoperative anastomotic leakage [12,13,14], while others suggest no change from NIOLT [15, 16]. Furthermore, IOLT may cause trauma within the anastomosis, and methylene blue may contaminate the area, leading to adverse reactions or necrosis [17]. Thus, the potential of IOLT for risk reduction remains a topic of debate in the literature.

The precise techniques used in IOLT is widely variable. Previously reported techniques include (1) gastroscopy combined with air leak testing [18] and (2) air or methylene blue injection via nasogastric tube [19, 20]. We introduce a new IOLT technique combining gastroscopy with air and methylene blue leak testing (GAM). We hypothesized that this combined procedure will improve the efficacy of IOLT, and reduce the risk of postoperative anastomotic complications. To test this hypothesis, we conducted a single-center randomized clinical trial, comparing the incidence of postoperative anastomotic complications in patients with gastric cancer who underwent intraoperative leakage testing with GAM vs. those who did not undergo intraoperative leakage testing. The safety and efficacy of the GAM procedure were also evaluated through investigation of surgery duration, length of hospital stay, overall cost, and other surgical complications between the two groups.

Patients and methods

Study design

This study is an investigator-initiated, single center, randomized controlled trial from Nanchong Central Hospital. The study was approved by the Ethical Committee of Nanchong Central Hospital and conducted in accordance with the Declaration of Helsinki. Written informed consent was obtained from all patients.

Sample size

The sample size was based on the assumption that incidence of anastomotic leakage after gastrectomy is less than 2.1% in the IOLT group and no GAM-related complications were observed at the end of 3 months. Using PASS15.0 (NCSS, Kaysville, Utah, USA) statistical software, we calculated that approximately 73 patients would be required in each group to achieve a power of 0.80 and a significant level of 0.05 to assess the difference between the two groups.

Patients

The trial enrolled patients aged 18–85 with gastric cancer who qualified for total gastrectomy. All patients had an Eastern Cooperative Oncology Group performance status score of 0 or 1; an American Society of Anesthesiologists class of I–III; and resectable gastric carcinoma according to the eighth edition of the TNM (clinical stages I–III) [21]. The exclusion criteria consisted of possible distant metastasis detected in the preoperative studies, past history of gastric resection, gastric cancer-related complications, other malignancy diagnosed within the previous 5 years, previous chemotherapy or radiation therapy for any malignancies, presence of obvious contraindications to surgery (e.g., liver and/or kidney function abnormalities), and any participation in another clinical trial within the past 6 months.

Objectives and endpoints

The primary endpoint was the incidence of postoperative anastomosis-related complications, in patients with gastric cancer who underwent gastrectomy with IOLT (using GAM) and without IOLT (NIOLT). The secondary endpoints were the average duration of the GAM procedure, surgical duration, length of hospital stay, overall cost, and other surgical complications in the two groups.

Randomization and masking

The investigators were responsible for the randomization. After the subject meets the inclusion and exclusion criteria and signs the informed consent form, the participators were randomly assigned to IOLT or NIOLT group via a central internet-based program running a computer-generated randomization sequence. District randomization method was used for randomization. Four adjacent patients in the same month of admission were taken as a block, and randomly divided into the trial group and the control group at a ratio of 1:1. The interval length was 4, and there were six permutation combinations. The permutation combination block numbers selected according to the random number table entered the IOLT or NIOLT group. The allocation result was communicated to the surgeons by the circulating nurses only after the completion of the anastomosis.

Surgical quality control, procedures, and follow-up

All surgeons taking part in the trial were required to have experience performing more than 100 gastrectomies for gastric cancer. All patients underwent a total gastrectomy with lymphadenectomy, conducted in accordance with the 2018 Japanese gastric cancer treatment guidelines (5th edition) [22]. Due to the difference of surgeon’s habits and location of the tumor, reconstruction was done through Roux-en-Y esophagojejunostomy, either using linear stapler or round stapler and there was no significant difference between the two groups (p > 0.05). After the anastomosis is completed, proximal and distal anastomotic perfusion and anastomotic tension was carefully checked by observing the color of the small intestine, the pulsation of the marginal artery, and the tightness of the mesentery.

The GAM procedure used in the IOLT group consisted of (1) gastroscopy to observe the integrity of the anastomosis, (2) immersion of the anastomosis in 500–1000 mL warm saline and temporary blockage of the distal end, (3) inflation of the bowel of the anastomosis with air, and (4) injection of 60 mL methylene blue through the gastroscope. A white gauze pad was wrapped around the anastomosis to observe if methylene blue leaked out. Leakage testing was done using the Olympus GIF-170 gastroscope (Olympus America, Melville, NY), which has an 8.6-mm outer diameter.

Anastomotic discontinuity was diagnosed when air bubbles and/or methylene blue was observed at the staple line. This section was then strengthened with full-thickness simple suture and reinforced with Lembert sutures. The GAM procedure was repeated to verify the successful repair of the anastomosis before the surgery was completed. Anastomosis stricture was diagnosed if the gastroscopy could not go through the anastomosis. After surgery, patients were regularly followed using the following protocol to collect data [23, 24]: (1) daily measurements of the highest body temperature, heart rate, urine output, and respiratory rate until the day prior to discharge, (2) daily physical examinations to check for symptoms of peritonitis, intestinal obstruction, worsening surgical incision sites, and other surgical complications, (3) daily checks for drainage fluid (nature and amount, also sampled and cultured), (4) daily review of blood routine, biochemistry, CRP, and liver and kidney functions. One week after surgery, all patients underwent an upper gastrointestinal radiography to evaluate the integrity of the anastomosis. If extravasation of the contrast agent from the anastomosis was detected, a diagnosis of postoperative anastomotic leakage was made. Complications that occurred within 90 days after the surgery were considered to be related to the operation and recorded for this study [25]. Surgical complications were classified using the Clavien–Dindo classification [26].

Statistical analysis

Categorical variables are presented as numbers and percentages. Continuous variables are presented as means and standard deviations if normal distribution is observed. Continuous variables are presented as median (range or IQR) if normal distribution is not observed. The Student’s t test was used to compare means; all outcomes were performed using conventional 2-tailed superiority hypothesis tests with α = 0.05 and with 2-sided 95% CIs using IBM® SPSS® Statistics software (version 20, IBM Corporation, Armonk, NY, USA).

Results

Patients

From September 2018 to September 2022, 148 patients with gastric cancer or esophagogastric junction cancer were recruited. Patients were randomly assigned to the IOLT group (n = 74) and NIOLT group (n = 74). After randomization, 10 patients (IOLT n = 4; NIOLT n = 6) who did not undergo gastrectomy were excluded: five patients had distant metastases (IOLT n = 2; NIOLT n = 3), two patients deviated from the protocol (IOLT, n = 1; NIOLT n = 1), and three patients underwent surgical procedures other than a gastrectomy, such as palliative surgery (IOLT n = 1; NIOLT n = 2). After exclusions, 138 patients remained (IOLT n = 70; NIOLT n = 68; Fig. 1). The two study groups have balanced baseline clinical characteristics as shown in Table 1.

Fig. 1
figure 1

Trial profile. Nonresection by researcher: patient underwent surgery other than gastrectomy; M1 disease found after opening of abdomen; organ metastases found

Table 1 Patient clinical characteristics

Intraoperative characteristics

In the IOLT group, 5 out of 70 patients (7.1%) who underwent a laparoscopic total gastrectomy had a positive GAM procedure test. Leakage was found in the anterior wall of the esophagojejunostomy in two patients, which was repaired with laparoscopic sutures. Anastomotic stricture was found in one patient, which was repaired with a repeat anastomosis. A bleeding artery in the esophagojejunostomy was found in two patients, which was controlled with laparoscopic sutures. The average duration of the GAM procedure was 4.90 ± 1.85 min. The average total operation duration in the IOLT group was 28 min longer than the NIOLT group (p = 0.02; Table 2).

Table 2 Postoperative results

Surgical outcomes

After intraoperative repair of detected anastomotic discontinuities, the IOLT group had no patients with postoperative leakage. In the NIOLT group, four patients (5.8%) had postoperative anastomotic complications. One patient experienced bleeding requiring urgent endoscopic hemostasis, one patient had leakage, and two patient had anastomotic strictures. 1 week after surgery, all patients underwent an upper gastrointestinal radiography, which found anastomotic strictures in two patients and anastomotic leakage in one patient in the NIOLT group, and none in the IOLT group. Evidently, the IOLT group experienced less postoperative anastomotic complications compared to the NIOLT group (p = 0.04, Table 2). However, according to the Clavien–Dindo classification, the incidence of the overall postoperative complications, did not significantly differ between the groups (p = 0.51, Table 3).

Table 3 Postoperative overall complications

Postoperative clinical characteristics

The length of hospital stay was 12.35 ± 1.6 days in the IOLT group and 12.6 ± 2.1 days in the NIOLT group (p = 0.34). Patients with postoperative leaks had extended stays, with the longest hospitalization time being 31 days in the NIOLT group. The overall cost of hospitalization was higher in the NIOLT group compared to the IOLT group (11,025.04 ± 1146.05 vs. 9947.05 ± 1036.42 US dollars, respectively, p = 0.51), with the highest cost over 14,500 US dollars. The difference in cost was not statistically significant (Table 4).

Table 4 Comparison of hospital stay and hospital costs

Discussion

Anastomotic leakage is a common complication after radical resection for gastric cancer. It influences prognosis and is a significant risk factor for postoperative mortality [27].Various prevention strategies have been tested for anastomotic leakage. Advancements in surgical techniques, improvements in anatomical knowledge, and heightened awareness of risk factors and treatment options have all undoubtedly contributed to the decrease in incidence of, and mortality from, anastomotic leakage [28].

After a comprehensive literature review [18,19,20, 29], we designed the GAM procedure and assessed the safety and efficacy of it. This procedure requires both air and methylene blue to be injected through the gastroscope, which allowed inspection via gastroscopy to occur first. First, gastroscopy was used to obtain a clear and direct observation of the anastomotic staple line. Second, the air leak test was done to check for any defects in the anastomosis, with air bubbles being evidence for a defect. The injection of methylene blue was held off until the last step to preserve a clear view of the anastomosis. With a white gauze pad wrapped around the anastomosis, injection of methylene blue would dye the gauze pad blue if any defects existed in the anastomosis.

The primary findings from this study are as follows: (1) anastomotic discontinuities using the GAM procedure was detected in 7.1% of the IOLT group, (2) postoperative leakage incidence was lower in the IOLT group than the NIOLT group (0% vs. 5.8%, p = 0.04), with no complications associated with anastomotic leakage testing, (3) the average duration of the GAM procedure was 4.90 ± 1.85 min, and (4) the average operation duration in the IOLT group was 28 min longer than the NIOLT group. Our study shows that the GAM procedure is safe and effective at preventing postoperative anastomosis-related complications in patients with gastric cancer. Several studies have demonstrated the value of anastomotic leakage testing through intraoperative endoscopy in colorectal and bariatric surgery. Li and Wexner et al. reported that routine intraoperative endoscopy in laparoscopic colorectal surgery aids in the prevention of anastomotic failure [30]. In laparoscopic Roux-en-Y gastric bypass and sleeve gastrectomy, intraoperative endoscopy has been introduced as a surgical strategy to prevent leakage and stenosis [31, 32]. Reports of intraoperative endoscopy in gastric cancer surgery come from localization studies in laparoscopic gastrectomy and laparoscopic endoscopic cooperative surgery [33, 34]. Few papers have discussed anastomotic leak testing after gastrectomy for gastric cancer. Lieto et al. reported endoscopic intraoperative anastomotic testing to be a safe and reliable method to assess the integrity of gastric and colonic anastomoses [18]. However, there lacks any large-scale, prospective research to confirm the safety of this technology. We conducted a randomized controlled study with 138 patients who underwent total gastrectomy reconstructed by laparoscopic Roux-en-Y esophagojejunostomy. To maximize homogeneity and to avoid bias, this study adopted a strict inclusion criteria. Patients receiving chemotherapy were excluded from the study.

In our study, early anastomotic complications included leakage, stricture, and bleeding. Postoperative anastomotic complications were avoided in the IOLT group, where discontinuity was repaired by suture ligation. One study has suggested that intraoperative methylene blue leak testing prevents postoperative anastomotic leakage [35]. However, its reliability in IOLT has not been verified. Furthermore, findings from Sethi et al. demonstrated the use of methylene blue leak testing to not prevent anastomotic leakage [16].

Anastomotic discontinuities were found in five patients (7.1%) in the IOLT group, which is similar to previous literature findings. Kanaji et al. reported that the IOLT positive rate was 3.2% for patients with gastric cancer. Air leakage testing was adopted in their study [19]. Nishikawa et al. found that the IOLT positive rate was 4.2% for patients with gastric cancer. Gastroscopy combined with air leakage testing was adopted in their study [29].

Surgeons have strategically used drain placements, drainage fluid checks (for characteristic and amount), and routine postoperative upper gastrointestinal radiography, for early detection of leaks [36]. Though these methods are helpful in identifying leaks in the early postoperative period, they do not prevent the occurrence of them. By performing the GAM procedure in our study, we were able to not only detect the anastomotic discontinuities intraoperatively, but also take preventative measures for anastomotic leakage. As anastomotic leaks are damaging and a serious issue, every preventative effort is worthwhile. Routine IOLT during operations will detect and repair anastomotic defects, enabling patients to avoid serious complications such as bleeding, leakage, and abdominal infection postoperatively [37]. One study found that treatment for serious complications accounted for 27.0% of the total hospital cost [38].

We have been able to establish the safety and efficacy of using the GAM procedure in laparoscopic total gastrectomy. None of the 68 patients in the IOLT group experienced anastomotic insufficiency or IOLT-related complications in the postoperative period. More clinical studies are required to identify the role of the GAM procedure in reducing the rate of anastomotic insufficiency in different parts of the gastrointestinal tract.

There are unique aspects in our study. Firstly, the average BMI of the patients was low, and further research is needed for patients with gastric cancer and high BMI. Secondly, according to Japanese gastric cancer treatment guidelines 2018 5th edition, patients with cT2-4 lesions could directly undergo surgery without neoadjuvant therapy [22]. At our research center, patients (including T4a/T4b) who were considered capable of complete tumor resection based on preoperative examination were given priority for surgical treatment followed by postoperative adjuvant therapy. However, patients with T4a or T4b lesion would have received preoperative in Western populations.

This study does have some limitations. First, it is a single-center study with a relatively small sample size. It also does not assess whether the GAM procedure is the simplest or most optimal method of leak detection. Specifically, the GAM procedure did not have precise control of the air inflation pressure, as high-power insufflation can lead to mechanical destruction of the staple lines and produce a falsely high air leak rate. Additional data collection with well-designed prospective multicentric studies is needed to overcome these limitations, and to confirm the safety and efficacy of the GAM procedure in gastric cancer surgery. Second, compared to other studies of minimally invasive surgery, the length of hospital stay was over 12 days in both groups, which may be a general problem in our research center.

In summary, the GAM procedure appears to be a safe and reliable procedure to evaluate the integrity of gastrointestinal anastomosis. It can be used as an important surgical strategy to avoid early anastomotic complications such as leakage and intraluminal bleeding. Routine GAM procedure is recommended for IOLT in esophagojejunostomy for gastric cancer surgery.