Background

Surgical site infections (SSIs) are postoperative infections encompassing the superficial, deep, and interstitial layers [1,2,3]. SSI is a common nosocomial infection, leading to extended patient hospitalization and imposing substantial burdens on patients [1, 4, 5]. According to a U.S. Centers for Disease Control and Prevention health care-associated infection (HAI) prevalence survey, nearly 600,000 cases of SSI occurred in the USA in 2011, making it the most common HAI [6]. It is estimated that approximately 5% of patients develop SSI during the perioperative period, which prolongs the average length of stay by more than 9 days and increases the risk of death by 11 times [1].

Notably, orthopedic patients have heightened susceptibility to SSI relative to other patients owing to the enduring presence of internal fixation and implant apparatus within the body [7, 8]. These components create conducive niches and substrates for pathogenic proliferation, consequently significantly elevating the risk of postoperative wound infections [9, 10]. When SSI occurs during joint implant surgery, the cost per treatment may exceed $90,000 [2, 11, 12]. However, approximately 55% of SSIs are preventable through proper implementation of evidence-based strategies, so timely preoperative detection of high-risk SSI patients is critical [13].

The National Nosocomial Infections Surveillance (NNIS) risk index [14, 15] is the prevailing clinical prognostic instrument for predicting overall SSI risk. The NNIS system employs three autonomous and equitably significant variables—the American Society of Anesthesiology (ASA) classification [16], surgical incision type, and operative duration—to predict SSI risk. However, the prognostic efficacy of the NNIS system remains uncertain with respect to the prediction of SSI risk in patients undergoing elective aseptic orthopedic procedures [17, 18]. Consequently, the formulation of a composite predictive model based on multiple preoperative clinical parameters is imperative to aid orthopedic practitioners in identifying candidates at high risk of SSI.

A nomogram is a straightforward instrument for clinical prognostication and is used to predict clinical outcomes [19]. Nomograms have extensive applications across domains, such as oncology [20], cardiovascular ailments [21], and other medical conditions [22, 23]. Currently, the existing studies only focus on a certain special population, such as HIV patients [24], or a certain type of orthopedic surgery, such as lumbar instrumentation surgery [25], total knee arthroplasty [26], and posterior cervical surgery [27]. To address this, this investigation aimed to identify contributory risk factors associated with SSI in a subset of patients undergoing elective aseptic orthopedic surgery. The primary objective was to construct a predictive nomogram model for SSI risk to facilitate the identification of patients at high-risk of SSI.

Methods

Study design

This retrospective study included data from patients who underwent elective orthopedic procedures between January 2020 and December 2021. The inclusion criteria were as follows: (1) elective clean orthopedic surgery according the Centers for Disease Control and Prevention Guideline for the Prevention of Surgical Site Infection [2], and (2) comprehensive perioperative clinical data. The exclusion criteria were as follows: (1) emergency surgery, (2) incisions not meeting type I criteria, (3) preoperative community-acquired infection, and (4) insufficient pertinent perioperative clinical data.

Patients diagnosed with SSI were exhaustively identified, and a subset of patients without SSI was randomly selected to constitute the control cohort. The entire cohort was subsequently divided into training and validation cohorts using randomized sampling. The study adhered to the principles of the Declaration of Helsinki. All clinical data were de-identified, and the requirement for informed consent was waived following ethical committee approval.

Definition of SSI

In alignment with the directives delineated in the Centers for Disease Control and Prevention and the American Academy of Orthopedic Surgery guidelines for the prevention of SSI, the diagnosis of SSI was confirmed through meticulous postoperative surveillance and adept interpretation of laboratory findings by seasoned surgical practitioners [2, 28]. The detailed definition of SSI is that it occurs within 30 days after surgery or within 1 year after foreign body implantation, which occurs in the skin and subcutaneous tissue of the surgical incision, or in the deep soft tissue (deep fascia and muscles) related to the surgery, or surgery-related organ or cavity infections, include superficial incision infection, deep incision infection and organ cavity infection [2].

Collection of clinical variables

Baseline patient data and perioperative outcomes were gathered by two investigators (L.Z and L.K). The collected information included demographic data, foundational laboratory parameters, surgery-associated parameters, and postoperative follow-up results. Demographic variables included age, gender, body mass index, concurrent medical conditions (e.g., hypertension, diabetes, and coronary artery disease), and the ASA class. All laboratory indices were assessed 1–3 days prior to the procedure, including creatinine, albumin, total bilirubin, direct bilirubin, alanine aminotransferase, aspartate aminotransferase, prothrombin time, red blood cell count, and platelet count, among others.

