Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
Case Report
Clinical research study
Current Issue
Editorial Board
Literature Review
Narrative review
Original Article
Research Article
Review Article
Short Report
Surgical techniques
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
Case Report
Clinical research study
Current Issue
Editorial Board
Literature Review
Narrative review
Original Article
Research Article
Review Article
Short Report
Surgical techniques
View/Download PDF

Translate this page into:

73 (); 177-183
doi:
10.1016/j.jor.2025.12.023

Primary immunodeficiency disorders increase the risk of postoperative complications following total hip and knee arthroplasty: A national matched cohort study

School of Medicine, New York Medical College, Valhalla, NY, USA
UT Health Science Center at San Antonio, San Antonio, TX, USA
Touro University California, Vallejo, CA, USA
Department of Orthopedic Surgery, Rush University Medical Center, Chicago, IL, USA

⁎Corresponding author: Jared Sasaki. jsasaki@student.nymc.edu

Disclaimer:
This article was originally published by Reed Elsevier India Pvt. Ltd. and was migrated to Scientific Scholar after the change of Publisher.

Abstract

Abstract

Total hip (THA) and knee arthroplasty (TKA) are widely successful procedures but remain susceptible to complications. Patients with primary immunodeficiency (PI) conditions may face increased postoperative risks, though data is limited. This study evaluated postoperative outcomes after THA and TKA in PI patients, hypothesizing higher complication rates compared with matched controls.

A retrospective cohort study was conducted using the PearlDiver Mariner database (2010–2020). Patients undergoing primary THA or TKA were identified by CPT codes and matched 1:1 by age, sex, and Charlson Comorbidity Index, obesity, tobacco use, alcohol abuse, and osteoarthritis. Patients with PI conditions were identified with a comprehensive list of International Classification of Diseases (ICD) 9/10 codes. Postoperative complications were assessed at 90 days, 1 year, and 2 years. Multivariable logistic regression was used to identify independent associations with PI status.

After 1:1 matching, PI patients had significantly higher 90-day postoperative incidence of deep vein thrombosis (DVT), pneumonia, urinary tract infection (UTI), and any complication following THA. At 1 year, PI patients were found to have increased odds of periprosthetic joint infection (PJI), DVT, acute kidney injury (AKI), pneumonia, UTI, and any complication. 2 years postoperatively, PI was associated with increased odds of PJI revision. Within 90 days of TKA, PI patients displayed a higher incidence of surgical site infection (SSI), AKI, wound disruption, pneumonia, UTI, readmission, and any complication. After one year, PI patients had higher rates of PJI, SSI, DVT, AKI, wound disruption, pneumonia, UTI, readmission, and any complication. At 2 years follow up, there were no significant differences between groups.

In patients undergoing THA and TKA, PI was associated with significantly higher odds of infectious and medical complications, despite lower overall rates of metabolic comorbidities. These findings highlight the need for PI-specific perioperative protocols to improve both clinical outcomes and economic benefits.

Abstract

Highlights

•PI patients following THA had significantly higher odds of PJI, AKI, DVT, pneumonia, UTI, PJI revision, and any complication.•PI TKA patients had significantly higher odds of PJI, DVT, SSI, AKI, wound disruption, pneumonia, UTI, readmission, and any complication.•PI patients undergoing TJA had significantly worse outcomes despite having significantly higher rates of metabolic disorders.

Keywords

Primary immunodeficiency
Total hip arthroplasty
Total knee arthroplasty
Postoperative outcomes
Periprosthetic joint infection
1

1 Introduction

Total hip arthroplasty (THA) and total knee arthroplasty (TKA) represent cornerstone interventions in orthopedic surgery, with over one million procedures performed annually in the United States and reported 10-year implant survival rates of over 90 %.1–3 These procedures are widely regarded as among the most successful in modern medicine, offering substantial improvements in pain relief, functional mobility, and overall quality of life for patients with end-stage degenerative joint disease.4 Despite these benefits, total joint arthroplasty (TJA) carries inherent risks, including periprosthetic joint infection (PJI), deep vein thrombosis (DVT), pulmonary embolism (PE), and implant loosening.5,6 These complications present significant clinical and economic challenges, often leading to prolonged hospitalizations, reoperations, and diminished functional outcomes.7,8 As such, identifying modifiable and non-modifiable risk factors associated with adverse outcomes after TJA remains a critical priority.

Immunodeficiency disorders comprise a heterogeneous group of conditions characterized by impaired immune system development or function.9 Individuals with these disorders exhibit an increased susceptibility to recurrent infections, autoimmune complications, and malignancy.10 Both inherited (primary) and acquired (secondary) forms of immunodeficiency have been implicated in heightened perioperative risks. Secondary immunodeficiencies, such as those associated with human immunodeficiency virus (HIV), have been relatively well studied, with evidence suggesting an increased risk of postoperative complications, including PJI, following TJA.11–13 In contrast, the impact of primary immunodeficiency (PI) conditions, including common variable immunodeficiency (CVID), X-linked agammaglobulinemia (XLA), and chronic granulomatous disease (CGD), remains poorly defined.10

