# Staged identification of CAP in fever patients across epidemic environments: modeling & validation

**Authors:** Ziheng Gao, Tengfei Chen, Yanxiang Ha, Yifan Shi, Xiaolong Xu, Bo Li, Qingquan Liu

PMC · DOI: 10.1038/s41598-025-29689-6 · Scientific Reports · 2025-12-18

## TL;DR

A machine learning model was developed to identify community-acquired pneumonia in fever patients using clinical data, improving diagnosis in resource-limited settings.

## Contribution

A novel multimodal fusion model using machine learning and clinical variables to assess CAP risk and classify TCM subtypes in fever patients.

## Key findings

- The β model achieved high internal AUC of 0.93 and external AUC of 0.81 for CAP prediction.
- Latent class analysis identified Cold/Heat syndrome subtypes in CAP patients.
- Online calculators were developed from two models for practical CAP risk assessment.

## Abstract

Diagnosing community-acquired pneumonia (CAP) relies on costly imaging, posing challenges in resource-limited settings. Traditional tools focus on diagnostic tests for clinicians rather than patient use. Additionally, classification of subtypes in traditional Chinese medicine (TCM) lacks criteria. We developed a multimodal fusion model using machine learning algorithms and clinical variables from basic information, medical records, and lab tests to assess CAP risk in fever patients. The model integrates top-performing models via ensemble learning to predict pneumonia probability. We trained on 2,193 visits at Beijing Traditional Chinese Medicine Hospital’s fever clinic from Dec 2021 to Dec 2022, and validated on 300 visits from Jan to July 2024. Use unsupervised learning to classify subtypes. The training cohort included 1,781 CAP and similar patients, with 210 in the external validation cohort. CAPs were diagnosed via chest CT. The α model, based on pre-visit medical records, performed well (AUCinternal=0.80, 95%CI 0.77–0.83; AUCexternal=0.80, 95%CI 0.71–0.87). The β model added four lab indicators, optimizing performance (AUCinternal=0.93, 95%CI 0.92–0.95; AUCexternal=0.81, 95%CI 0.70–0.90). Two models were developed into online calculators. Latent class analysis distinguished Cold/Heat syndrome as subtypes. Despite the single-center, retrospective design, two final models performed good for identifying CAP across epidemic environments.

The online version contains supplementary material available at 10.1038/s41598-025-29689-6.

## Full-text entities

- **Diseases:** fever (MESH:D005334), pneumonia (MESH:D011014), CAP (MESH:D003147), CAPs (MESH:C579969), Cold/Heat syndrome (MESH:D018882)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12770393/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12770393/full.md

## References

10 references — full list in the complete paper: https://tomesphere.com/paper/PMC12770393/full.md

---
Source: https://tomesphere.com/paper/PMC12770393