Introduction

Total hip arthroplasty (THA) is one of the most successful orthopedic procedures in the United States, with improved hip function and quality of life for patients with end-stage osteoarthritis [1,2,3]. In recent years, the aging population has increased THA demand significantly [4, 5], which places an enormous economic burden on the healthcare system [6,7,8]. There are enormous financial and personal costs associated with postoperative complications [9, 10]. Therefore, to reduce costs and postoperative complication rates, recent efforts have focused on predicting independent risk factors and adverse clinical outcomes.

Thyroid hormones play a crucial role in affecting bone and cartilage [11, 12]. Studies have shown that thyroid disease is associated with an increased risk of osteoporosis and fractures [13, 14]. Among people with joint disease, thyroid disease is more prevalent than in the general population, with a prevalence of 18% [15]. Furthermore, Hypothyroidism is associated with an increased risk of Periprosthetic joint infection (PJI) [16, 17].

Although hypothyroidism may increase the risk of postoperative complications, it is not an absolute contraindication to THA. To our knowledge, the impact of hypothyroidism on in-hospital complications and hospital costs after THA has not been previously assessed by large-scale data analysis. Therefore, the study evaluated the influence of hypothyroidism on in-hospital complication rates and hospital costs in patients undergoing THA with the use of the National Inpatient Sample (NIS) database. This study assessed: (1) patient morbidity in hypothyroidism patients undergoing THA, (2) demographic characteristics of patients, (3) surgical and medical complications, (4) the length of hospital stay (LOS) and total hospital costs in patients with hypothyroidism receiving THA.

Methods

Data source

The National Inpatient Sample (NIS) database was employed as the source of data. Since 1998 this database has been considered the largest all-payer inpatient database in the U.S, NIS database collected stratified samples from over 1000 hospitals, accounting for approximately 20% of U.S. inpatient admissions each year [17,18,19]. The NIS database was developed as a part of the Healthcare Billing and Utilization Project (HCUP). It was sponsored by the Agency for Healthcare Research and Quality (AHRQ). The data used in the research were deidentified, hence protecting privacy and confidentiality issues and making the current study exempt.

Data collection

The NIS database was used to collect information on patients undergoing THA surgery from 2005 to 2014. The data collected included demographics, diagnoses and procedures defined by the International Classification of Disease, 9th edition (ICD-9) diagnosis and procedure codes, LOS, hospital costs, and insurance type. ICD-9-CM procedure codes were used to identify THA patients (81.51) (n = 593,045). Patients receiving THA were then divided into two groups, those with hypothyroidism and those without hypothyroidism (ICD-9-CM codes were 244.0/244.1/244.2/244.3/244.8).

Patients undergoing THA were examined for perioperative complications using the ICD-9-CM diagnosis code. When one or more surgical or medical complications have happened, the phrase “any complication” was used. Medical complications included acute postoperative anemia, thrombocytopenia, intubation, acute renal failure (ARF), acute myocardial infarction (AMI), pneumonia, pulmonary embolism (PE), stroke, postoperative delirium (PD), urinary tract infection (UTI), deep vein thrombosis/thrombophlebitis (DVT), sepsis, postoperative shock, and blood transfusion. Surgical complications included wound infection, wound dehiscence, hematoma, irrigation and debridement, injury to peripheral nerve of lower limb, periprosthetic joint infection, mechanical loosening of prosthetic joint, dislocation of prosthetic joint, peri-prosthetic fracture around prosthetic [15, 18, 20]. The LOS was calculated as days from hospital admission to discharge, and the total cost was also collected from the database.

As shown in Fig. 1, patients with pathologic fracture of neck of femur (733.14), femoral neck fracture (820.0–820.9), traumatic pelvic fractures (808.0/808.1), osteomyelitis (730.25), revision THA (81.53), hyperthyroidism (242.0/242.1/242.2/242.3/242.9), age less than 18 years, and non-elective admission (n = 59,283) were excluded. A total of 69,249 hypothyroidism patients who underwent THA from 2005 to 2014 were detected (Table 1).