To date, most evidence regarding postoperative complications in PI patients undergoing TJA has been derived from small case series and isolated case reports. For example, one report described a patient with CVID who developed chronic PJI necessitating knee fusion,14 while another detailed recurrent Streptococcus pneumoniae PJI in a patient with congenital asplenia and autoimmune disease, underscoring the difficulty of eradicating infection in this high-risk population.15 Beyond such reports, no large-scale studies to our knowledge have comprehensively evaluated the association between PI and adverse outcomes after THA or TKA.

Given the biological plausibility and limited preliminary evidence, it is reasonable to suspect that patients with PI may be at elevated risk of postoperative infections, complications, and worse functional outcomes after TJA. However, literature remains insufficient to guide perioperative counseling and risk stratification. To address this gap, the present study leveraged a large, nationally representative administrative claims database to investigate the relationship between PI and the risk of PJI and other short- and long-term postoperative complications following THA and TKA. We hypothesized that patients with PI would have significantly higher odds of adverse outcomes at 90 days, 1 year, and 2 years postoperatively compared with patients without PI disorders.

2

2 Methods

A retrospective cohort study was conducted using the PearlDiver Mariner database (2010–2020) to evaluate postoperative outcomes following primary THA and TKA in patients with primary immunodeficiency. Patients undergoing THA were identified using Current Procedural Terminology (CPT) code 27130 and filtered to include only first-instance procedures with a minimum of two years of follow-up. The same was done for patients undergoing TKA using CPT code 27447. PI was defined using a comprehensive set of International Classification of Diseases, Ninth and Tenth Revisions (ICD-9 and ICD-10) diagnosis codes (Supplementary Table 1) corresponding to PI syndromes, including disorders of humoral immunity, combined immunodeficiencies, and phagocytic function defects.

Patients with a diagnosis of PI prior to the index THA and TKA were assigned to the immunodeficiency cohort, while those without PI were assigned to the control group. Matching was performed in a 1:1 ratio based on age, sex, Charlson Comorbidity Index (CCI), and relevant comorbidities, including obesity, tobacco use, alcohol abuse, and osteoarthritis. Comorbid conditions were identified within one year prior to surgery using standardized PearlDiver comorbidity flags.

Postoperative complications were assessed at 90 days, 1 year, and 2 years following surgery. Complication examined at 90 days and 1 year included surgical site infection (SSI), periprosthetic joint infection (PJI), venous thromboembolism (VTE) (DVT and PE), acute kidney injury (AKI), cardiac arrest, wound disruption, hematoma, nerve injury, pneumonia, urinary tract infection (UTI), transfusion, readmission, reoperation, and any complication. The outcome of “any complication” was defined as hospital readmission, transfusion, AKI, pneumonia, UTI, myocardial infarction, reoperation, or mortality. Longitudinal outcomes at 1 and 2 years included revision THA (CPT 27134, 27137, 27138), revision TKA (CPT 27486, 27487, 27488), hip dislocation, manipulation under anesthesia (MUA), and PJI-related revision.

All complications were identified using diagnosis and procedure codes applied within the respective time intervals following THA and TKA. Readmission was defined as an inpatient admission occurring between 7 and 90 days postoperatively, excluding early (within 7-day) readmissions. Mortality was analyzed separately using a cohort that did not filter for follow-up to avoid exclusion of early postoperative deaths. All-cause mortality at 90 days and 1 year postoperatively was assessed.

Cohort characteristics and comorbidities were compared using chi-square tests for categorical variables and t-tests for continuous variables. Multivariable logistic regression was conducted for each complication to assess the independent association with PI status, adjusting for age, sex, and CCI. Statistical analyses were performed within PearlDiver using built-in analytic commands. This study was deemed exempt from institutional review board oversight due to the de-identified, retrospective nature of the data.

3

3 Results

3.1

3.1 Postmatch baseline demographics and comorbidities

After matching cohorts 1:1 based on age, sex, CCI, obesity, tobacco use, alcohol abuse, and osteoarthritis, 9582 patients (4791 patients with PI and 4791 patients without PI) undergoing THA were included. This analysis revealed that PI patients had significantly higher comorbidity rates of asthma (p < 0.001), COPD (p < 0.001), CKD (p < 0.001), pulmonary heart disease (p = 0.009), rheumatoid arthritis (p < 0.001), cancer (p < 0.001), coagulopathy (p < 0.001), and deficiency anemia (p < 0.001). Patients without PI had significantly higher rates of hypertension (p < 0.001), and diabetes mellitus (p < 0.001) (Table 1).

