Introduction

Lower-extremity total joint arthroplasty procedures are among the fastest-growing procedures performed in the United States [23, 24]. While these procedures are considered safe and cost-effective, periprosthetic joint infection (PJI) after total joint arthroplasty is a rare but devastating complication for patients and their families, and remains a challenging and costly problem to treat, often resulting in permanent disability [14, 20]. Among medical comorbidities of patients undergoing TKA, diabetes mellitus (DM) has been established as one the most common and important disease states associated with an increased risk of postoperative infectious complications [5, 17, 26]. Prior studies have shown higher rates of PJI, wound complications, mortality, increased length of stay, and poorer outcomes in patients with DM undergoing TKA compared with those without DM [15, 17, 19, 2628, 31, 3538, 41]. Unfortunately, the prevalence of patients with DM undergoing TKA has been reported to be progressively increasing, and modifiable risk factors in patients with DM need to be identified to mitigate postoperative complications [21, 30, 39].

For patients with DM undergoing TKA, it generally is accepted that maintaining proper glycemic control during the perioperative period is important in potentially reducing the risk of perioperative complications such as PJI. A substantial amount of research has focused on various glycemic markers during the perioperative period and their association with PJI and wound complications in patients with DM undergoing TKA [1518, 26, 27]. Among these markers, the glycated hemoglobin (HbA1c) level has been used as a common marker for perioperative glycemic control in patients undergoing surgery [17, 18, 26, 40]. The HbA1c level is an accessible and objective laboratory value that provides an integrated view of the patient’s glycemic status during a 2- to 3-month period [33]. The American Diabetes Association guidelines recommend that patients with DM maintain an HbA1c level less than 7% to minimize systemic complications caused by chronic hyperglycemia [2]. Thus, some prior arthroplasty studies have used an HbA1c level of 7% as a cutoff in an attempt to establish a threshold to identify which patients are at higher risk of complications; however, these studies have produced conflicting results and questioned the reliability of this data point as a risk factor for postoperative PJI [1, 18]. Furthermore, other studies have evaluated and suggested thresholds higher than an HbA1c of 7% to prevent postoperative PJI [16, 17]. However, as a whole, these studies have been limited by low patient numbers that have not allowed an adequately powered analysis and stratification of various HbA1c levels to determine whether such a threshold even exists [1618, 26].

We therefore asked: (1) Is there an association between perioperative HbA1c level in patients with diabetes and deep postoperative infection after primary TKA? (2) Is there a threshold level of HbA1c above which the risk of deep postoperative infection after TKA increases in patients with diabetes?

Patients and Methods

Database

An insurance-based database of patient records, the PearlDiver Patient Records Database (www.pearldiverinc.com, Colorado Springs, CO, USA) was used for this study. The PearlDiver database contains data from Medicare and several different private insurers including UnitedHealthcare and Humana. The data for patients from our study were taken from the Humana database in PearlDiver, since the Humana database is the only one that contains laboratory data among the available databases. The PearlDiver Humana database contains procedural volumes, basic patient demographics and laboratory data, and numerous other data for patients with International Classification of Diseases, 9th Revision (ICD-9) diagnoses and procedures or Current Procedural Terminology (CPT) codes. The database covers patients insured from 2007 to the second quarter of 2015. Overall, the database contains data for approximately 20 million patients with orthopaedic diagnoses. The PearlDiver database has been used in other studies [6, 9], however accuracy and attrition of the database is study dependent. In the current study, we were able to look at patients whose records have remained in the database for at least 1 year as evidenced by activity beyond a year. This would represent the absolute minimum number of patients with 1 year followup. For example, there may be a small subset of patients who did not exit the database, but rather did not bill their insurance for the remainder of that year in the database. In the current study, the minimum number of patients with 1 year followup was 86%. We believe that this number is an underestimate owing to some patients having a study endpoint at sooner than 1 year, but not having activity past 1 year, and thus not being counted in the 1-year followup. Finally, we thought it appropriate to include all possible patients, as selecting only those with a minimum activity of 1 year in the database would exclude those with early infections, which is an important endpoint in our study. Finally, all data are deidentified and anonymous, therefore this study was exempt from institutional review board approval.

