Background

Primary hepatic carcinoma (PHC) is a malignant tumor with high morbidity and mortality that is prevalent worldwide and seriously endangers human health. Over the past five years, an average of 995,000 new cases of PHC have been diagnosed every year worldwide, of which there were approximately 732,000 cases in Asia, accounting for 73.6% [1]. Hepatocellular carcinoma (HCC) is the most common pathology type, accounting for approximately 75 ~ 85% of cases [2].

Currently, liver resection, liver transplantation, local ablation therapy, and systemic therapy can be used for the treatment of PHC, among which liver resection is the most important method [3]. However, postoperative complications greatly influenced the prognosis of liver resection. Based on multiple clinical analyses, the incidence of postoperative infection is 8.2–20% [4,5,6,7,8,9,10]. Prolonged hospital stays, high treatment costs, and even postoperative death can seriously affect the prognosis of patients. Due to impaired liver function, low immune status and other reasons, postoperative infection is prone to occur. According to the site of occurrence, postoperative infection can be divided into abdominal infection, surgical site infection, pulmonary infection, urinary tract infection, etc. The most common type of postoperative complication was abdominal infection, with an incidence of 9.0%, followed by surgical site infection [11]. The causes of postoperative infection after hepatectomy are mainly related to the patient’s primary disease, preoperative systemic state and liver function, surgical scope, and intraoperative blood loss [12]. However, some of these risk factors remain controversial.

Exploring the risk factors for postoperative infection can improve prevention and clinical treatment, reduce or even avoid the occurrence of postoperative infection complications, reduce the time and cost of treatment, and improve the effect and prognosis of patients. Tang et al. found that cirrhosis was a major risk factor for the development of postoperative infection in patients undergoing hepatectomy for HCC [13]. In a case‒control study of 363 patients who underwent HCC resection, Yoshihiro Inoue et al. found no significant differences in infection complications and overall survival between diabetic and nondiabetic patients, which may have been related to their good perioperative glycemic control [14]. Intraoperative blood loss is independently associated with postoperative complications. When intraoperative bleeding exceeds 500 ml, the intestinal mucosa is susceptible to intestinal flora displacement due to ischemia and hypoxia, thus leading to infectious complications [15, 16]. Although some risk factors have been explored in the literature, there are fewer relevant and comprehensive clinical prediction models. In this study, we first performed a multifactorial logistic analysis on the patient’s clinical information and the indications for hepatectomy to identify the risk factors for postoperative infection, and then established a clinical prediction model to analyze the probability of infection more intuitively. The prediction model will assist clinicians in implementing their clinical decisions and allocating medical resources for early clinical intervention and treatment.

Methods

Patient selection

We retrospectively analyzed the complete clinical and pathological data of 555 patients who underwent hepatobiliary surgery at our research center from January 2014 to December 2021. According to the inclusion and exclusion criteria, a total of 279 patients who underwent liver resection were selected for the study. They were divided into an infected group and an uninfected group according to whether postoperative infection occurred. Inclusion criteria: (1) Age ≥ 18 years old; (2) Pathological diagnosis corresponding to the “Guidelines for the Diagnosis and Treatment of Hepatocellular Carcinoma (2022 Edition)" [3]; (3) First radical resection of liver cancer; (4) Preoperative liver function classified as Child‒Pugh grade A or B; (5) No preoperative antitumor treatment; and (6) Complete clinical medical records. Exclusion criteria: (1) complicated by other tumors; (2) death within 30 days after surgery; and (3) cases of preoperative infection. Our study was reviewed and approved by the Ethics Committee of the Third Central Hospital of Nankai University, and informed consent was obtained from all the enrolled subjects, who were fully informed of the potential risks and benefits.

Diagnostic criteria of postoperative infection

In this study, postoperative infections included abdominal infection, surgical site infection, pulmonary infection and urinary tract infection, etc. The diagnostic criteria were determined with reference to the Diagnostic Criteria for Hospital Infections (Trial) [17]. Abdominal infection: purulent discharge from abdominal drainage or puncture, pathogenic bacteria detected in the discharge, or abdominal ultrasound confirmed intra-abdominal abscess. Surgical site infection: purulent discharge from the surgical incision and positive bacterial culture or infection manifestations such as redness, swelling, heat and pain. Pulmonary infection: positive sputum culture or pulmonary auscultation suggesting pulmonary inflammation. Urinary tract infection: symptoms of urinary tract infection and positive urine bacterial culture.

