EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis

Hualong Zeng, Chengqing Yang, Min Jiang, Xiaohui Luo, Genxiu Luo, Xianyang Chen, Yige Song, Lei Wang, Xiaojun Zhu, Xiaomin Zheng, Hong Wei, Juewei Pan und 1 weitere

Frontiers in Public Health · 22.04.2026 · 14

DOI: 10.3389/fpubh.2026.1768432 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Frontiers in Public Health, online erschienen am 22.04.2026. Verfasst von Hualong Zeng und 12 weiteren Autor:innen. Beteiligte Einrichtung: Sanming First Hospital Affiliated to Fujian Medical University, Sanming, China. Hauptthemen laut MEDLINE: Community-Acquired Pneumonia, Length of Stay. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 20 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

Community-acquired pneumonia (CAP) remains a leading cause of hospitalization worldwide. Accurate prediction of length of stay (LOS) is crucial for optimizing hospital bed turnover, improving clinical resource allocation, and facilitating the development of individualized discharge plans, thereby reducing the strain on healthcare systems.

Methods

We retrospectively analyzed 423 adults hospitalized with CAP from January 2022 to December 2023. Clinical characteristics, laboratory data, comorbidities, and treatment variables were extracted from electronic health records. Univariate and multivariable linear regression models were initially employed to identify independent predictors of LOS. The predictive performance of the final multivariable model was assessed using R 2 , adjusted R 2 , Akaike Information Criterion, and 10-fold cross-validation. To further explain the complex relationship between specific treatment factors and LOS, restricted cubic splines and piecewise regression were utilized, specifically to evaluate non-linear associations and identify clinical inflection points.

Results

The final model showed strong performance (R 2 = 0.864; adjusted R 2 = 0.862). Independent predictors of prolonged LOS included respiratory failure, pressure ulcers, elevated blood urea nitrogen, antibiotic modification during hospitalization, traditional Chinese medicine use, and antibiotic duration. Restricted cubic spline analysis demonstrated a significant non-linear relationship between antibiotic duration and LOS ( P < 0.05). Piecewise regression identified an inflection point at 7.398 days, after which LOS increased more rapidly.

Conclusions

Multiple clinical and treatment-related factors were associated with LOS in CAP. Antibiotic duration showed a pronounced non-linear pattern, with treatment beyond 1 week linked to markedly longer hospitalization. These findings may help identify patients at risk of prolonged LOS and support more efficient clinical decision-making.

Schlagwörter

MeSH-Schlagwörter (MEDLINE)

Community-Acquired PneumoniaLength of StayHumansRetrospective StudiesFemaleMaleAgedMiddle AgedAnti-Bacterial AgentsRegression AnalysisCommunity-Acquired Infections

Stichwörter der Autor:innen

antibiotic durationcommunity-acquired pneumonialength of staynon-linear modelingrestricted cubic spline

Substanzen

Anti-Bacterial Agents

Autor:innen und Institutionen

  • Sanming First Hospital Affiliated to Fujian Medical University, Sanming, China.
  • Biomedical Center, Zhongguancun Big Data Industry Alliance, Beijing, China.
  • Department of Neurology, Beijing Chaoyang Hospital, Capital Medical University, Beijing, China.

Zitieren

APA

Zeng, H., Yang, C., Jiang, M., Luo, X., Luo, G., Chen, X., Song, Y., Wang, L., Zhu, X., Zheng, X., Wei, H., Pan, J., & Lin, F. (2026). Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis. Frontiers in Public Health, 14. https://doi.org/10.3389/fpubh.2026.1768432

Vancouver

Zeng H, Yang C, Jiang M, Luo X, Luo G, Chen X, et al. Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis. Frontiers in Public Health. 2026;14. doi:10.3389/fpubh.2026.1768432

BibTeX
@article{Zeng2026,
  author = {Zeng, Hualong and Yang, Chengqing and Jiang, Min and Luo, Xiaohui and Luo, Genxiu and Chen, Xianyang and Song, Yige and Wang, Lei and Zhu, Xiaojun and Zheng, Xiaomin and Wei, Hong and Pan, Juewei and Lin, Feng},
  title = {Predicting length of hospital stay in community-acquired pneumonia using clinical and treatment factors: a retrospective study with restricted cubic spline and piecewise regression analysis},
  journal = {Frontiers in Public Health},
  year = {2026},
  volume = {14},
  doi = {10.3389/fpubh.2026.1768432}
}
Kostenlos starten →