Table 1 Matched cohort patient demographics and comorbidities for PI and non-PI patients undergoing THA.
Variable PI (N = 4791) No PI (N = 4791) p-value
Age <55 902 (18.8 %) 902 (18.8 %)
Age >55 3889 (81.2 %) 3889 (81.2 %)
Male 1735 (36.2 %) 1735 (36.2 %)
Female 3056 (63.8 %) 3056 (63.8 %)
Asthma 857 (17.9 %) 491 (10.2 %) <0.001
COPD 825 (17.2 %) 508 (10.6 %) <0.001
CKD 666 (13.9 %) 500 (10.4 %) <0.001
CHF 306 (6.4 %) 289 (6.0 %) 0.498
CAD 693 (14.5) 714 (14.9 %) 0.564
Diabetes 932 (19.5 %) 1229 (25.7 %) <0.001
HTN 2586 (54.0 %) 2707 (56.5 %) 0.014
Ischemic Heart Disease 759 (15.8) 820 (17.1 %) 0.098
Pulmonary Heart Disease 47 (1.0 %) 24 (0.5 %) 0.009
Obesity 782 (16.3 %) 764 (15.9 %) 0.637
Osteoarthritis 3873 (80.8 %) 3904 (81.5 %) 0.433
Rheumatoid Arthritis 655 (13.7 %) 263 (5.5 %) <0.001
Tobacco Use 931 (19.4 %) 889 (18.6 %) 0.286
Alcohol Abuse 96 2.0 %) 114 (2.4 %) 0.236
Liver Disease 319 (6.7 %) 315 (6.6 %) 0.902
Cancer 1480 (30.9 %) 1020 (21.3 %) <0.001
Coagulopathy 414 (8.6 %) 189 (3.9 %) <0.001
Deficiency Anemia 1210 (25.3 %) 790 (16.5 %) <0.001

After 1:1 matching of TKA cohorts, 16,476 patients (8238 patients with PI and 8238 patients without PI) were included. Similar trends were seen in the matched cohorts of patients undergoing TKA. Statistically significant increased rates of asthma (p < 0.001), COPD (p < 0.001), osteoarthritis (p < 0.001), rheumatoid arthritis (p < 0.001), liver disease (p < 0.001), cancer (p < 0.001), coagulopathy (p < 0.001), and deficiency anemia (p < 0.001) were seen in the PI cohort. In contrast, there were significantly increased rates of diabetes mellitus (p < 0.001), hypertension (p < 0.001), and ischemic heart disease (p = 0.006) in the no PI cohort (Table 2).

Table 2 Matched cohort patient demographics and comorbidities for PI and non-PI patients undergoing TKA.
Variable PI (N = 8238) No PI (N = 8238) p-value
Age <55 1013 (12.3 %) 1013 (12.3 %)
Age >55 7225 (87.7 %) 7225 (87.7 %)
Male 2397 (29.1 %) 2397 (29.1 %)
Female 5841 (70.9 %) 5841 (70.9 %)
Asthma 1741 (21.1 %) 1038 (12.6 %) <0.001
COPD 1298 (15.8 %) 799 (9.7 %) <0.001
CKD 1003 (12.2 %) 928 (11.3 %) 0.073
CHF 479 (5.8 %) 484 (5.9 %) 0.894
CAD 1206 (14.6 %) 1281 (15.5 %) 0.107
Diabetes 2027 (26.8 %) 2768 (33.6 %) <0.001
HTN 4876 (59.2 %) 5189 (63.0 %) <0.001
Ischemic Heart Disease 1327 (16.1 %) 1459 (17.7 %) 0.006
Pulmonary Heart Disease 57 (0.7 %) 42 (0.5 %) 0.158
Obesity 1942 (23.6 %) 1925 (23.4 %) 0.769
Osteoarthritis 7257 (88.1 %) 7131 (86.6 %) 0.003
Rheumatoid Arthritis 1261 (15.3 %) 498 (6.0 %) <0.001
Tobacco Use 1323 (16.1 %) 1257 (15.3 %) 0.164
Alcohol Abuse 138 (1.7 %) 141 (1.7 %) 0.904
Liver Disease 593 (7.2 %) 463 (5.6 %) <0.001
Cancer 2378 (28.9 %) 1640 (19.9 %) <0.001
Coagulopathy 607 (7.4 %) 298 (3.6 %) <0.001
Deficiency Anemia 1859 (22.6 %) 1193 (14.5 %) <0.001
3.2

3.2 90-day, 1-year, and 2-year postoperative outcomes

A multivariate logistic regression analysis was done on the matched cohorts, controlling for age, sex, and CCI to compare postoperative outcomes between PI and non-PI patients following THA. Within 90 days postoperative, this study found that PI patients had significantly higher incidence of DVT (OR: 1.52 [95 %CI: 1.14–2.04], p = 0.005), pneumonia (OR: 1.59 [95 %CI: 1.22–2.08], p < 0.001), UTI (OR: 1.28 [OR: 1.06–1.52], p = 0.007), and any complication (OR: 1.16 [95 %CI: 1.04–1.28], p = 0.007). At 1 year, PI patients that underwent THA were shown to have significant increased odds of PJI (OR: 1.49 [95 %CI: 1.05–2.13], p = 0.028), DVT (OR: 1.51 [95 %CI: 1.19–1.92], p < 0.001), AKI (OR: 1.33 [95 %CI: 1.11–1.59], p = 0.001), pneumonia (OR: 1.96 [95 %CI: 1.61–2.33], p < 0.001), UTI (OR: 1.33 [95 %CI: 1.18–1.52], p < 0.001), and any complication (OR: 1.32 [95 %CI: 1.20–1.45], p < 0.001). After 2 years postoperative, PI patients were associated with significantly increased odds of PJI revision (OR: 2.17 [95 %CI: 1.12–4.55], p = 0.026) (Tables 3–5).