Perioperative management

Perioperative management is an important part of improving the efficacy and cure rate. Preoperative diagnosis should be improved, and liver function should be correctly assessed. For preoperative coinfection with Hepatitis B virus (HBV), the replication and activation of HBV should be closely monitored. For those with active viral replication, oral antiviral drug therapy is administered throughout the treatment, such as entecavir, tenofovir, or propofol tenofovir. For Hepatitis C virus (HCV)-associated hepatocellular carcinoma, direct-acting antiviral drugs or pegylated interferon alpha combined with ribavirin antiviral therapy should be administered as long as there is HCV-RNA positivity. For combined diabetic disease, blood glucose levels should be strictly controlled and tested [18]. Strengthen intraoperative anesthesia management, correct selection of operation style, reasonable hepatic resection volume, reduce bleeding, and maintain respiratory and circulatory functions. Postoperatively, we should closely monitor the condition, strengthen liver protection and improve supportive treatment to prevent complications. Intravenous drip of second-generation cephalosporins or ceftriaxone 30 min before anesthesia, with additional metronidazole or cephalosporins for possible anaerobic infections. If the duration of surgery exceeds twice the half-life of the antimicrobial drug or if necessary, an additional dose of antibiotics may be administered.

Surgical treatment

Patients were treated by laparoscopic surgery or open surgery. In the open group, an incision of approximately 15–20 cm in length was made under the right costal margin to block the blood supply around the liver, a precut line was marked approximately 2 cm from the edge of the tumor tissue, the liver parenchyma was gradually cut and separated, the excision line was in the same direction as the scraping steak, and the larger vessels were encountered in the same direction as the vascular line. The wound was treated with electrocoagulation, dressings were used to stop bleeding, a drainage tube was routinely placed, and the abdomen was closed layer by layer. In the abdominal group, a curved incision was made 1 cm below the umbilicus, pneumoperitoneum was established, and then a Trocar (10 mm) and a 30° laparoscope were placed sequentially. The lesion was effectively resected, and the resection procedure was basically the same as that performed for the open group. The liver parenchyma and ducts were separated using an ultrasonic knife. Hemostasis was achieved by electrocoagulation, drainage tubes were routinely placed, and sutures were placed to close each incision.

Data collection

Thirty-two clinical indicators were selected for this study. The clinical indicators were divided into general indicators, basic diseases, laboratory indicators and surgery-related indicators. General indicators included sex, age and body mass index (BMI). Basic diseases included histories of hepatitis B, hepatitis C, smoking, drinking, hypertension, diabetes, cirrhosis, etc. Liver function was assigned a Child‒Pugh grading score. Laboratory indicators were presurgical indicators, including neutrophil percentage (NEUT%), albumin (ALB), alpha-fetoprotein (AFP), carcinoembryonic antigen (CEA), total bilirubin (TBIL), alanine aminotransferase (ALT), creatinine (Cr), platelet count (PLT), prothrombin time (PT), and hepatitis B virus deoxyribonucleic acid (HBV DNA). Surgery-related indicators included excision method, intraoperative blood loss, perioperative blood transfusion, lymphatic metastasis, tumor size, surgical mode, ascites, bile leakage, pathological type, operation duration, and China liver cancer staging (CNLC). The above data were obtained from the research center’s medical record system, and Excel tables were used to record data and preliminary screening data.

Statistical analysis

Statistical analyses were performed by R 4.1.3 and SPSS 25.0. Continuous variables that did not conform to a normal distribution were expressed as medians and quartiles and analyzed by nonparametric rank sum test; categorical variables were expressed as number of cases and percentages and analyzed by chi-square test. A least absolute shrinkage and selection operator (LASSO) regression method was used to downscale the clinical information and indicators of patients and screen the variables with nonzero coefficient characteristics. Based on the screened variables, a multivariate logistic regression analysis was used to determine the risk factors, and a predictive model was established. Represented in line graph form. Performance verification was performed on the constructed nomogram, the consistency index (C-index) and area under curve (AUC) were calculated to verify the discrimination of the nomogram model, a calibration curve was drawn to verify the calibration, and decision curve analysis (DCA) was used to evaluate the clinical utility of the prediction model sex. The bootstrap method was used to internally validate the prediction model by repeating the sampling 1000 times, and the C-index was calculated to assess the discrimination. P < 0.05 was considered statistically significant.