Fig. 1
figure 1

Flow diagram of complications and hospitalization costs in patients with hypothyroidism following total hip arthroplasty

Table 1 Demographics of total hip arthroplasty patients with and without hypothyroidism

Patient demographics after propensity score matching

The Elixhauser Comorbidity Index (ECI), a rating system designed to estimate the influence of the underlying illness on clinical outcomes, particularly short-term mortality risk, was used to evaluate comorbidities [16, 21, 22]. To mitigate confounding demographic variables, propensity score matching was performed [20]. The ratio of hypothyroid to non-hypothyroid patients was 1:1 at matching, and following propensity score matching, the matched THA cohort had 69,136 hypothyroid THA patients and 69,136 non-hypothyroid THA patients (Table 2). This study randomly chose patients, resulting in two cohorts with the same age, gender, race, ECI, and checkout type distribution.

Table 2 Demographics of hypothyroidism and the matched cohort of total hip arthroplasty patients

Data analysis

All statistical analyses were carried out using the statistical software R version 3.5.3 (The R Foundation Inc.). In this cross-sectional analysis, the cohort consisted of patients with a diagnosis of THA. Surgical complications, postoperative complications, mortality, LOS, and total hospital costs were compared between patients with hypothyroid THA and matched control non-hypothyroid THA patients. Then, to account for possible confounders when comparing perioperative complications, mortality, LOS, and total hospital costs, 1:1 propensity score matching was performed based on age, gender, race, ECI, and insurance type. A multivariate logistic analysis was used to calculate the advantage ratio (AR) of surgical complications and postoperative complications during the as-needed period for patients with hypothyroidism compared to the non-hypothyroid matched cohort. To investigate the effect of interactions between hypothyroidism and comorbidities on LOS and hospitalization costs, parameter estimates of mean LOS and mean total hospitalization costs were calculated using linear regression analysis, describing the linear regression results in terms of percentage differences and reporting the odds ratio (OR) and 95% confidence interval (CI) using the formula (eb − 1) × 100 [23], where b is the log-transformed dependent variable of parameter estimates.

Results

Prevalence of hypothyroidism in THA population

From 2005 to 2014, 533,762 THA instances were identified in the NIS database. Hypothyroidism incidence continuously grew (from 11.11 to 14.16%) and barely dropped in 2014 when compared to the previous year. The overall ten-year incidence of hypothyroidism following THA was 12.97%.

Characteristics of hypothyroid patients

Patients with hypothyroidism were 4 years elder than those without (69 years vs. 65 years, P < 0.0001), and the prevalence was 11.10% higher in those over 75 years (32.97% vs. 21.87%, P < 0.0001).

Perioperative surgical and medical complications

There was a non-significant difference in the probability of any complication, any surgical complication, or any medical complication in hypothyroid individuals compared to the matched sample (Table 3). When the specific medical complications were evaluated, hypothyroid patients have a 1.15 times higher risk of postoperative acute anemia compared with the matched cohort (OR = 1.15; 95% CI = 1.12–1.18; P < 0.0001) (Table 4). There was no statistically significant difference between hypothyroid and non-hypothyroid patients in the assessment of surgical complications (Table 5).

Table 3 Perioperative complications in patient undergoing total hip arthroplasty with or without hypothyroidism
Table 4 Multivariate logistic regression analysis of medical complications in patients undergoing total hip arthroplasty with and without hypothyroidism
Table 5 Multivariate logistic regression analysis of surgical complications in patients undergoing total hip arthroplasty with and without hypothyroidism

Postoperative outcomes in patients with hypothyroidism

Compared with the matched cohort, hypothyroidism significantly increased the average total hospital cost by $1378.48 ($51,306.89 vs. $49,928.41, 95% CI, Ig1.0368–Ig1.4824, P < 0.0001), and the mean LOS for patients with hypothyroidism was 3.31 days, while the non-hypothyroid patients had a mean LOS of 3.34 days (P = 0.0088), and linear regression analysis yielded a mean LOS of 2.3739% less (95% CI, − 4.11 to 0.60, P = 0.0088) (Table 6).