Study Cohort

The database was first queried for patients who underwent primary TKA using CPT code 27447 and/or ICD-9 procedure code 81.54. To assure that no patients who were undergoing reimplantation of a TKA prosthesis for a previously infected arthroplasty were included in this cohort, all patients with a history of periprosthetic infection (ICD-9 codes 998.51, 998.59, 996.66, 996.69, and/or 996.69), previous arthrotomy for removal of a knee prosthesis (CPT 27488), and/or placement of an antibiotic spacer (ICD-9 procedure codes 80.06 and 84.56 at the same procedure and/or revision TKA CPTs 27486, 27487, 27488, and ICD-9 procedure codes 00.80, 00.81, 00.82, 00.83, 00.84) were excluded. Patients with a diagnosis of DM (ICD-9 250.xx) who underwent TKA and who had an HbA1c level drawn within 3 months before or after their surgical date then were selected to form the study group. Seventeen thousand four hundred thirty-five patients were identified and then grouped in 13 mutually exclusive groups based on their HbA1c level by increments of 0.5 mg/dL, starting with patients with a level of 5.49 mg/dL or less up to patients with a level of 11.5 mg/dL or greater. For patients with multiple HbA1c levels recorded during the queried time, the level taken closest to the date of surgery was chosen. We then identified 25,105 patients with diabetes who underwent a TKA and did not have an HbA1c during the perioperative window of interest for comparison. We queried each group for several comorbidities attributable to diabetes and demographics using ICD-9 diagnostic codes, including microvascular ischemic disease, peripheral vascular disease, metabolic syndrome, polyneuropathy, gastroparesis, chronic renal failure, chronic kidney disease Stages1 through 5, end stage renal disease, age younger than 50 years, 50 to 59 years, 60 to 69 years, and 70 to 79 years, and gender (Table 1). Finally a Charlson Comorbidity Index was queried for each group and compared using a Student’s t-test. Aside from slightly higher rates of polyneuropathy, chronic renal failure, and chronic kidney disease Stages 2 and 3, the two groups were similar in all other measures studied (Table 1).

Table 1 Statistical comparison of patients with diabetes with and without HbA1c values within 3 months of TKA

Infection

The endpoint examined in this study was deep infection after TKA requiring surgical intervention within 1 year. Four separate potential procedures were considered in this definition: irrigation and débridement (CPTs 10180, 20005, or 27310), removal of TKA prosthesis (CPT 27488), Stage I TKA (ICD-9 procedure codes 80.06 and 84.56 at the same procedure) and/or revision TKA (CPTs 27486, 27487, 27488, and ICD-9 procedure codes 00.80, 00.81, 00.82, 00.83, 00.84). To assure that only procedures performed for infection were considered, only procedures with an associated diagnosis code for postoperative or periprosthetic infection (ICD-9s 998.51, 998.59, 996.66, 996.69, and/or 996.69) were included. While the use of the associated ICD-9 codes for periprosthetic infection increase the likelihood that the infections included represented true deep infections, there could be some patients who were coded as such who did not have deep infections, such as those with a sterile seroma or hematoma that underwent irrigation and débridement. Each HbA1c level study group then was queried for deep postoperative infection as defined above within 1 year of the index TKA.

Statistical Analysis