Results

Clinical features

A total of 279 patients were included in the study. Among them, 48 patients had postoperative infections and were included in the infected group, and 231 patients did not have postoperative infections and were included in the noninfected group. The incidence of postoperative infection was 17.2% (48/279). Among them, the incidence of abdominal infections and infections in other sites was 9.3% (26/279) and 7.9% (22/279), respectively. In this study, cohort was comprised of 210 men and 69 women, and the mean age was 58.86 ± 11.48 years. A total of 178 patients (63.8%) had hepatitis B, 11 patients (3.9%) had hepatitis C, 221 (79.2%) had Child‒Pugh class A liver function, and 240 patients (86.0%) had a pathological diagnosis of HCC. A total of 189 patients (67.74%) received preoperative antiviral drugs, including the anti-HBV drugs entecavir, tenofovir or cifovir or anti-HCV direct-acting antivirals or pegylated interferon alpha in combination with ribavirin. All patients underwent radical hepatectomy, including 35 (12.5%) laparoscopic procedures and 244 (87.5%) open procedures. The study cohort was divided into an infected group (n = 48) and a noninfected group (n = 231) based on the occurrence of postoperative infection.

There were statistically significant differences among 10 indicators between the two groups (P < 0.05), including history of drinking, Child‒Pugh, TBIL, Cr, excision method, intraoperative blood loss, tumor size, surgical mode, bile leakage, and operation duration. The clinical characteristics of the patients in the study cohort are summarized in Table 1.

Table 1 Clinical characteristics of the patients included in the study (N = 279)

LASSO regression analysis

Because of the correlation between different independent variables, dimensionality reduction was performed to screen out the most representative predictors of high-risk postoperative infection, and LASSO regression analysis was performed on all independent variables. The analysis results are shown in Fig. 1. Specifically, the parameters are cross-validated, a dotted line is drawn at the optimal parameter (the left dotted line in Fig. 1A), and the corresponding nonzero parameters are 13. At this time, the fitted LASSO regression model is the most suitable. The optimal lambda value screened in Fig. 1A was substituted into the LASSO coefficient curve (Fig. 1B) containing 32 variables in this study, and the intersecting 13 independent variables were the screened nonzero coefficient independent variables. Including age, NEUT%, Cr, BMI, excision method, AFP, TBIL, PT, intraoperative blood loss, perioperative blood transfusion, tumor size, surgical mode, and bile leakage.

Fig. 1
figure 1

Predictor variable selection based on the LASSO regression method. (a) Optimal parameter (lambda) selection in the LASSO model. (b) LASSO coefficient profiles of the 32 features

Multifactorial logistic regression analysis

Multifactorial logistic regression analysis was performed on the 13 selected variables, and 5 variables were independent risk factors for infection after liver cancer resection, including BMI (P = 0.022), AFP (P = 0.023), TBIL (P = 0.016), intraoperative blood loss (P < 0.001), and bile leakage (P < 0.001). (Table 2).

Table 2 Multivariate logistic regression analysis model for predictors of infection after liver resection

Nomogram prediction model

Based on the 5 independent predictors, a predictive model for postoperative infection after PHC resection was constructed, and a nomogram was drawn (Fig. 2). The left side of the nomogram is the variable name of the prediction model, the line segment on the right side of each variable represents the range of possible values for the variable, and the “Points” at the top represent the individual scores. The total score of the patient can be obtained by adding the scores of all indicators. A vertical line is drawn downward at the position of the total score, and the intersection point is the probability of postoperative infection of the patient.

Fig. 2
figure 2

Nomogram prediction model for predicting postoperative infection in patients undergoing liver resection. The red dots are the scores of a true-positive patient according to each of the nomograms, with a final total score of 245 and a predicted probability of infection of 0.926. AFP: alpha-fetoprotein; BMI: body mass index; TBIL: total bilirubin; *: P < 0.05; ***: P < 0.001

Nomogram Verification

