1. Introduction
Hospital length of stay (LOS) following coronary artery bypass grafting (CABG) is an important indicator not only of clinical recovery but also of hospital resource utilization and surgical service capacity. Prolonged hospitalization may constrain surgical throughput, particularly in high-volume centers, by increasing bed occupancy and staffing requirements. Large database studies have demonstrated substantial interhospital variation in LOS even after adjustment for patient characteristics [
1]. Although preoperative variables explain only part of this variation, postoperative events provide additional information regarding the clinical course and burden of care [
2]. Therefore, separate yet complementary evaluation of preoperative and operative characteristics associated with LOS and the burden of postoperative care is important for local resource planning and the development of integrated enhanced recovery pathways [
3].
Nevertheless, the evidence regarding factors associated with LOS after CABG remains heterogeneous. A recent systematic review identified 56 candidate factors across 20 studies [
4]. Previous studies have varied in sample size, clinical setting, outcome definition, and whether they evaluated intensive care unit or total hospital stay [
5,
6,
7,
8,
9]. Moreover, LOS has frequently been dichotomized. Although threshold-based classification is straightforward to interpret, it may result in loss of information and may separate clinically similar patients around an arbitrary cutoff [
10]. Direct modeling of hospital days, with threshold-based analysis used as a complementary approach, enables a more comprehensive assessment of the burden of hospitalization.
Postoperative atrial fibrillation (POAF), infection, and prolonged mechanical ventilation are common events associated with increased care requirements after cardiac surgery. POAF occurs following approximately 25% of cardiac surgical procedures [
11] and has been associated with various patient- and procedure-related characteristics [
12,
13,
14,
15]. These events reflect the clinical burden during recovery. Evaluating them separately allows preoperative and operative characteristics associated with LOS to be distinguished from contemporaneous postoperative correlates.
The primary aim of this study was to evaluate the adjusted associations of prespecified preoperative and operative factors with cumulative postoperative hospital days among patients who survived to 30 days. Cumulative hospital days were modeled as the primary count outcome, whereas LOS > 7 days was evaluated in the same survivor cohort as a center-specific complementary binary outcome for prolonged hospitalization. Secondary analyses described the hospitalization-level contemporaneous associations of POAF, infection, and prolonged mechanical ventilation with LOS and also evaluated factors associated with POAF, infection, and 30-day mortality. EuroSCORE II was examined solely as an auxiliary local measure of preoperative mortality risk and was not included in the LOS models.
2. Materials and Methods
2.1. Study Design and Population
This single-center retrospective cohort included patients aged ≥ 18 years who underwent elective isolated CABG at Dr. Siyami Ersek Thoracic and Cardiovascular Surgery Training and Research Hospital between January 2020 and September 2025. Of the 1771 patients assessed, 278 were excluded: 2 were younger than 18 years, 248 underwent emergency surgery, and 28 had missing essential records. The final cohort comprised 1493 patients (
Figure 1). Because the excluded records did not contain standardized, analysis-ready covariate data, a formal comparison between included and excluded patients could not be performed. No a priori sample size calculation was performed because all patients who met the eligibility criteria during the study period were included. The study was reported in accordance with the STROBE recommendations.
All procedures were performed via median sternotomy using cardiopulmonary bypass (CPB) and cardioplegic arrest. Decisions regarding graft selection, myocardial protection, perioperative support, extubation, transfer to the intensive care unit, and hospital discharge were made by the responsible clinical teams in accordance with routine institutional practice.
2.2. Data, Variables, and Outcomes
Electronic medical records and operative, anesthesia, perfusion, intensive care unit (ICU), laboratory, echocardiographic, discharge, and 30-day follow-up records were reviewed. Deidentified data were checked for units, coding, logical consistency, and clinical plausibility; body mass index (BMI) and creatinine clearance (CrCl) were recalculated. There were no missing data across the 31 source variables for the 1493 patients, and neither imputation nor winsorization was performed. The number of available observations for each source and derived variable is presented in
Supplementary Table S7. Source records were re-reviewed to classify the anatomical pattern of every documented postoperative infection, verify the year of surgery, and retrieve four variables: documented smoking status, number of grafts, recorded number of red blood cell (RBC) units transfused, and cerebrovascular events. These fields were complete for all 1493 patients. Patient-level reconciliation confirmed the consistency of the 25 prespecified analysis variables across data extractions.
Baseline variables included age, sex, BMI, diabetes mellitus, hypertension, chronic obstructive pulmonary disease (COPD), left ventricular ejection fraction (LVEF), serum creatinine, hemoglobin (Hb), year of surgery, documented smoking status, and EuroSCORE II. CrCl was calculated using the Cockcroft–Gault equation, and chronic kidney impairment (CKI) was defined as CrCl < 60 mL/min. Operative variables included aortic cross-clamp time (CCT), CPB duration, and number of grafts. The number of RBC units transfused was also recorded. Because of the high correlation between CCT and CPB duration (Pearson r = 0.876; Spearman ρ = 0.891; p < 0.001), only CPB duration was included in the primary models. EuroSCORE II was evaluated separately. Infections were classified according to their anatomical sites. Smoking status and number of grafts were used only in post hoc preoperative/operative sensitivity models, whereas RBC transfusion (yes/no and recorded number of units) and cerebrovascular events were used in expanded hospitalization-level sensitivity models.
The primary outcome was the cumulative number of postoperative hospital days among patients who survived to 30 days. Counting began on the date of surgery and included the index hospitalization and the total number of recorded readmission days within 30 days after surgery; time spent outside the hospital was not included. Accordingly, the primary estimand was survivor-specific, and conditioning on survival may introduce selection related to baseline risk and postoperative complications. Patients transferred to another institution for whom complete follow-up information could not be obtained were excluded because of incomplete records. In the whole-cohort sensitivity analysis, the recorded interval from surgery to death was retained for patients who died. This analysis assessed the robustness of the findings to the inclusion of patients who died but did not model discharge and death as competing events.
Because the median LOS among 30-day survivors was 7 days, LOS > 7 days was defined as a data-derived, center-specific complementary binary outcome for prolonged hospitalization.
Other postoperative outcomes included POAF, postoperative infection, new dialysis, prolonged mechanical ventilation, postoperative vasoactive/inotropic support, use of an intra-aortic balloon pump (IABP) or extracorporeal membrane oxygenation (ECMO), cerebrovascular events, and 30-day mortality.
POAF was defined as new-onset atrial fibrillation documented by rhythm monitoring or 12-lead electrocardiography during the index hospitalization. New dialysis was defined as initiation of continuous renal replacement therapy or intermittent hemodialysis in patients not receiving dialysis preoperatively. Prolonged mechanical ventilation was defined as continuous invasive ventilation lasting >24 h after surgery. Postoperative vasoactive/inotropic support included dopamine, dobutamine, epinephrine, or norepinephrine, with no minimum duration requirement. IABP and ECMO use referred to any postoperative use. A cerebrovascular event was defined as a documented postoperative cerebrovascular event. Thirty-day mortality was defined as death from any cause within 30 days after surgery.
Postoperative infection was defined as any infection documented by a clinician during the index hospitalization and ascertained from the medical record, including culture results when available. A uniform Centers for Disease Control and Prevention (CDC) or Society of Thoracic Surgeons (STS) surveillance definition was not applied. Infections were classified as superficial sternal wound infection, saphenous vein harvest-site infection, pneumonia, mediastinitis, or combinations of these conditions. A total of 255 infections were evaluated using this classification.
Because mediastinitis included sternal involvement, this involvement was not counted separately. Superficial sternal infection occurring in the absence of mediastinitis was classified as a separate category. Sepsis was assigned to the documented primary site of infection. Because urinary tract infection could not be reliably identified as a distinct category during broad-spectrum antibiotic therapy, no independent urinary tract infection category was created. Similarly, an independent bloodstream infection category was not defined.
Postoperative events were coded as binary variables according to whether they occurred at any time during the index hospitalization. Exact timing data were unavailable for infection, the first episode of POAF, dialysis initiation, and the course of mechanical ventilation. Consequently, the temporal sequence of these events in relation to accumulated hospital days and prespecified clinical time points could not be determined.
2.3. Statistical Analysis
The primary analysis modeled postoperative hospital days among 30-day survivors using negative binomial regression with a log link. This method was selected because the LOS distribution was right-skewed and overdispersed and provided a better fit than Poisson regression (
Supplementary Table S3). For uncertainty estimation in the negative binomial models, an HC0 sandwich covariance estimator conditional on the estimated dispersion parameter was used. LOS > 7 days was examined using complementary multivariable logistic regression in the same survivor cohort. The postoperative event–LOS models and the models for POAF, infection, and 30-day mortality were secondary analyses; the infection-site analysis was exploratory, and the EuroSCORE II evaluation was auxiliary.
Normally distributed continuous variables are presented as mean ± standard deviation, skewed variables as median [interquartile range], and categorical variables as n (%). Continuous variables were compared using Welch’s t-test or the Mann–Whitney U test, whereas categorical variables were compared using Pearson’s chi-square test or Fisher’s exact test.
Both primary LOS models used the same adjustment set, comprising age, sex, BMI, diabetes, hypertension, COPD, LVEF, CKI, Hb, and CPB duration. Covariates were prespecified based on clinical relevance and the CABG literature; neither univariable p values nor stepwise selection procedures were used. Results are reported as incidence rate ratios (IRRs) or adjusted odds ratios (aORs) with 95% confidence intervals. Continuous variables were scaled per 10-year increase in age, per 5 kg/m2 increase in BMI, per 5-percentage-point decrease in LVEF, per 1 g/dL decrease in Hb, and per 30-min increase in CPB duration.
The primary count model was repeated using log-linear regression, median (τ = 0.50) and 75th-percentile (τ = 0.75) quantile regression, and zero-truncated negative binomial regression with the same covariates. The primary count and LOS > 7 days models were also fitted in the entire cohort, including patients who died. In both survivor-cohort models, age, BMI, LVEF, Hb, and CPB duration were evaluated separately using restricted cubic splines with 3 degrees of freedom and compared with their corresponding linear terms using likelihood-ratio tests; a joint test of nonlinearity was also performed. Year of surgery was additionally entered into both models as a categorical variable, with 2020 as the reference year.
In the secondary LOS models, infection, POAF, new dialysis, and prolonged mechanical ventilation were entered simultaneously as separate terms together with the prespecified covariates. These binary event indicators, which encompassed the entire hospitalization, evaluated only adjusted contemporaneous associations at the hospitalization level and did not assess incremental prediction at a specific time point. Because event-onset times were unavailable, landmark and time-dependent covariate analyses could not be performed. As new dialysis occurred in only nine survivors, the LOS > 7 days model was also repeated using Firth logistic regression.
In the exploratory infection-site analysis, the binary infection term was replaced with five groups: no infection, superficial wound infection only, pneumonia only, mediastinitis without an additional extrasternal focus, and multisite infection. The negative binomial model retained the other baseline, operative, and postoperative covariates; year of surgery was added to the sensitivity model.
The post hoc sensitivity analyses did not alter the prespecified primary model. Smoking status and number of grafts were added to the preoperative/operative LOS models. The expanded hospitalization-level models additionally included any RBC transfusion (recorded number of units > 0; yes/no) and cerebrovascular events. In a separate dose-based sensitivity analysis, the binary transfusion term was replaced with the recorded number of RBC units transfused, scaled per two-unit increase. Because the exact timing of RBC transfusion and cerebrovascular events was unknown, the coefficients for these variables were used solely to assess model stability and were not interpreted causally.
Separate multivariable logistic regression models for POAF and postoperative infection each included nine preoperative variables; CPB duration was added in the sensitivity models. Because only 44 deaths occurred, the mortality analyses were conducted on an exploratory basis, and Firth penalized logistic regression was used to reduce small-sample bias. The 10-parameter multivariable model was retained solely for descriptive comparison. The parsimonious two-variable model included log2-transformed EuroSCORE II and CPB duration. Discrimination, Brier score, calibration intercept, and calibration slope were internally validated using 2000 bootstrap resamples and corrected for optimism. Continuous year of surgery was added to the sensitivity model. The association between POAF and mortality was examined sequentially using an unadjusted model, a model adjusted for baseline and operative factors, and a model additionally adjusted for major postoperative events.
In the auxiliary score analysis, EuroSCORE II was log2-transformed so that each unit increase represented a twofold increase in predicted mortality risk. Its local performance for 30-day mortality was evaluated using the area under the receiver operating characteristic curve (AUC), observed-to-expected mortality ratio, calibration intercept and slope, and Brier score, together with their 95% confidence intervals. The DeLong method was used for the AUC, and bootstrap resampling with 5000 samples was used for the Brier score. This exploratory single-center assessment was not considered model development or external validation. Post hoc exploratory analyses evaluated the association and local discriminatory performance of EuroSCORE II for postoperative infection, the center-specific LOS > 7 days outcome, and postoperative cerebrovascular events. EuroSCORE II was modeled using the log2 transformation, and the results were expressed as odds ratios (ORs) per twofold increase in the score. Apparent discrimination was evaluated using the AUC with DeLong 95% confidence intervals. Analyses of infection and cerebrovascular events were conducted in the entire cohort, whereas LOS analyses were restricted to patients who survived to 30 days. Because EuroSCORE II was developed for mortality, calibration measures and observed-to-expected ratios were not calculated for the other outcomes, and no data-driven threshold was derived.
All tests were two-sided, and
p < 0.05 was considered statistically significant. Analyses were performed using IBM SPSS Statistics for Windows, version 24.0 (IBM Corp., Armonk, NY, USA), R version 4.6.0 (R Foundation for Statistical Computing, Vienna, Austria), and Python version 3.12 (Python Software Foundation, Wilmington, DE, USA) with statsmodels version 0.15.0 (Statsmodels Developers;
https://www.statsmodels.org/). Generative AI was used only for English-language editing and preparation of the graphical abstract; all outputs were reviewed by the authors, and the study data and analyses were independently verified.
4. Discussion
The hospital stay following an elective isolated CABG was not attributable to a single factor. Higher BMI, diabetes, hypertension, COPD, lower LVEF and Hb, and longer CPB duration were associated with more postoperative hospital days among patients who survived to 30 days. Infection, POAF, and prolonged mechanical ventilation were postoperative correlates accompanying longer hospitalization. This distinction is important: preoperative characteristics reflect baseline patient reserve, CPB duration reflects operative burden, and postoperative events reflect the observed recovery course and burden of care.
Modeling LOS primarily as a count outcome preserved the information contained in the number of hospital days. The LOS > 7 days analysis provided a complementary representation that was easier to interpret clinically. The findings were broadly consistent across the alternative count, log-linear, quantile, and entire-cohort analyses. Adjustment for year of surgery changed the primary count-model estimates only modestly, although the association with diabetes was attenuated. In contrast, the LOS > 7 days outcome was more sensitive to changes across calendar years. The decrease in hospitalizations exceeding this threshold, particularly after 2022, suggests that this outcome reflects local discharge practices as well as clinical recovery. Therefore, the primary inferences should be based on cumulative hospital days, whereas the >7-day threshold should be interpreted as a center-specific complementary measure [
1,
10].
Among the baseline characteristics, COPD showed the strongest relative association with LOS. This association also persisted for the LOS > 7 days outcome. Reduced respiratory reserve may delay postoperative mobilization and weaning from respiratory support. However, pulmonary function tests and detailed clinical measures of COPD severity were not recorded. Consequently, a potential dose–response relationship between disease severity and LOS could not be evaluated. Previous studies have also associated COPD and respiratory complications with prolonged hospitalization after CABG [
7,
8,
9].
Preoperative CKI was not associated with LOS after adjustment. This finding does not imply that renal function is clinically unimportant. Restricting the cohort to elective patients may have narrowed the distribution of renal risk. Furthermore, dichotomizing renal function as CrCl < 60 mL/min may have obscured a graded association. Overlap with other comorbidities may also have attenuated the adjusted association [
16].
Higher BMI was associated with longer LOS and postoperative infection but not with POAF or mortality. This difference suggests that the association between BMI and postoperative recovery may vary according to the outcome considered. Diabetes and hypertension were also associated with modest increases in hospital days; however, these associations were not consistent for the LOS > 7 days outcome.
Lower preoperative Hb was associated with longer LOS. Adjustment for year of surgery did not eliminate this association but weakened the evidence of a nonlinear pattern. Therefore, the reported linear IRR should be interpreted as the average association across the observed Hb range rather than as a constant biological effect at all Hb levels. In a cohort of 53,856 patients undergoing elective CABG, anemia was associated with mortality, dialysis, transfusion, and prolonged hospitalization [
17]. Current recommendations also support the preoperative evaluation of anemia and iron deficiency [
18].
The inclusion of only elective isolated CABG cases may have resulted in underrepresentation of patients with severe anemia or those requiring preoperative treatment. This may have narrowed the Hb distribution and attenuated the magnitude of the association. Moreover, data on iron status, the cause of anemia, and the exact timing of RBC transfusion were unavailable. Consequently, the effect of lower Hb could not be fully separated from those of comorbidities, perioperative blood loss, and RBC transfusion. The findings support lower Hb as a marker of reduced hematological reserve rather than establishing anemia as a causal factor.
Longer CPB duration was consistently associated with LOS, POAF, infection, and 30-day mortality. Previous studies have also associated prolonged CPB exposure with adverse outcomes after CABG [
19]. CPB duration may reflect both procedural complexity and the accompanying inflammatory, hemostatic, and perfusion burdens. The association between CPB duration and LOS persisted after the number of grafts was added to the model. In contrast, the small inverse coefficient for the number of grafts should not be interpreted as a protective effect. Both variables represent correlated aspects of operative burden. Similarly, CPB duration should be regarded as a marker of operative burden rather than as a stand-alone quality indicator.
Postoperative events yielded the numerically largest hospitalization-level estimates. Infection, POAF, and prolonged mechanical ventilation were associated with 46%, 19%, and 54% longer expected LOS, respectively. These associations were also pronounced for the complementary >7-day outcome, particularly for prolonged ventilation. The infection-site analysis demonstrated heterogeneity: after adjustment, superficial wound infection alone was not associated with LOS, whereas pneumonia, mediastinitis, and multisite infection were associated with longer LOS. Because only 14 survivors had mediastinitis, the corresponding estimate was imprecise.
These findings are consistent with reports linking arrhythmia, infection, and respiratory failure to hospital stay [
2,
5,
7,
8,
9]. However, postoperative events and LOS were recorded within the same hospitalization, and exact event times were not retained. This limitation makes the direction of the association particularly difficult to determine for infection: a longer hospitalization may provide more time for an infection to develop or be detected, whereas infection may itself delay discharge. Although POAF and prolonged ventilation would clinically be expected to occur during the early postoperative period, the absence of timestamps precluded evaluation of their prospective predictive value at a defined clinical time point. The estimates should therefore be interpreted as contemporaneous hospitalization-level associations rather than causal effects.
POAF developed in 18.6% of patients, a rate slightly lower than the approximately 25% reported after cardiac surgery [
11]. The inclusion of only elective isolated CABG cases and differences in age, monitoring practices, or event definitions may explain this difference. Older age, hypertension, and longer CPB duration were associated with POAF. POAF remained associated with longer LOS after adjustment for the other measured postoperative events. Its association with mortality persisted after adjustment for baseline factors but attenuated after infection, dialysis, and prolonged ventilation were added to the model. This pattern may reflect shared illness severity, overlapping complications, or overadjustment; it does not demonstrate that POAF causes prolonged hospitalization or mortality [
13,
14,
15].
The mortality findings should be interpreted in light of the limited number of events. Because only 44 deaths occurred, all mortality analyses were exploratory. The two-parameter model containing EuroSCORE II and CPB duration had an optimism-corrected AUC of 0.799. Although bootstrap correction indicated little optimism in the apparent performance, it provides no information regarding external validity. Furthermore, although the Firth method reduces small-sample bias, it does not eliminate the risk of overfitting in a 10-parameter model with 44 events. The coefficients from the expanded model should therefore be considered descriptive only. The adjusted associations of age, LVEF, CPB duration, and hemoglobin with 30-day mortality were broadly consistent with previous reports [
16,
17,
20,
21]; however, the limited event count also restricts the precision of these estimates. When evaluated alone, EuroSCORE II showed moderate discrimination (AUC, 0.694) and underestimated mortality (observed-to-expected ratio, 1.44). These findings describe local model performance and should not be generalized without validation in an independent cohort [
22,
23,
24].
The associations of EuroSCORE II with outcomes other than mortality were also examined post hoc. Each twofold increase in the score was associated with postoperative infection (OR, 1.40), LOS > 7 days (OR, 1.39), and cerebrovascular events (OR, 1.76). However, discrimination was poor for infection and LOS > 7 days (AUC, 0.580 and 0.569, respectively). Although the AUC was higher for cerebrovascular events, discrimination remained moderate and was based on only 37 events (AUC, 0.654; 95% CI, 0.560–0.747). These findings therefore do not support using EuroSCORE II as a stand-alone prediction tool for these outcomes. In contrast, infection remained associated with cumulative LOS after adjustment for EuroSCORE II, CPB duration, POAF, new dialysis, and prolonged ventilation (IRR, 1.52; 95% CI, 1.35–1.71). This finding suggests that the infection–LOS association was not fully explained by baseline risk as summarized by EuroSCORE II. However, because the time of infection onset was unknown, this association should be considered contemporaneous and hospitalization-level rather than temporal or causal.
LOS may be relevant to planning postoperative care; however, direct costs, staffing requirements, bed availability, and the use of discharge resources were not measured. Consequently, interpretations regarding resource planning are hypothesis-generating and require prospective evaluation.
Strengths and Limitations
The principal strengths of this study include its large, homogeneous cohort of patients undergoing elective isolated CABG and complete data for the analysis variables. Derived measurements were recalculated and verified. Modeling LOS as a count outcome prevented the loss of information that would result from binary classification. The functional forms of continuous variables were examined, and the findings were tested using alternative models and adjustment for year of surgery. The mortality model was kept parsimonious and internally validated using bootstrap resampling. EuroSCORE II was evaluated separately from the primary LOS models.
Nevertheless, the retrospective, single-center design precludes causal inference and limits generalizability. Excluding emergency procedures reduced the clinical diversity of the cohort. Because standardized covariates were unavailable for the excluded records, the potential effect of selection could not be quantified. The exact onset times of postoperative events were also unknown; therefore, their timing relative to accrued hospital days and their predictive value after a defined clinical time point could not be determined. For infection in particular, the possibility that a longer hospitalization preceded the event and increased the opportunity for its detection could not be excluded. Because landmark and time-dependent covariate analyses could not be performed, the findings concerning postoperative events demonstrate only contemporaneous hospitalization-level associations.
The infection classification was based on retrospective records, and some subgroups were small. Sternal involvement accompanying mediastinitis could not be evaluated separately, and urinary tract and bloodstream infections could not be reliably distinguished as independent categories. Although data on smoking status, number of grafts, RBC transfusion, and cerebrovascular events were complete, misclassification remains possible. The transfused product was red blood cells, and the number of units was recorded; however, exact transfusion times were unavailable. Preoperative atrial fibrillation, POAF burden, frailty, nutritional status, albumin, left atrial size, medication use, and reoperation data were also not recorded. In addition, ICU capacity, access to rehabilitation, discharge destination, caregiver support, and local discharge policies were not measured. These clinical, organizational, and social factors may affect LOS independently of physiological recovery. Residual confounding therefore remains possible, and adjusted estimates should be interpreted as conditional associations rather than causal effects.
Restricting the primary LOS analysis to patients who survived to 30 days may have introduced survivor-selection bias. Similar findings in the entire-cohort analyses supported the robustness of the results to the inclusion of patients who died; however, these analyses could not recover hospital days that were unobservable after death. Because exact discharge and readmission dates were unavailable, a competing-risk analysis of time to first discharge could not be performed. The LOS > 7 days threshold was data-derived, center-specific, and sensitive to year of surgery.
The occurrence of only 44 deaths limited the reliability of the mortality models. Although Firth regression reduces small-sample coefficient bias, it does not eliminate the risk of overfitting, and bootstrap internal validation cannot substitute for external validation. Accordingly, the expanded mortality model and all auxiliary analyses involving EuroSCORE II should be considered exploratory. In particular, the nonmortality analyses do not validate EuroSCORE II as a prediction tool for infection, prolonged LOS, or cerebrovascular events.