The number of deep postoperative infections requiring surgical intervention was plotted against the HbA1c level group using Microsoft® Excel® (Microsoft Corporation, Redmond, WA, USA) (Fig. 1). These data then were used to construct a receiver operating characteristic (ROC) curve to determine a threshold HbA1c level interval above which the risk of deep postoperative infection was substantially elevated (Fig. 2). This was done by comparing the rate of infection in patients above and below the threshold and performing a chi-square analysis. ROC analysis was performed using SPSS Version 23.0 for Macintosh (IBM Corp, Armonk, NY, USA). Statistical significance of the ROC curve was determined using an area under the curve (AUC) analysis, with a probability less than 0.05 considered statistically significant. The threshold HbA1c level determined by ROC analysis then was tested using a multivariable binomial logistic regression analysis, in which the deep infection rate in patients with HbA1c levels less than the threshold level was compared with the infection rate in patients with HbA1c levels greater than the threshold while controlling for numerous demographic and comorbidity variables that have been cited as risk factors for infection [22, 43]. Variables controlled for in the regression included the following patient demographics: age, sex, BMI, tobacco use, alcohol use, and medical comorbidities (including hypertension, hyperlipidemia, coronary artery disease, congestive heart failure, peripheral vascular disease, chronic kidney disease, chronic lung disease, chronic liver disease, inflammatory arthritis, depression, hypercoagulable disorders, thyroid disease, and current hemodialysis use).

Fig. 1
figure 1

The rate of deep infection after primary TKA within 1 year stratified by HbA1c level within 3 months of surgery is shown.

Fig. 2
figure 2

The receiver operating characteristic (ROC) curve was used to determine a threshold above which the risk of deep postoperative infection was substantially elevated.

Results

The risk of deep postoperative infection resulting in surgical intervention after TKA in patients with DM increased as the perioperative HbA1c increased (Fig. 1). The rate of infection ranged from a low of 0.8% for patients with an HbA1c of 5.49 mg/dL and less up to 3.5% for patients with a HbA1c level greater than 11.5 mg/dL.

The inflection point of the ROC curve corresponded to an HbA1c level between 7.5 and 8.0 mg/dL (p = 0.025; specificity = 77%; sensitivity = 32%), indicating that 8.0 mg/dL might serve as a threshold for increased risk of deep infection (Fig. 2). This ROC curve was an unadjusted analysis of HbA1c plotted against deep infection data as this is the most appropriate way to determine if an HbA1c level alone is useful for decision making. Patients with an HbA1c level of 8.0 mg/dL or greater were more likely to have an infection develop within 1 year of TKA than those who had HbA1c levels less than 8.0 mg/dL (1.63% [41 of 2514] vs 0.98% [147 of 14,921]; adjusted odds ratio, 1.7; 95% CI, 1.2–2.4; p = 0.004). However, our AUC analysis of 0.548 (95% CI, 0.50–0.59; p = 0.025) indicated that while we were able to identify a threshold, the accuracy of this threshold as an independent predictor for postoperative infection after TKA was poor and of limited clinical utility.

Discussion

Numerous authors have identified DM as a risk factor for wound complications and PJI in patients undergoing TKA [12, 15, 19, 31, 35, 36, 41]. Although it is known that achieving proper glycemic control during the perioperative period is important, evidence to support a threshold level of HbA1c above which the risk of postoperative infection after TKA increases in patients with diabetes has yet to be definitively established. In the current study we showed an increasing risk of deep postoperative infection requiring surgical intervention after TKA in patients with DM as the HbA1c level increases. Furthermore, while a ROC analysis determined that an HbA1c level greater than 8.0 mg/dL might serve as a threshold for an increased risk of deep postoperative infection after TKA, our AUC analysis indicated that the accuracy of this threshold as an independent predictor for postoperative infection after TKA was poor and of limited clinical utility.

