Published online Jan 28, 2027. doi: 10.3748/wjg.123515
Revised: July 16, 2026
Accepted: September 11, 2026
Published online: January 28, 2027
Processing time: 185 Days and 10.3 Hours
Primary biliary cholangitis (PBC) and primary sclerosing cholangitis (PSC) are chronic immune-mediated cholestatic liver diseases with incompletely under
To evaluate whether spatial and contextual environmental exposures integrated with electronic health record data support pre-diagnostic identification of PBC and PSC.
This retrospective case-control study included PBC or PSC patients whose pre-diagnostic clinical data were linked to residential-history-based environmental data. Environmental variables included water-related contextual factors and air pollutants, including particulate matter, nitrogen dioxide, sulfur dioxide, ozone, and carbon monoxide. Random forest and eXtreme Gradient Boosting (XGBoost) models were developed with propensity score weighting to adjust for baseline covariates and class imbalance. Models were tuned using stratified 5-fold cross-validation within the training set and evaluated on the held-out testing set.
In the held-out testing set, full models incorporating baseline, environmental, and laboratory features achieved area under the receiver operating characteristic curves of 0.901 for PBC and 0.803 for PSC using random forest, and 0.892 for PBC and 0.785 for PSC using XGBoost. Laboratory-derived pre-diagnostic trajectories provided the strongest predictive signal, particularly for PBC. Environmental variables contributed modest but measurable incremental information, with a more apparent contribution observed for PSC. SHapley Additive exPlanations analysis identified liver-related laboratory trajectories and selected air pollution features, including sulfur dioxide, particulate matter 10, and nitrogen dioxide, as contributors to model predictions.
Environmental exposures provided modest complementary pre-diagnostic predictive signals for cholestatic liver diseases, particularly for PSC. These findings support further investigation of environmental exposome factors for risk stratification and early identification of cholestatic liver diseases.
Core Tip: This study examined whether environmental exposures integrated with electronic health record data could support pre-diagnostic identification of primary biliary cholangitis and primary sclerosing cholangitis.