Table 3 Complications within 90 days in PI vs non-PI patients following THA.
Adverse Events PI (N = 4791) No PI (N = 4791) p-value OR (95 % CI) Adjusted p-value
PJI 49 (1.0 %) 32 (0.7 %) 0.074 1.54 (0.99–2.44) 0.060
SSI 54 (1.1 %) 37 (0.8 %) 0.092 1.47 (0.96–2.22) 0.076
DVT 116 (2.4 %) 77 (1.6 %) 0.006 1.52 (1.142.04) 0.005
PE 17 (0.4 %) 19 (0.4 %) 0.867 0.89 (0.46–1.72) 0.738
AKI 158 (3.3 %) 143 (3.0 %) 0.412 1.11 (0.88–1.41) 0.368
Cardiac Arrest 3 (0.1 %) 3 (0.1 %) 1 0.99 (0.18–5.26) 0.991
Wound Disruption 48 (1.0 %) 43 (0.9 %) 0.674 1.12 (0.74–1.69) 0.598
Hematoma 29 (0.6 %) 27 (0.6 %) 0.893 1.08 (0.63–1.82) 0.790
Pneumonia 142 (3.0 %) 91 (1.9 %) <0.001 1.59 (1.222.08) <0.001
Transfusion 157 (3.3 %) 178 (3.7 %) 0.266 0.88 (0.70–1.09) 0.242
UTI 299 (6.2 %) 239 (5.0 %) 0.009 1.28 (1.061.52) 0.007
Reoperation 68 (1.4 %) 68 (1.4 %) 1 1.00 (0.71–1.41) 1
Readmission 173 (3.6 %) 169 (3.5 %) 0.869 1.02 (0.83–1.27) 0.828
Any Complication 902 (18.8 %) 803 (16.8 %) 0.009 1.16 (1.041.28) 0.007
Table 4 Complications within 1 year in PI vs non-PI patients following THA.
Adverse Events PI (N = 4791) No PI (N = 4791) p-value OR (95 %CI) Adjusted p-value
PJI 77 (1.6 %) 52 (1.1 %) 0.033 1.49 (1.052.13) 0.028
SSI 104 (2.2 %) 87 (1.8 %) 0.242 1.20 (0.90–1.61) 0.216
DVT 171 (3.6 %) 115 (2.4 %) <0.001 1.52 (1.191.92) <0.001
PE 30 (0.6 %) 34 (0.7 %) 0.707 0.88 (0.53–1.45) 0.617
AKI 311 (6.5 %) 240 (5.0 %) 0.002 1.33 (1.111.59) 0.001
Cardiac Arrest 10 (0.2 %) 4 (0.1 %) 0.181 2.50 (0.84–9.09) 0.120
Wound Disruption 73 (1.5 %) 60 (1.3 %) 0.295 1.22 (0.86–1.72) 0.258
Hematoma 46 (1.0 %) 41 (0.9 %) 0.667 1.12 (0.74–1.72) 0.591
Pneumonia 358 (7.5 %) 193 (4.0 %) <0.001 1.96 (1.612.33) <0.001
Transfusion 195 (4.1 %) 216 (4.5 %) 0.313 0.90 (0.74–1.10) 0.287
UTI 661 (13.8 %) 517 (10.8 %) <0.001 1.33 (1.181.52) <0.001
Reoperation 129 (2.7 %) 108 (2.3 %) 0.188 1.20 (0.93–1.56) 0.167
Readmission 173 (3.6 %) 169 (3.5 %) 0.869 1.02 (0.83–1.27) 0.828
Any Complication 1488 (31.1 %) 1230 (25.7 %) <0.001 1.32 (1.201.45) <0.001
Table 5 Complications within 2 years in PI vs non-PI patients following THA.
Adverse Events PI (N = 4791) No PI (N = 4791) p-value OR (95 % CI) Adjusted p-value
PJI Revision 26 (0.5 %) 12 (0.3 %) 0.035 2.17 (1.124.55) 0.026
Hip Dislocation 46 (1.0 %) 38 (0.8 %) 0.443 1.22 (0.79–1.89) 0.382
Any Revision 154 (3.2 %) 128 (2.7 %) 0.131 1.20 (0.95–1.54) 0.116