Our study has several limitations, many of which are inherent to all studies using large administrative databases [3, 7, 8]. First, the power of our analysis relies on the quality of the available data and the accuracy of procedural coding in the database. Thus, miscoding and noncoding by physicians are potential sources of error. As previously discussed, we do believe that the use of associated ICD-9 codes for periprosthetic infection increases the likelihood that the infections included represent true deep infections requiring operative treatment. However, there might be situations where patients were coded as having such infections and after further evaluation or definitive treatment the final diagnosis was changed to a noninfectious cause. Although there are no data reflecting the coding accuracy in the Humana dataset, coding errors in the Medicare population are estimated to be approximately 1.3% [10]. Therefore, although this is a major potential limitation when using administrative databases such as PearlDiver, the overall coding error rate likely mirrors that in larger Medicare populations. Second, there is an inevitable amount of attrition or leakage that occurs from all registries such as the PearlDiver database, and these studies must be viewed in the context of this limitation [3, 7, 32]. As earlier noted, we have estimated the absolute minimum number of patients with 1 year followup for the current study to 86%. However, this is likely an underestimate as some patients had a study endpoint of infection sooner than 1 year, and then may not have had any activity past 1 year, and thus would not be captured in this estimate. We believe it is appropriate to include these patients, as selecting only those with a minimum of 1 year of activity might preclude some patients with early infections, which are endpoints of interest. Third, although DM has been shown to be an important risk factor for PJI developing after TKA, and this was identified again here, there are several other factors that also affect infection risk that are unable to be characterized in the database. These include operative time, indication for surgery, antibiotic cement use, hospital volume, and tourniquet use, among others. This is further evidenced by the results of our AUC analysis, which showed that the HbA1c level alone is not a reliable predictor for deep infection after TKA in these patients, and the cause is likely multifactorial. The statistical package in the PearlDiver database allows limited analyses of the obtained data. While we were able to perform a logistic regression and control for covariates to further evaluate the threshold from the ROC curve, more sophisticated analyses such as bootstrapping were not possible. Thus, the threshold must be evaluated with this limitation in mind. Fourth, although we attempted to accurately represent a large population of interest by using this database, we cannot assure that the database represents a true cross section of the United States population with diabetes, as only one insurer’s data were included in the analysis. However, we found substantially lower rates of several diabetic-induced complications, such as microvascular ischemic disease and polyneuropathy, in our study population with diabetes compared with other published rates in the general population with diabetes [4, 11, 29, 34, 42]. Finally, the findings in our study represent PJI requiring return of patients to the operating room within 1 year of TKA to increase the likelihood that the infection was related to the perioperative management of the TKA, and not another condition or medical or surgical issue that arose. Thus, late infections outside this postoperative window are not captured in our study, which should be considered to describe the risk only during the first postoperative year.

Although diabetes has been well established as a risk factor for postoperative infection after TKA, available evidence regarding the effect of perioperative HbA1c levels on postoperative infection is conflicting. In the current study we were able to sufficiently power an analysis of more than 17,000 patients with DM undergoing TKA to show an increasing risk of deep postoperative infection with increasing perioperative HbA1c levels. This is in contrast to several other studies. Iorio et al. [18] reviewed 2479 primary TKAs and compared patients with and without diabetes and found no association between HbA1c and postoperative infection, leading them to suggest that this marker is not predictive for deep infection after surgery. Adams et al. [1] studied more than 7567 patients with diabetes who underwent primary TKA and also found no association between preoperative HbA1c and postoperative infection, and suggested that other factors besides glycemic control, such as BMI or other comorbid conditions, might be more strongly predictive of infectious complications than HbA1c. Finally, Maradit Kremers et al. [26] reviewed 10,451 TKAs and also found no association with the development of PJI and HbA1c as either a continuous variable or a dichotomized cutoff value of 7 mg/dL. However, in contrast to the above findings, and in agreement with the current study, Stryker et al. [40] reviewed 22 TKAs and reported an increased postoperative risk for wound complications with increasing HbA1c values. These findings were substantiated by Jamsen et al. [19] who reviewed 1565 patients undergoing TKA and found a direct correlation between patients with HbA1c levels greater than 6.5 mg/dL and postoperative infection. We propose that the inability to associate increasing HbA1c with an increasing risk of deep infection in prior studies is largely attributable to inadequate sample size which limits the stratification of HbA1c as a categorical variable. Current studies that support and refute the idea that an increasing HbA1c raises infection risk group patients above and below a selected HbA1c value and then compare infection risk [1, 26, 40]. By sampling more than 17,000 patients we could compare multiple HbA1c points to show an increasing risk of infection with increasing values.

