Fig. 1: Patient selection.

Flow chart of cohort assembly across (A) training and internal validation, B external tests (1–5) and TCIA, D the prospective real-world periods, and (C) geographic distribution of external test cohort patients across Chinese provinces (red-highlighted). Boxes indicate key inclusion/exclusion criteria and final numbers per cohort. Source data are provided as a Source Data file.