Patients undergoing TKA were also analyzed at these timepoints. Within 90 days, PI patients had significantly higher odds of SSI (OR: 1.69 [95 %CI: 1.18–2.44], p = 0.005), AKI (OR: 1.28 [95 %CI: 1.05–1.59], p = 0.014), wound disruption (OR: 1.52 [95 %CI: 1.15–2.04], p = 0.003), pneumonia (OR: 1.82 [95 %CI: 1.43–2.27], p < 0.001), UTI (OR: 1.18 [95 %CI: 1.02–1.33], p = 0.022), hospital readmission (OR: 1.72 [95 %CI: 1.33–2.22], p < 0.001), and any complication (OR: 1.20 [95 %CI: 1.10–1.32], p < 0.001). However, patients with PI had significantly lower rates of transfusion (OR: 0.79 [95 %CI: 0.65–0.96], p = 0.018). At 1 year postoperative, PI patients were associated with significantly higher rates of PJI (OR: 1.45 [95 %CI: 1.15–1.82], p = 0.002), SSI (OR: 1.49 [95 %CI: 1.18–1.92], p = 0.001), DVT (OR: 1.32 [95 %CI: 1.10–1.56], p = 0.002), AKI (OR: 1.35 [95 %CI: 1.16–1.56], p < 0.001), wound disruption (OR: 1.67 [95 %CI: 1.32–2.17], p < 0.001), pneumonia (OR: 1.89 [95 %CI: 1.64–2.22], p < 0.001), UTI (OR: 1.25 [95 %CI: 1.14–1.37], p < 0.001), readmission (OR: 1.72 [95 %CI: 1.35–2.22], p < 0.001), and any complication (OR: 1.37 [95 %CI: 1.28–1.47], p < 0.001). After 2 years of follow up, there were no significant differences between PI and non-PI patients (Tables 6–8).

Table 6 Complications within 90 days in PI vs non-PI patients following TKA.
Adverse Events PI (N = 8238) No PI (N = 8238) p-value OR (95 % CI) Adjusted p-value
PJI 93 (1.1 %) 74 (0.9 %) 0.162 1.27 (0.93–1.72) 0.140
SSI 79 (1.0 %) 47 (0.6 %) 0.006 1.69 (1.182.44) 0.005
DVT 186 (2.3 %) 156 (1.9 %) 0.113 1.19 (0.96–1.49) 0.101
PE 42 (0.5 %) 60 (0.7 %) 0.091 0.70 (0.47–1.03) 0.075
AKI 223 (2.7 %) 175 (2.1 %) 0.017 1.28 (1.051.59) 0.014
Cardiac Arrest 3 (0.0 %) 7 (0.1 %) 0.343 0.43 (0.12–1.54) 0.220
Wound Disruption 124 (1.5 %) 82 (1.0 %) 0.004 1.52 (1.122.04) 0.003
Hematoma 46 (0.6 %) 43 (0.5 %) 0.832 1.08 (0.70–1.64) 0.749
Pneumonia 200 (2.4 %) 112 (1.4 %) <0.001 1.59 (1.092.22) <0.001
Transfusion 186 (2.3 %) 234 (2.8 %) 0.020 0.79 (0.650.96) 0.018
UTI 493 (6.0 %) 426 (5.2 %) 0.025 1.18 (1.021.33) 0.022
Reoperation 98 (1.2 %) 77 (0.9 %) 0.129 1.28 (0.94–1.73) 0.111
Readmission 163 (2.0 %) 96 (1.2 %) <0.001 1.72 (1.332.22) <0.001
Any Complication 1378 (16.7 %) 1185 (14.4 %) <0.001 1.20 (1.101.32) <0.001
Table 7 Complications within 1 year in PI vs non-PI patients following TKA.
Adverse Events PI (N = 8238) No PI (N = 8238) p-value OR (95 % CI) Adjusted p-value
PJI 177 (2.1 %) 123 (1.5 %) 0.002 1.45 (1.151.82) 0.002
SSI 164 (2.0 %) 111 (1.3 %) 0.002 1.49 (1.181.92) 0.001
DVT 292 (3.5 %) 224 (2.7 %) 0.003 1.32 (1.101.56) 0.002
PE 62 (0.8 %) 78 (0.9 %) 0.203 0.79 (0.56–1.11) 0.176
AKI 434 (5.3 %) 329 (4.0 %) <0.001 1.35 (1.161.56) <0.001
Cardiac Arrest 13 (0.2 %) 16 (0.2 %) 0.710 0.81 (0.38–1.69) 0.581
Wound Disruption 173 (2.1 %) 104 (1.3 %) <0.001 1.67 (1.322.17) <0.001
Hematoma 65 (0.8 %) 64 (0.8 %) 1 1.02 (0.72–1.45) 0.928
Pneumonia 521 (6.3 %) 285 (3.5 %) <0.001 1.89 (1.642.22) <0.001
Transfusion 243 (6.3 %) 282 (3.4 %) 0.092 0.85 (0.72–1.02) 0.084
UTI 1126 (13.7 %) 933 (11.3 %) <0.001 1.25 (1.141.37) <0.001
Reoperation 192 (2.3 %) 157 (1.9 %) 0.066 1.23 (0.99–1.52) 0.058
Readmission 173 (2.1 %) 102 (1.2 %) <0.001 1.72 (1.352.22) <0.001
Any Complication 2452 (29.8 %) 1963 (23.8 %) <0.001 1.37 (1.281.47) <0.001
Table 8 Complications within 2 years in PI vs non-PI patients following TKA.
Adverse Events PI (N = 8238) No PI (N = 8238) p-value OR (95 % CI) Adjusted p-value
PJI Revision 48 (0.6 %) 38 (0.5 %) 0.331 1.27 (0.83–1.96) 0.280
Periprosthetic Fracture 54 (0.7 %) 39 (0.5 %) 0.145 1.39 (0.93–2.13) 0.119
Implant Loosening 33 (0.4 %) 47 (0.6 %) 0.145 0.70 (0.44–1.09) 0.118
Manipulation Under Anesthesia 339 (4.1 %) 318 (3.9 %) 0.426 1.08 (0.92–1.25) 0.400
Any Revision 272 (3.3 %) 253 (3.1 %) 0.425 1.08 (0.92–1.25) 0.396
4