Given the increasing incidence of diabetes among patients undergoing TKA [25, 30], and the enormous financial and personal burdens of PJI, it is critical to identify patients for TKA who are at greater risk for this complication by using clinically accessible and objective risk markers such as HbA1c level. We therefore sought to determine whether any particular HbA1c threshold could identify patients at particular risk for PJI. Although we found that patients with an HbA1c greater than 8.0 mg/dL are at increased risk, this threshold offered poor sensitivity (32%) and intermediate (77%) specificity, and so is not adequate to be used in isolation. Several other studies also have attempted to evaluate various threshold HbA1c levels for predicting postoperative infection with conflicting results [1517]. Harris et al. [16] reported on a cohort of 6088 patients with diabetes from the Veterans Health Administration undergoing total joint arthroplasty and analyzed the functional relationship between HbA1c and complications. They suggested that a presurgical HbA1c of 7% or greater was associated with an increased risk of having at least one surgical complication. However, after performing an analysis using various thresholds from 5% to 9%, they suggested that although lower values of HbA1c generally are associated with lower risk of complications, there was nothing particularly unique about a 7% threshold that has been used by others [1, 18]. In an extrapolated model the risk appeared to increase slowly up to 6.5%, and then rise linearly thereafter, without a discrete cutoff value above which risk jumped substantially. A major limitation of the study was the use of presurgical HbA1c values recorded up to a year before surgery, in addition to grouping complications, such as wound infection and PJI, among other medical complications.

Other studies have examined higher HbA1c thresholds and their association with infection- specific complications [15, 17]. Hwang et al. [17] retrospectively studied 464 patients with DM who underwent a total of 714 TKAs and found that an HbA1c of 8% or greater was associated with an increased risk (odds ratio [OR]. 6.1; 95% CI, 1.6–23.4; p = 0.008) of superficial surgical site infection, although no patients had a deep infection resulting in return to the operating room. Furthermore, they concluded that an increasing risk for superficial infection is found with increasing HbA1c levels, and suggested that the threshold level is likely higher than the 7% level suggested by others [1, 18]. This is in agreement with a study by Han and Kang [15], who also reported an association between HbA1c levels of 8% or greater and wound complications but no association with deep infection requiring subsequent procedures. However, a major limitation of their study is the low number of patients with diabetes who underwent a total of 714 TKAs. Consequently, they were unable to perform an analysis of patients with deep infection resulting in return to the operating room as an endpoint, because there were no patients with this complication in their cohort. Furnes [13], in a study from the Norwegian Arthroplasty Registry, reported that 13,373 procedures would be necessary to detect a difference of one percentage point in revision rate between two groups. This substantial sample size is likely unobtainable from a single retrospective institutional database. In the current study, by using a national database, we were able to review more than 17,000 patients with DM who underwent TKA. By evaluating this large number of patients we found that as HbA1c levels increase, so does the risk of return to the operating room to treat deep prosthetic infection. While prior studies have identified HbA1c thresholds, limited patient numbers have prevented an adequate evaluation of these thresholds as independent discriminators for postoperative infection and thus their clinical utility remains largely unknown [1517]. In the current study we were able to identify and evaluate a threshold indicated from our ROC analysis and found that HbA1c as a stand-alone laboratory value is a poor predictor of PJI.

We believe that although an HbA1c level greater than 8.0 mg/dL is helpful and should be referenced when stratifying a patient’s infection risk, it must be interpreted in the context of the patient’s other risk factors for PJI. Furthermore, we suggest obtaining an updated HbA1c level before TKA in patients with diabetes as there is an increasing risk of infection with higher HbA1c levels. Further research is needed to examine potential confounders associated with glycemic control that affect infection risk, and how these could be combined to create a more accurate and clinically useful picture of infection risk in patients with diabetes. Additional research also is needed to determine whether modifying HbA1c levels before TKA will decrease the subsequent risk of infection after TKA.