Surgery-related details included surgical category (spine, extremities, and joints), NNIS grade, operative duration, estimated blood loss, preoperative skin condition, preoperative antibiotic administration, utilization of drains, and indwelling devices. Subsequent outcomes during the postoperative follow-up encompassed the occurrence of SSI and the duration of hospital stay.

Statistical analysis

In this study, SPSS 26.0 (SPSS Inc, Chicago, IL, USA) and R Language software (version 3.5.3, http://www.r-project.org/)) were used for statistical analysis of the clinical data of the enrolled patients. Qualitative variables are described as absolute frequencies and percentages and were compared using the Kruskal–Wallis rank sum test. Quantitative variables are expressed as mean ± standard deviation and compared using the Mann–Whitney U-test or Student’s t-test. Univariate logistic regression analysis was used to determine risk factors associated with SSI. Indices with P < 0.1 in the univariate analysis were included in the multivariate analysis. Based on the independent risk factors screened using the results of the multivariate analysis, a nomogram model was constructed using R software. The area under the receiver operating characteristic (ROC) curve, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), and other indicators were used to compare the predictive performances of the nomogram prediction model and the NNIS classification. The concordance index (C-index) and consistency calibration curves were used to analyze the predictive performance of the nomogram model. Decision curve analysis (DCA) was used to measure the clinical utility of the nomogram by calculating the net benefit of different threshold probabilities. P < 0.05 was considered statistically significant.

Results

Patient characteristics

A total of 20,960 patients underwent elective clean orthopedic surgery in our hospital between January 2020 and December 2021, of whom 39 developed SSI; the SSI incidence was 0.186%. All 39 patients with a postoperative diagnosis of SSI and a randomly selected 305 patients who did not develop SSI postoperatively were included in the final analysis. The median age of the 344 patients was 55.0 years (interquartile range, 40.8–66.0 years) and 159 (46.2%) of them were female. In the total cohort, 212 (61.6%) patients had comorbidities before surgery. Seventy seven (22.38%), 235 (68.31%), and 32 (9.3%) patients had ASA classes 1, 2, and 3, respectively. In the total cohort, 291 (84.59%) and 53 (15.41%) patients had NNIS grades 0 and 1, respectively. The total cohort was randomly divided into a training cohort (n = 240) and a validation cohort (n = 104) in a 7:3 ratio. The proportion of patients with SSI was not significantly different between the training and validation cohorts, and all baseline characteristics were comparable (P > 0.05). The baseline characteristics of the total, training, and validation cohorts are presented in Table 1. Additional file 1: Table S1 showed the differences in baseline information between the SSI and non-SSI groups.

Table 1 Characteristics of patients in the total, training, and validation cohorts

Univariate and multivariate analyses of risk factors for SSI

Univariate analysis confirmed that the ASA class (odds ratio [OR] 2.242 [95% confidence interval (CI) 1.035–5.03, P = 0.045]), length of hospital stay (OR 1.014 [95% CI 1.008–1.02, P < 0.001]), surgery duration (OR 1.171 [95% CI 1.041–1.333, P = 0.011]), and D-dimer level (OR 1.169 [95% CI 1.049–1.386, P = 0.033]) were significant predictors of SSI occurrence in these patients (Table 2).

Table 2 Univariate and multivariate analyses of factors associated with surgical site infection

We incorporated all risk factors identified by univariate analysis (P < 0.1) into a multivariate logistic regression model to predict the significant independent risk factors. Multivariate logistic regression analysis showed that the risk factors for postoperative SSI included ASA class (OR 1.564, [95% CI 1.029–5.99, P = 0.046]), surgery duration (OR 1.003 [95% CI 1.006–1.019, P < 0.001]), and D-dimer level (OR 1.055 [95% CI 1.022–1.29, P = 0.046]) (Table 2).

Nomogram for predicting SSI

The independent factors identified in the multivariate analysis (surgery duration, ASA class, and D-dimer level) were included in the nomogram predictive model of SSI occurrence using the RMS package in the R software. The total score was calculated by assigning values to the three clinical features. The linear predictor value was obtained from the caliper, and the probability of SSI occurrence was determined (Fig. 1).

Fig. 1
figure 1

A nomogram model for predicting overall risk of surgical site infection after elective orthopedic surgery

We further developed a web calculator based on the nomogram prediction model for clinicians and researchers to predict patients’ SSI probability by simply entering three clinical characteristics (https://jitao.shinyapps.io/dynnomapp/). Using a formula based on our nomogram model, the probability of SSI for patient 3 in the validation cohort was calculated to be 24%, which is close to the result of the web calculator (25%, 95% CI 16.3–36.4), validating the calculator accuracy (Additional file 1: Fig. S1).

Predictive value of the nomogram model for SSI in the training group

The C-index of our nomogram was 0.777 (95% CI 0.672–0.882), which was significantly higher than the NNIS grading C-index of 0.668 (95% CI 0.570–0.766) (Fig. 2A). The calibration curve of the SSI prediction showed that the nomogram-predicted likelihood of developing SSI was in good agreement with the observed development of SSI (Fig. 3A).

Fig. 2
figure 2

ROC curve analysis was used to compare the performance of the nomogram and the NNIS system for predicting surgical site infection in A the training cohort and B the validation cohort. ROC receiver operating characteristic, NNIS national nosocomial infections surveillance

Fig. 3
figure 3

Calibration curves of the nomogram for predicting the risk of surgical site infection in A the training cohort and B the validation cohort

Predictive value of the nomogram model for SSI in the validation cohort

The nomogram also showed higher performance in predicting SSI in the validation cohort, with a C-index of 0.732 (95% CI 0.603–0.861), compared with the C-index of 0.543 (95% CI 0.410–0.677) for the NNIS system (Fig. 2B). In addition, the calibration curve of the SSI forecast showed that the nomogram agreed well with the observed development of SSI. This demonstrates that our nomogram-based prediction model had good predictive performance for the occurrence of SSI in the validation cohort (Fig. 3B).

Comparison of the nomogram and NNIS system

In the training cohort, the nomogram showed favorable predictive performance for SSI detection, with an NPV, PPV, specificity, sensitivity, accuracy, precision, and recall of 0.946, 0.444, 0.906, 0.593, 0.871, 0.444, and 0.593, respectively (Table 3). The nomogram had a higher predictive performance for SSI than the NNIS system (Table 3). The nomogram also showed good performance for SSI in the validation cohort (Table 4). The NPV, PPV, specificity, sensitivity, accuracy, precision, and recall for the nomogram and NNIS system in the validation cohort are summarized in Table 4.

Table 3 Performance of the nomogram model and NNIS system for predicting surgical site infection in the training cohort
Table 4 Performance of the nomogram model and NNIS system for predicting surgical site infection in the validation cohort

DCA showed that the nomogram for predicting SSI was more valuable than the NNIS system in the training cohort (Fig. 4A) and in the validation cohort (Fig. 4B). Therefore, our nomogram outperforms the existing models.

Fig. 4
figure 4

Decision curve analysis for the nomogram and the NNIS system for surgical site infection in A the training cohort and B the validation cohort

Discussion

Despite advances in the management of perioperative nosocomial infections in recent years, SSIs remain a common cause of increased mortality, length of stay, and cost in surgical patients [1, 2]. Our investigation devised a model aimed at predicting the incidence of SSI in individuals undergoing clean orthopedic surgery, thereby proficiently evaluating the risk of SSI among elective aseptic orthopedic patients. Using univariate and multivariate logistic regression analyses, we established that operation time, ASA class, and D-dimer level were independently correlated with a heightened risk of postoperative SSI. Subsequently, the logistic regression model was translated into a visual representation a nomogram. Our nomogram model not only exhibited robust predictive capability and impeccable calibration but also had substantial clinical utility in facilitating informed decision-making for patients within both the training and validation cohorts. Additionally, we extended our efforts to develop an easy-to-use and free-to-access online calculator based on the nomogram model (https://jitao.shinyapps.io/dynnomapp/), an accessible tool designed to enable clinicians and researchers to readily ascertain the probability of postoperative SSI in the special patient populations.

The American College of Surgeons incision grading system stratifies incisions into four distinct grades: grade I, grade II, grade III, and grade IV. Grade I incisions, characterized as clean surgeries, exhibit a propensity for swift and comprehensive healing within a condensed timeframe. Directives formulated by the US Centers for Disease Control and Prevention state that clean surgeries, including of drainage procedures, require no supplementary antibiotic prophylaxis after closure of the surgical incision [2]. Although, compared with other types of surgery, the risk of SSI in patients undergoing clean orthopedic surgery is relatively low, once SSI occurs, it may lead to serious clinical outcome [29, 30].

The NNIS grading system is currently the most widely used clinical tool for predicting the occurrence of SSI and includes three independent and equally important variables: ASA class, surgical incision type, and surgical duration. Through the qualitative classification of these variables, the NNIS system divides the surgical risk into four levels, namely, NNIS level 0, NNIS level 1, NNIS level 2, and NNIS level 3 [14, 15]. However, because all surgical incision types in clean surgery are the same, the NNIS system lacks specificity for clean surgery. Compared to the NNIS system, our nomogram model integrates qualitative and quantitative clinical variables. By assigning values to each clinical variable and intuitively obtaining the occurrence probability of SSI with a 95% CI, the nomogram is more convenient for orthopedic surgeons. More importantly, our predictive model had a higher predictive ability and is more suitable than traditional NNIS system for patients undergoing clean orthopedic surgery.

Similar to the NNIS system, our nomogram included the ASA class and operation time, as they were independent risk variables for SSI. ASA classification is a clinical tool used to assess the risk of developing SSI and severity of potential disease in patients undergoing preoperative anesthesia. Many studies have confirmed that ASA classification can be used for SSI risk stratification [31,32,33,34]. A study of 310 patients who underwent general surgery and were classified as clean or clean-contaminated confirmed that the rate of SSI was significantly higher in patients with ASA class II-III than in patients with ASA class I (P = 0.003). An ASA class > 2 is independently associated with SSI [33]. The duration of surgery is another widely recognized clinical index closely related to the occurrence of SSI. In a study of 825 patients undergoing spinal surgery, operative time (P = 0.0019) and ASA class III (P = 0.0132) were independent risk factors for SSI [32]. Higher ASA classes are associated with more comorbidities and poorer immunity, whereas longer operation time usually indicates higher surgical difficulty and longer incision exposure time, all of which increase the risk of pathogen invasion [32, 35, 36]. Therefore, shortening the operation time, especially in patients with higher ASA classes, can effectively prevent SSI.

Our predictive model also incorporates another laboratory measure, the D-dimer level, which is not included in the NNIS system. Owing to the close relationship between the coagulation system, inflammation, and endothelial injury, an increase in D-dimer levels is also often observed in some non-thrombotic diseases, such as infection, surgery, trauma, heart failure, and malignant tumors [37,38,39]. A multicenter study of patients undergoing revision total joint arthroplasty examined elevated serum C-reactive protein (CRP > 1 mg/dL), D-dimer (> 860 ng/mL), and erythrocyte sedimentation rate (> 30 mm/h), which were assigned 2, 2, and 1 points, respectively, and jointly constructed a new standard for the diagnosis of periprosthetic infection (PJI) with other laboratory indicators; its sensitivity and specificity were significantly higher than those of the Musculoskeletal Infection Association and International Consensus Conference Definition [40]. Another study demonstrated that a serum D-dimer threshold of 0.75 mg/L predicted shoulder PJI with a sensitivity of 86%, specificity of 56%, and area under the curve of 0.74. When serum D-dimer and CRP above thresholds of 0.75 mg/L and 10 mg/L, respectively, were used to predict PJI, the sensitivity and specificity were 57% and 100%, respectively [41]. Therefore, it is necessary to maintain D-dimer levels in patients at normal or even slightly decreased levels to reduce the incidence of SSI [41,42,43,44].

This study had some limitations. First, owing to the retrospective nature of the study, it only included a small number of patients who did not develop SSI, and selection bias was inevitable. Second, some inflammatory indicators that may be related to SSI, such as C-reactive protein and procalcitonin, were missing from our study; the inclusion of these indicators may help improve the predictive accuracy of the model. Third, this was a single-center study. To verify the prediction model, we randomly divided the total cohort into training and internal validation cohorts; however, we still lacked an external validation cohort. In the future, another prospective multicenter study with a larger sample size is needed to further confirm the predictive performance of this model. Finally, models based on more advanced machine learning algorithms or radiomics may be more helpful in providing predictive model accuracy [45,46,47]. Further development of SSI models based on other artificial intelligence is still needed to further improve prediction capabilities.

Conclusions

In conclusion, operation time, ASA class, and D-dimer level are important clinical indicators of postoperative SSI in patients undergoing elective clean orthopedic surgery. The nomogram prediction model based on these clinical characteristics showed strong SSI prediction performance, calibration, and clinical decision-making utility. In addition, we created an online calculator using the nomogram so that orthopedic surgeons and researchers can easily and quickly predict the risk of postoperative SSI and identify patients at high risk as early as possible to reduce the risk of infection.