The C-index of the prediction model was calculated by the R language to evaluate the discrimination of the nomogram. The C-index result was 0.829, which indicated that the constructed nomogram had high predictive ability. The receiver operating characteristic (ROC) curve of each risk factor and the nomogram model was drawn (Fig. 3). The best cutoff value for the nomogram was 0.116, and the AUC was 0.829 (95% confidence interval: 0.680–0.896). It can be seen in the figure that the AUC of the nomogram was higher than that of other single risk factors, indicating that the nomogram prediction model had a high discriminative ability.

Fig. 3
figure 3

ROC curve of the nomogram for the prediction of infection after liver resection. AFP: alpha-fetoprotein; BMI: body mass index; TBIL: total bilirubin

A calibration curve (Fig. 4) was drawn to represent the consistent calibration of the nomogram predictions and the actual situation. The abscissa represents the nomogram to predict the probability of infection after liver resection, and the ordinate represents the actual probability. The 45° thick dashed line represents the results of the prediction model under ideal conditions; the thin dashed line represents the consistent calibration results for the entire cohort (n = 279); the solid black line represents the performance of the nomogram. The calculated C-index of the bootstrapping self-sampling method is 0.818, and the predicted probability before and after the correction is consistent with the actual observed probability. The calibration curve of the prediction model fits well with the standard curve, and the degree of calibration is good.

Fig. 4
figure 4

Calibration curve of the infection nomogram after liver resection. The dashed line on the diagonal represents an ideal model, and the solid line represents the performance of the model, where a better fit to the diagonal dashed line indicates a better prediction

The DCA is shown in Fig. 5. The abscissa is the threshold probability, and the ordinate represents the net benefit. The black horizontal line indicates that all patients had no postoperative infection, and the net benefit was 0; the gray diagonal line indicates that all patients had postoperative infection, and all received treatment. DCA meets the practical need for clinical decision-making by integrating patient or decision-maker preferences into the analysis. The DCA curve shows that the nomogram is more favorable for predicting post hepatectomy infection compared to patients who receive all or no treatment postoperatively.

Fig. 5
figure 5

Clinical decision curve analysis of the infection prediction nomogram after liver resection. The blue solid line indicates that using the nomogram to predict the risk of postoperative infection is more beneficial than intervening in an all-patient scenario or a no-intervention scenario

Discussion

Hepatectomy is the most effective radical and preferred method of hepatocellular carcinoma treatment. As postoperative care management has improved, the mortality rate of postoperative patients has significantly decreased. However, postoperative infection still seriously threatens the prognosis of patients. Several predictive models have been developed to predict survival and postoperative complications in patients undergoing hepatectomy [19,20,21]. However, only a few studies have focused on developing models to predict postoperative infections. Multivariate logistic analysis showed that the independent risk factors for infection after hepatectomy were BMI (> 24 kg/m2), preoperative AFP (> 100 µg/L), TBIL, intraoperative blood loss (> 400 ml), and bile leakage.

BMI is an indicator of the nutritional status of the body and the degree of obesity, thus directly affecting affect the function of the patient’s immune system and leading to an increased risk of infection [22]. In this study, a BMI > 24 kg/m2 was an independent risk factor for postoperative infection in patients with hepatocellular carcinoma, and patients who were overweight or obese had an increased the risk of postoperative infection, similar to the results reported in previous studies [23]. Chang et al. [24] showed that obese patients were more likely to have incisional liquefaction and infection than normal weight patients. Therefore, after hepatectomy in patients with higher BMI, it is important to closely monitor the changes in infection indicators and signs and to whether a postoperative infection has developed.

AFP plays an important role in the diagnosis and treatment of PHC, predicting postoperative recurrence and evaluating high-risk populations. In this study, the multivariate analysis found that AFP was a risk factor for infection after liver resection. Studies have shown that AFP can disable the patient’s anti-infection function by inhibiting immune cells. For example, AFP can inhibit the maturation of DC cells, increase the expression of Caspase-3 and p38-Mark in DCs, induce their apoptosis, reduce the secretion of IL-12, and inhibit the activity of NK cells [25]. Studies have found that AFP inhibits the immune function of NKT cells by downregulating the expression of CD1d [26]. Another study showed that AFP can act on macrophages and reduce their phagocytic activity and the expression of Ia antigen [27].