4 Discussion

In this large, matched cohort study of patients undergoing primary THA and TKA, the presence of PI was associated with a pattern of increased postoperative risk. At both 90 days and 1 year, patients with PI demonstrated higher odds of multiple medical and surgical complications, including pneumonia, UTI, DVT, and, most notably, PJI, with an elevated risk of PJI-related revision persisting through 2 years after THA. Among TKA patients, early wound complications and hospital readmissions were also significantly more frequent in the PI cohort. Taken together, these findings suggest that although PIs are relatively uncommon, impaired host defense mechanisms may increase short- and mid-term postoperative risk following total joint arthroplasty.

4.1

4.1 Periprosthetic joint infection: persistent risk and biological plausibility

The strong association between PI and increased PJI risk, particularly within the first postoperative year, is biologically plausible and supported by mechanistic evidence. Conditions such as CVID and XLA are characterized antibody-deficient phenotypes, where phagocytic defects compromise effective pathogen clearance.16 These immunologic deficits collectively facilitate persistent, biofilm-mediated infections once a prosthetic implant becomes colonized, emphasizing the broader interplay between host immune competence and tissue integration observed across orthopedic biologic applications.17

Case reports illustrate the clinical challenges reflected in our cohort-level findings. For example, chronic PJI culminating in knee fusion has been documented in a patient with CVID,14 and recurrent Streptococcus pneumoniae PJI has been reported in a patient with congenital asplenia, underscoring the difficulty of achieving durable eradication in immunodeficient hosts.15 Importantly, our data demonstrates that this increased risk potentially translates to a persistent need for PJI-related revision at 2 years after THA. This prolonged vulnerability may be related to anatomical and biomechanical factors unique to THA, including deeper soft-tissue envelopes and delayed recognition of early infection.18 Additionally, the increased risk of PJI observed in TJA patients occurred despite the significantly higher prevalence of diabetes mellitus among non-PI patients, a condition that can increase the risk of PJI by 43 %.19

These findings reinforce existing surgical guidelines recommending intensified infection-prevention strategies in immunocompromised populations. Practical considerations include preoperative co-management with immunology specialists, optimization of immunoglobulin replacement therapy for antibody-deficient phenotypes, and meticulous implementation of SSI-prevention bundles, such as chlorhexidine bathing, nasal decolonization where indicated, perioperative glucose control, and heightened vigilance for early signs of infection.9,20

To date little research exists regarding the effectiveness of these interventions for TJAs for those with PI. However, much data has been collected regarding HIV. One meta analysis found that treatment with highly active antiretroviral therapy and optimizing underlying comorbidities lowered the rate of PJI following TJA.21 Future studies should be done to determine if similar optimization of comorbidities and treatment with immunoglobulin replacement therapy are effective for reducing PJI following TJA in patients with PI.

4.2

4.2 Respiratory and urinary vulnerabilities

PI patients also demonstrated significantly higher odds of postoperative pneumonia and UTI after both THA and TKA. These findings are consistent with hallmark vulnerabilities observed across inborn errors of immunity, where recurrent sinopulmonary and urinary infections are central clinical features.9 These observations have direct implications for perioperative optimization. A comprehensive approach should include vaccination review where applicable, aggressive pulmonary hygiene strategies, early mobilization, and prompt evaluation of respiratory or urinary symptoms. Judicious use of empiric and targeted antibiotics in accordance with established guidelines is critical to reducing downstream complications while minimizing antimicrobial resistance.9,20

4.3

4.3 Infection-linked hypercoagulability

Our study also identified a significant increase in DVT risk among PI patients undergoing both THA and TKA. This relationship may be mediated, at least in part, by the interplay between infection and thrombosis. Infection-driven systemic inflammation promotes endothelial activation, platelet aggregation, and cytokine-induced shifts in coagulation pathways.22 Epidemiologic data support this mechanistic link, with prior studies demonstrating a several-fold increase in VTE risk following acute infections.23 Similar to our PJI data, these findings were also found in spite of a significantly increased rate of diabetes mellitus, a comorbidity that can increase the risk of DVT by 45 %19. These findings highlight the importance of guideline-concordant VTE prophylaxis, early postoperative mobilization, and a low threshold for evaluating new lower-extremity symptoms or unexplained dyspnea in PI patients.