Table 6 Hospital outcomes for patients undergoing total hip arthroplasty with and without hypothyroidism

Discussion

The present study aims to determine whether hypothyroidism conferred an increased risk of complications in patients following THA. According to our results, hypothyroidism may not be a risk factor for increased short-term complication rates in patients receiving THA, and a paucity of studies have focused on short-term complications after surgery. Patients receiving THA did not show a significant interaction between complications and hypothyroidism. Nevertheless, the present study revealed that hypothyroidism significantly increased hospitalization costs. An explanation for this finding may attribute to additional perioperative managements and laboratory tests for hypothyroidism.

In agreement with Tan et al. [15], 12.97% of patients who received THA had hypothyroidism before surgery. However, in this study, the occurrence of perioperative complications in patients with hypothyroidism undergoing THA is lower than that in patients with hypothyroidism receiving other joint replacements [15, 16]. This may be related to well-established perioperative management, with reports that reversing hypothyroidism before joint arthroplasty did not increase surgical risk [24]. Whether hypothyroid patients receiving THA received appropriate hypothyroidism preoperatively was not identified in this study. But compared to the general population, patients with hypothyroidism are more likely to undergo orthopedic surgery, likely because thyroid hormone deficiency can cause degenerative diseases [25, 26].

We found that hypothyroidism was associated with acute postoperative anemia, while postoperative anemia has been reported as a common complication in patients with hypothyroidism undergoing joint replacement surgery [15, 16]. Therefore, some studies aimed to reduce the incidence of perioperative complications in patients with hypothyroidism by adjusting thyroid hormone levels [37]. Some clinical trials have shown that preoperative adjustment of serum TSH and T4 levels in hypothyroid patients resulted in a non-significant difference in transfusion rates compared to controls, suggesting that perioperative blood management and anti-hyperthyroid treatment can mitigate the adverse consequences of bleeding [38]. Moreover, the application of tranexamic acid (TXA) significantly reduced the magnitude of postoperative Hb decline and the chance of patients requiring allogeneic blood transfusion [38,39,40,41]. As we all know, a lab test is an important indicator to diagnose anemia. Whereas, in recent years, there has been controversy over whether the laboratory examination of patients after THA is complete [42, 43]. Some studies have found that most laboratory tests do not affect postoperative management and the most common abnormalities are anemia and hypoproteinemia, which require intervention, while other abnormalities often do not require further treatment, suggesting the need for postoperative laboratory tests based on the patient's preoperative condition [42, 44, 45].

There are some limitations in the present study. As with other large databases studies, there may be coding discrepancies and data entry errors when performing retrospective analyses [46]. As a result, our study might underestimate the incidence of postoperative complications. On the other hand, the data were obtained by screening existed variables in the NIS database and ICD-9 codes, and unfortunately, there was no variable or code documenting the level of fT3, fT4, and thyroid stimulating hormone, making thyroid function undetectable in our study. Likewise, preoperative management on thyroid function could hardly be observed. Therefore, thyroid dysfunction merits further prospective studies to determine the influence of thyroid function management on postoperative outcomes. Another limitation of the study was the lack of a clear length of time to distinguish between short-term and long-term complications, such as 30 and 90 days [46,47,48]. Nonetheless, the present study is that only short-term outcomes were evaluated, so the long-term effects of cup or stem loosening could not be well assessed.

Conclusions

This study shows that hypothyroidism increases the risk of acute postoperative anemia and hospital costs in patients with THA. Improving patient thyroid function and refining appropriate blood management strategies can help patients reduce the incidence of adverse clinical outcomes. Further prospective studies need to be completed to examine whether improving thyroid function reduces hospitalization costs for patients. The results of this study may improve surgeons’ ability to counsel patients preoperatively about the specific risks associated with hypothyroidism and THA.