Hepatic bile duct obstruction, bilirubin metabolism and excretion are blocked, and intrahepatic cholestasis causes hyperbilirubinemia. Ozgen found that hyperbilirubinemia (> 15 mg/dL) was an independent risk factor for postoperative infection [28]. Bile excretion is blocked, microbial colonization occurs, and infection occurs when bile leakage occurs postoperatively [29]. In patients with obstructive jaundice, intestinal bacteria overgrow and are translocated into the systemic circulation. Excessive accumulation of bile acids can lead to impaired liver immune function, thus causing postoperative infection [30].

Tousif et al. found in a retrospective study that intraoperative blood loss is an independent risk factor for postoperative infection [15]. Yanjie et al. noted that intraoperative blood loss affects the incidence of postoperative infection. The risk of infection in patients with blood loss greater than 500 ml is 3.32 times higher than in patients with blood loss less than 500 ml [31]. Intraoperative blood loss leads to liver ischemia, which further leads to structural and functional damage to hepatocytes and affects their metabolic and immune functions.

Postoperative bile leakage has an incidence between 3.6% and 10.0% and is one of the most common complications after hepatectomy [32]. Surgical indications, preoperative treatment and surgical operations have an impact on the occurrence of bile leakage. In a retrospective analysis of 879 patients who underwent hepatectomy, Chikara et al. found that bile leakage was the strongest risk factor for a postoperative organ (or lacunar) infection [33], so, bile leakage leads to poor drainage of infectious bile, which leads to cholestasis and secondary infection [34]. Therefore, the operator should strictly follow the operating procedures and handle the operation with care, and in case of accidental injury, it must be treated immediately. Before closing the abdomen, repeatedly confirm whether there is active bile leak. Active drainage of bile leak can effectively reduce the occurrence of postoperative infection.

Because of the lack of specific clinical manifestations in the early stages of postoperative infection, it is clinically important to evaluate postoperative patients as soon as possible and implement effective interventions in a timely manner. A nomogram is a statistical model for an individualized risk prediction analysis of clinical events based on a logistic regression model, which quantifies the risk of occurrence of clinical events by various risk factors and presents the relevant risk factors graphically, allowing easy visualization of the risk probability values of clinical events [35]. In this study, logistic regression models were constructed based on the results of lasso variable screening. A line graph was constructed to predict the occurrence of postoperative infections by using the five risk predictors of BMI, preoperative AFP, TBIL, intraoperative blood loss, and bile leakage. The prediction model can identify patients at high risk of postoperative infection and help clinicians provide timely and effective interventions for postoperative infection, especially for patients with poor physical tolerance and antimicrobial susceptibility. The ROC curve and C-index were used to verify the discriminatory degree of the model, the calibration curve was used to verify its calibration degree, and DCA was used to demonstrate its clinical effectiveness, which fully validated the good predictive performance of the prediction model. The internal validation results using the bootstrap method showed that the model had a high degree of discrimination. It is presumed that the column line graph model developed in this study has high potential for clinical application in predicting postoperative infection in hepatocellular carcinoma.

Patients with risk factors that have been identified in the model should be given adequate reminders by clinicians. The patients’ systemic nutritional statuses and vital organ functions should be comprehensively assessed preoperatively, and perioperative management should be strengthened. Relevant clinical workers need to continuously improve surgical methods to avoid biliary leakage complications. Additional details of all surgical operations should be provided to reduce intraoperative blood loss and to ensure strict compliance with aseptic operations. Avoiding cross-infection after surgery, achieving close follow-up and performing active individualized treatments have important clinical significance in improving the prognosis of patients.

However, the study has some limitations. First, this was a single-center study, and we did not collect clinical case information from different medical institutions. Second, due to strict screening indicators, the total number of cases was small, indicators, such as CD8 + T lymphocytes, glycated hemoglobin, FEV1/FVC ratio, portal vein tumor thrombus, microvascular invasion and other factors, cannot be further explored due to the lack of detailed data in the inquired medical record system. Additional data and a long-term follow-up are needed to better prevent postoperative infections and improve prognosis. This study was retrospective, the enrolled cases were from a single center, and the potential for selective bias could not be ignored. In future studies, we look forward to the inclusion of more treatment centers to conduct large prospective cohort studies to assess the predictors of postoperative infection.

Conclusion

BMI, preoperative AFP, TBIL, intraoperative blood loss, and bile leakage are risk factors for postoperative infection. The prediction model established in this study can better predict the risk of infection, assist clinicians in taking effective preventive, diagnostic and treatment measures for postoperative infection in patients with PHC, and improve the prognosis of patients.