4.4

4.4 Renal and wound healing challenges

Beyond infectious complications, PI patients were at increased risk of AKI following both THA and TKA and demonstrated higher rates of wound disruption after TKA. Although causality cannot be established within the confines of this dataset, several plausible contributors exist. Management of postoperative infections often involves nephrotoxic antimicrobials, prolonged hemodynamic stress, and fluid shifts, all of which may compound existing renal vulnerabilities.24 Similarly, baseline comorbidity differences observed in PI patients, such as higher rates of coagulopathy and deficiency anemia, may impair wound healing capacity and tissue integrity. Importantly, these results were found even though hypertension was significantly more prevalent in non-PI patients, as hypertension has been shown to increase the incidence of acute renal failure following TKA procedures.25 From a clinical standpoint, preventive measures such as early hydration, avoidance of redundant nephrotoxins, careful antibiotic selection and dosing, and regimented wound surveillance represent low-cost, high-yield strategies that may help mitigate these risks.

4.5

4.5 Readmissions and system-level burden

Hospital readmissions were significantly more frequent among PI patients undergoing TKA, paralleling the observed increases in early infection and wound disruption. Although we lacked per-case cost data, these findings likely reflect an amplified economic burden. PJI alone is projected to exceed $1.8 billion annually in the United States by 2030, largely driven by revisions, reoperations, and prolonged episodes of care.26 Given the elevated rates of 1-year PJI and PJI-related revisions following THA in our cohort, PI may contribute disproportionately to this rising financial impact. Targeted perioperative optimization strategies, multidisciplinary care pathways, and early escalation protocols tailored to PI patients may represent cost-effective strategies to reduce both clinical and economic burden.20,26

4.6

4.6 Limitations

Several limitations should be considered when interpreting these findings. This study relied on an administrative claims database, which inherently introduces the potential for misclassification bias. Diagnoses, procedures, and complications were identified using ICD and CPT codes, and while comprehensive code sets and validated PearlDiver comorbidity flags were applied, incomplete or inaccurate coding may have led to under or overestimation of true complication rates.

Another important limitation is the lack of granular clinical detail within the dataset. Primary immunodeficiencies encompass a heterogeneous group of disorders ranging from relatively mild antibody deficiencies to severe combined immunologic defects. However, the database does not provide information on PI subtype, baseline immunologic parameters, vaccination history, or use and timing of immunoglobulin replacement therapy. As a result, our findings represent an averaged effect across diverse phenotypes, and risk profiles likely differ considerably among individual subgroups. Future studies incorporating laboratory-confirmed diagnoses and treatment status are needed to better define these nuances.

Similarly, the database does not capture perioperative management variables that may substantially influence outcomes in immunodeficient patients. We were unable to assess surgical techniques, institutional protocols for infection prevention, antibiotic prophylaxis regimens, perioperative glucose control, or standardized wound-care practices. Differences in surgeon experience and hospital volume, which are known to affect arthroplasty outcomes, also could not be evaluated. These unmeasured factors may contribute meaningfully to the associations we observed.

Despite 1:1 matching on age, sex, CCI, and key comorbidities, the possibility of residual confounding remains. Variables such as nutritional status, functional capacity, and adherence to perioperative care pathways were unavailable and may partially explain the elevated complication rates seen in the PI cohort. Additionally, while this is the largest analysis of its kind to date, the relatively low prevalence of patients with PI limited statistical power for rare outcomes, particularly long-term events like PJI-related revision beyond two years.

Finally, the retrospective nature of this study precludes any inference of causality. While our findings are biologically plausible and align with known mechanisms of impaired host defense, prospective studies incorporating detailed immunologic, surgical, and perioperative data are needed to validate these results and guide evidence-based optimization strategies for this vulnerable patient population.

5

5 Conclusion

In this large, matched national cohort of primary THA and TKA, PI was associated with significantly higher odds of both infectious and medical complications, despite having lower overall rates of metabolic comorbidities like diabetes mellitus and hypertension. This data included heightened odds of 1-year PJI, as well as an increased risk of PJI-related revision up to two years after THA. These findings highlight the need for PI-specific perioperative pathways, incorporating immunology co-management, optimized immunoglobulin replacement where indicated, strict infection-prevention bundles, vigilant venous thromboembolism prophylaxis, and rapid evaluation of suspected PI. Given the substantial system-level costs associated with PJI revisions, targeted optimization in this high-risk population may yield both clinical and economic benefits.

Credit author

Jared Sasaki: Writing – review and editing, Methodology, Conceptualization. Catherine Hand: Writing – review and editing, Conceptualization. Francisco Oh: Writing – review and editing. Yuan Liu: Software, Validation. Margot Richards: Writing – review and editing. Kyleen Jan: Writing – review and editing. Morgan Angotti: Writing – review and editing, Supervision. Brian Forsythe: Supervision, Project Administration.

Ethical statement

Institutional Ethical Committee Approval was not needed for this study. However, we upheld publishing ethics as our duty as authors.

