Temperature Associations and Direct 1- to 7-Day Emergency Care Demand Forecasting: 3-Year Hospital-Wide Time-Series Study
Background Evidence that simultaneously quantifies local temperature-demand associations and evaluates short-term emergency-demand forecasts with strict temporal separation remains limited. Objective This study aims to estimate short-lag temperature associations with emergency activity and to temporally evaluate direct 1‐ to 7-day forecasts, including whether weather information improves prediction. Methods We analyzed 1096 consecutive days (2023‐2025) from a Hungarian multisite emergency care system. Poisson generalized linear models with heteroskedasticity- and autocorrelation-consistent standard errors were adjusted for weekdays, holidays, calendar time, and fine particulate matter with an aerodynamic diameter of 2.5 μm or less (PM 2.5). Benjamini-Hochberg false discovery rate correction was applied within each prespecified outcome-exposure family and across all 720 models; selected associations were reestimated using negative binomial models. Because death-count missingness was concentrated on weekends, mortality analyses were repeated on weekdays only. Ridge regression and random forest models using calendar, historical outcome, and forecast-origin weather features were compared with seasonal autoregressive integrated moving average with exogenous regressors (SARIMAX) and naive benchmarks. Models were selected by expanding-window validation in 2024 and evaluated once in 2025 using Diebold-Mariano tests and empirical 95% prediction intervals. Results Mean total emergency activity was 544.4 contacts/day (SD 136.9). Maximum temperature ≥36 °C occurred on 17 days and was associated with 4.0% higher total activity (incidence rate ratio [IRR] 1.040, 95% CI 1.016‐1.066; family q =.03; global q =.02); the negative binomial estimates were similar. Pediatric activity was 14.5% higher 1 day after a heat alert (IRR 1.145, 95% CI 1.091‐1.200; global q <.001). No temperature-death association survived multiplicity correction in the all-days analysis; in the weekday-restricted analysis, 1 extreme-heat model survived correction across all 120 mortality models (level-3 heat alert at lag 2: IRR 1.214, 95% CI 1.105‐1.333; global q =.006). Forecast-origin weather did not improve 2024 validation mean absolute error (MAE). In 2025, the selected random forest for total activity achieved a MAE of 34.94 and R ² of 0.855 at 1 day and a MAE of 34.68 and R ² of 0.853 at 7 days; differences from SARIMAX were nonsignificant (P =.20 and .23). For death, SARIMAX had a lower MAE than the prespecified ridge model in the all-days evaluation at 1, 3, and 7 days (5.17 vs 5.64, 5.19 vs 5.78, and 5.17 vs 5.52; P =.008, .004, and .045), but weekday-only comparisons were nonsignificant (P =.40, .08, and .66). Prediction intervals were conservative, with coverage of 98.3% to 98.6% for total activity and 98.5% to 100% for death. Conclusions Extreme heat was associated with service-specific increases, especially in pediatric emergency care, with activity estimates robust to broader multiplicity correction and negative binomial modeling. Mortality associations and death-forecast comparisons were sensitive to day-type restriction and remain exploratory. Historical weather did not improve prediction. Total-demand forecasts were stable across 1 to 7 days, but conservative intervals and model instability argue for prospective, multisite evaluation before operational use.
Authors
- Attila Csaba Nagy (ORCID: https://orcid.org/0000-0002-0554-7350)
- Battamir Ulambayar (ORCID: https://orcid.org/0009-0000-7022-5932)
- Marianna Móré (ORCID: https://orcid.org/0000-0001-5066-0646)
- Dóra Ujvárosy (ORCID: https://orcid.org/0000-0001-6768-170X)
- Szilvia Hegedűs
- Adam Kaposi
- Éva Juhász (ORCID: https://orcid.org/0009-0008-6173-8734)
- Gabriella Gömöri (ORCID: https://orcid.org/0009-0000-5888-7773)
Publication Details
- Journal
- JMIR AI
- Published
- 2026-11-30
- DOI
- https://doi.org/10.2196/109837
- Primary Topic
- Climate Change and Health Impacts
- Type
- article
- Field-Weighted Citation Impact
- 0.00