Abstract
Background: Artificial intelligence (AI) is increasingly promoted as a tool to enhance hospital efficiency and patient care. Yet, the adoption of AI in regional hospitals remains limited, often due to data scarcity, high implementation costs, and concerns regarding compliance with data protection laws. This study investigates how predictive analytics based on minimal datasets—limited to admission and discharge timestamps, enriched with contextual public data—can already provide actionable insights for hospital operations. Methods: Using routine hospital data, we aggregated daily admissions, discharges, and inpatient loads, and combined them with external features such as weather and public holidays. While 30 years of data were available, we demonstrate that a training window of only the most recent five years is sufficient to achieve high predictive accuracy. Random Forest models were applied to forecast patient numbers, with performance assessed via mean absolute error (MAE), mean absolute percentage error (MAPE), and root mean squared error (RMSE). Results: Our models achieved high predictive accuracy, capturing both weekly cycles and seasonal fluctuations. Daily inpatient forecasts reached a MAPE of 2.4%, corresponding to an average error of only 10 patients. Conclusions: Our findings show that low-complexity, data-efficient AI can provide robust forecasts with minimal inputs, lowering barriers to adoption in regional hospitals while maintaining strong compliance with data protection frameworks.
Introduction
While "AI in healthcare" often implies complex deep learning models processing massive genomic or imaging datasets, the reality for regional hospitals is more practical. These facilities frequently face a "triple threat": persistent staff shortages, volatile patient demand, and limited IT infrastructure. Most predictive models are designed for large university hospitals with extensive data pipelines, leaving regional facilities behind due to high implementation costs and GDPR hurdles. This research explores the minimum data required to provide actionable operational insights, prioritizing a "pragmatic AI" approach that is simple, explainable, and low-cost.
Methodology
The study utilized routine hospital data from a regional German hospital (Kliniken Nordoberpfalz AG). The core methodology focused on data efficiency and privacy by design.
Data Aggregation and Feature Engineering
Researchers transformed raw timestamps of patient admissions and discharges into daily counts: total admissions, total discharges, and the "inpatient census" (total patients in beds). To provide context without compromising privacy, this minimal dataset was enriched with publicly available information:
- Meteorological data: Daily minimum, mean, and maximum temperatures.
- Calendar data: Public holidays, school vacations, and weekday/month encodings.
Model Selection and Training
A Random Forest regressor with default hyperparameters (100 trees) was selected for its robustness to noise and ability to handle non-linear relationships with minimal tuning. While 30 years of data (1992–2022) were available, the researchers found that a five-year training window (2017–2022) was optimal to avoid "concept drift" caused by changing medical practices over decades.
Results
The model demonstrated high accuracy across all primary metrics, particularly in predicting the inpatient census, which is critical for bed management and staffing.
As shown in Table 1, the Inpatient Census model achieved a MAPE of 2.4%, representing an average error of only 10 patients per day. Admissions and discharges proved more volatile, with MAPEs between 11% and 14% (an average error of 7–8 patients). Despite this higher relative error, these forecasts remain highly actionable for planning elective procedures and coordinating discharge logistics.
Key Insights and Ideas
The Rhythm of Care
A critical driver of model performance is the inherent cyclicity of hospital operations. Autocorrelation Function (ACF) plots revealed significant spikes every seven days, indicating that weekly rhythms are the dominant temporal feature in patient volume.
Privacy and Implementation
Because the model operates on aggregated daily counts rather than individual patient records, the data is inherently anonymized. This "Privacy by Design" approach bypasses significant legal and ethical barriers to AI adoption. Furthermore, the use of standard, "off-the-shelf" algorithms suggests that regional hospitals do not require specialized data science teams to implement effective predictive tools.
Discussion and Limitations
While the results are promising, the study is limited by its single-site focus and its reliance on volume rather than patient acuity (severity of illness). Additionally, while the model remained robust during the COVID-19 pandemic, extreme "Black Swan" events still pose challenges for purely historical models. Future work may involve benchmarking these results against more complex architectures like Gradient Boosting or Deep Learning to determine if a performance ceiling exists for minimal datasets.
Conclusion
Low-complexity, data-efficient AI can provide robust forecasts with minimal inputs, lowering barriers to adoption in regional hospitals. By focusing on aggregated routine data and public context, hospitals can achieve immediate improvements in operational planning and resource allocation while maintaining strict compliance with data protection frameworks.
Summary updated