Funding statement

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

References

  1. , , , et al . Prevalence of total hip and knee replacement in the United States. J Bone Joint Surg Am. 2015;97(17):1386-1397.
    [Google Scholar]
  2. , , , , , . A scoping review of total hip arthroplasty survival and reoperation rates in patients of 55 years or younger: health services implications for revision surgeries. Arthroplasty Today. 2022;16:247-258.e6.
    [Google Scholar]
  3. , , , , , . Trends in complications and outcomes in patients aged 65 years and younger undergoing total knee arthroplasty: data from the American joint replacement registry. JAAOS Glob Res Rev. 2022;6(6)
    [Google Scholar]
  4. , , , et al . Total joint replacement improves pain, functional quality of life, and health utilities in patients with late-stage knee and hip osteoarthritis for up to 5 years. Clin Rheumatol. 2020;39(3):861-871.
    [Google Scholar]
  5. , , , , , . Venous thromboembolism in total hip and total knee arthroplasty. JAMA Netw Open. 2023;6(12)
    [Google Scholar]
  6. , , , , . Epidemiology of total hip arthroplasty: demographics, comorbidities and outcomes. Arthroplasty Lond Engl. 2023;5(1):2.
    [Google Scholar]
  7. , , , , , . Preventive strategies to reduce the rate of periprosthetic infections in total joint arthroplasty; a comprehensive review. Arch Orthop Trauma Surg. 2024;144(12):5131-5146.
    [Google Scholar]
  8. , , , , , . Economic burden of periprosthetic joint infection in the United States. J Arthroplast. 2012;27(8):61-65.
    [Google Scholar]
  9. , , , et al . Human inborn errors of immunity: 2019 update on the classification from the international union of immunological societies expert committee. J Clin Immunol. 2020;40(1):24-64.
    [Google Scholar]
  10. , , , . Primary immunodeficiency. Allergy Asthma Clin Immunol Off J Can Soc Allergy Clin Immunol. 2018;14(Suppl 2):61.
    [Google Scholar]
  11. , , , , . Periprosthetic joint infection. 2025
    [Google Scholar]
  12. , , , , . Human immunodeficiency virus and total joint arthroplasty: the risk for infection is reduced. J Arthroplast. 2016;31(10):2146-2151.
    [Google Scholar]
  13. , , , , , . Short and long-term postoperative complications following total joint arthroplasty in patients with human immunodeficiency virus, Hepatitis B, or Hepatitis C. J Arthroplast. 2018;33(7S):S86-S92.e1.
    [Google Scholar]
  14. , , , . Bilateral knee arthrodesis in a patient with common variable immunodeficiency. J Arthroplast. 2010;25(7):1169.e13-1169.e16.
    [Google Scholar]
  15. , , , , , , . Streptococcus pneumoniae serotype 6C presenting as recurrent prosthetic knee joint infection in a patient with a history of congenital asplenia and underlying autoimmune disease: a case report and literature review. Diagn Microbiol Infect Dis. 2013;77(4):376-379.
    [Google Scholar]
  16. , , , et al . Toll-like receptors pathway in common variable immune deficiency (CVID) and X-linked agammaglobulinemia (XLA) Eur Cytokine Netw. 2018;29(4):153-158.
    [Google Scholar]
  17. , , . Chronic implant-related bone Infections—Can immune modulation be a therapeutic strategy? Front Immunol. 2019;10
    [Google Scholar]
  18. , , , et al . Diagnosis and management of prosthetic joint infection: clinical practice guidelines by the infectious diseases society of Americaa. Clin Infect Dis. 2013;56(1):e1-e25.
    [Google Scholar]
  19. , , , , . Outcomes of total knee arthroplasty in people with diabetes: an overview of systematic reviews and meta-analysis. J Orthop. 2025;65:336-345.
    [Google Scholar]
  20. , , , et al . Surgical site infection prevention and management in immunocompromised patients: a systematic review of the literature. World J Emerg Surg WJES. 2021;16(1):33.
    [Google Scholar]
  21. , , , , , . Functional outcomes after total knee arthroplasty correlate with spine disability. J Arthroplast. 2016;31(9 Suppl):106-109.
    [Google Scholar]
  22. , , , , , , . Understanding infection-induced thrombosis: lessons learned from animal models. Front Immunol. 2019;10
    [Google Scholar]
  23. , , , , , , . Risk of deep vein thrombosis and pulmonary embolism after acute infection in a community setting. Lancet Lond Engl. 2006;367(9516):1075-1079.
    [Google Scholar]
  24. , , , , . Postoperative acute kidney injury. Clin J Am Soc Nephrol CJASN. 2022;17(10):1535-1545.
    [Google Scholar]
  25. , , , et al . Post-operative complications of total knee arthroplasty in patients with hypertension. Int Orthop. 2023;47(3):701-709.
    [Google Scholar]
  26. , , , et al . Projected economic burden of periprosthetic joint infection of the hip and knee in the United States. J Arthroplast. 2021;36(5):1484-1489.
    [Google Scholar]
Show Sections