Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 57,037 characters · extracted from preprint-html · click to expand
Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data View ORCID Profile Martin S. Wohlfender , View ORCID Profile Judith A. Bouman , View ORCID Profile Olga Endrich , View ORCID Profile Alban Ramette , View ORCID Profile Alexander B. Leichtle , View ORCID Profile Guido Beldi , View ORCID Profile Christian L. Althaus , View ORCID Profile Julien Riou doi: https://doi.org/10.1101/2025.05.21.25328056 Martin S. Wohlfender a Institute of Social and Preventive Medicine, University of Bern , Bern, Switzerland b Graduate School for Cellular and Biomedical Sciences, University of Bern , Bern, Switzerland c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Martin S. Wohlfender For correspondence: martin.wohlfender{at}unibe.ch Judith A. Bouman a Institute of Social and Preventive Medicine, University of Bern , Bern, Switzerland c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Judith A. Bouman Olga Endrich d Medical Directorate, Inselspital, Bern University Hospital , Bern, Switzerland e Institute of Clinical Chemistry, Bern University Hospital , Bern, Switzerland f Bern Center for Precision Medicine, University of Bern , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Olga Endrich Alban Ramette c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland h Institute for Infectious Diseases, University of Bern , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Alban Ramette Alexander B. Leichtle c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland i Center of Laboratory Medicine, Bern University Hospital , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Alexander B. Leichtle Guido Beldi c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland g Department for Visceral Surgery and Medicine, Bern University Hospital , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Guido Beldi Christian L. Althaus a Institute of Social and Preventive Medicine, University of Bern , Bern, Switzerland c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Christian L. Althaus Julien Riou a Institute of Social and Preventive Medicine, University of Bern , Bern, Switzerland c Multidisciplinary Center for Infectious Diseases, University of Bern , Bern, Switzerland j Department of Epidemiology and Health Systems , Unisanté, Center for Primary Care and Public Health & University of Lausanne , Lausanne, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Julien Riou Abstract Full Text Info/History Metrics Supplementary material Data/Code Preview PDF Abstract During the COVID-19 pandemic, the field of infectious disease modeling advanced rapidly, with forecasting tools developed to track trends in transmission dynamics and anticipate potential shortages of critical resources such as hospital capacity. In this study, we compared short-term forecasting approaches for COVID-19 hospital admissions that generate forecasts one to five weeks ahead, using retrospective electronic health records. We extracted different features (e.g., daily emergency department visits) from an individual-level patient dataset covering six hospitals located in the region of Bern, Switzerland from February 2020 to June 2023. We then applied five methods – last-observation carried forward (baseline), linear regression, XGBoost and two types of neural networks – to time series using a leave-future-out training scheme with multiple cutting points and optimized hyperparameters. Performance was evaluated using the root mean square error between forecasts and observations. Generally, we found that XGBoost outperformed the other methods in predicting future hospital admissions. Our results also show that adding features such as the number of hospital admissions with fever and augmenting hospital data with measurements of viral concentration in wastewater improves forecast accuracy. This study offers a thorough and systematic comparison of methods applicable to routine hospital data for real-time epidemic forecasting. With the increasing availability and volume of electronic health records, improved forecasting methods will contribute to more precise and timely information during epidemic waves of COVID-19 and other respiratory viruses, thereby strengthening evidence-based public health decision-making. 1. Introduction The COVID-19 pandemic has highlighted the need for reliable infectious disease monitoring and forecasting systems. As SARS-CoV-2 spread globally, researchers, healthcare professionals, public health authorities, and governments undertook extensive efforts to mitigate its impact and control transmission dynamics. A key priority was to ensure that hospital capacity, particularly in intensive care units, was not exceeded. Whenever hospital capacities were exceeded, hospitals were forced to implement crisis care standards, including treatment protocol classifications that prioritized patients with the highest probability of survival, often leading to delayed or reduced care for other patients. This also resulted in the postponement of elective procedures, in increased stress and burnout among healthcare workers, and in higher mortality rates due to limited access to critical resources such as ICU beds and ventilators ( Anderegg et al., 2022 ; Didriksson et al., 2022 ). In such situations, short-term forecasts aimed at anticipating new hospital admissions a few weeks in advance can be invaluable for public health decision makers and hospital management. Researchers worldwide have applied numerous approaches to forecast the spread and impact of SARS-CoV-2 in different settings based on various types of data. Due to increasing digitization, substantially more data reflecting various aspects of the pathogen were collected during the COVID-19 pandemic compared to the historic major infectious disease outbreaks. Examples of such data are wearable or smartphone sensor data ( Grantz et al., 2020 ), viral genome sequences ( Shu and McCauley, 2017 ; Furuse, 2021 ; CDC, 2024 ; Hodcroft et al., 2025 ), viral load measurements in wastewater ( Morvan et al., 2022 ; Jahn et al., 2022 ), and electronic health records from hospitals and medical practices ( Qian et al., 2021 ). A wide variety of methods have been used to produce forecasts, including mechanistic models (e.g., deterministic or stochastic compartmental models, agent-based models), statistical time series models (e.g., ARIMA, exponential smoothing, regression) and machine learning methods (e.g., tree-based models, neural networks) ( Kraemer et al., 2025 ). In both the United States and Europe, groups of scientists developed standardized forecasting pipelines for COVID-19 cases, hospital admissions, and deaths in different geographic regions ( Cramer et al., 2021 ; ECDC, 2021 , 2023 ). This allowed the combination of multiple models from different groups into an ensemble forecast with a single cone of uncertainty. Hospital capacity is an important indicator when planning public health interventions during major outbreak of an infectious disease. Therefore, models that provide estimates of expected admissions to hospitals on a national or local level in the coming weeks can be of great benefit for taking decisions on the introduction of public health measures. One approach has been to systematically test for infection with SARS-CoV-2 all patients hospitalized for elective procedures, which outperformed state-based data in predicting the local clinical burden( Covello et al., 2021 ). Furthermore, more detailed hospital data like ICU admission and discharge or ambulance service and emergency unit notes have been used for predicting COVID-19-related hospital admissions within a region ( Qian et al., 2021 ; Ferté et al., 2022 ). Augmenting data extracted from electronic health records with exogenous variables like weather or mobility data also lead to more accurate forecasts of local COVID-19 related hospital admissions compared to using hospital data alone Ferté et al. (2022) ; Zhang et al. (2022) ; Klein et al. (2023) . In this study, we compared the performance of different machine learning models to forecast the number of COVID-19 hospital admissions based on routinely collected electronic health records (EHR) and wastewater data. We hypothesized that quantities such as the occupancy of a hospital’s emergency ward, vital signs of hospital patients such as fever, or measurements of viral load in wastewater have high predictive power for short-term forecasting of COVID-19-related hospital admissions and lead to more accurate predictions than relying on the number of hospital admissions in the previous days alone. First, we extracted candidate variables that could have high predictive power for the spread of SARS-CoV-2 from a large individual patient-level EHR dataset from six hospitals in the Bern region, Switzerland, in the period from February 2020 to June 2023. Second, we trained different machine learning models with different combinations of features on the data to forecast the number of COVID-19 hospital admissions up to five weeks in advance. Third, we evaluated the performance of the models in comparison to a baseline model across different forecasting setups. 2. Data and Methods 2.1. Forecasting setup This study aimed to validate and compare methods for forecasting the weekly number of COVID-19 hospital admissions up to five weeks in advance, using routinely collected hospital data from the previous days. As a case study, we drew on electronic health records (EHR) data from six hospitals belonging to the Insel Gruppe network, all located in the region of Bern, Switzerland, collected from 25 February 2020, the day the first COVID-19 case was detected in Switzerland ( FOPH, Federal Office of Public Health, 2020 ), and 30 June 2023 (full study period). We adopted a retrospective approach by applying five forecasting models to historical time series data – where outcomes are already known – enabling a comparison of the performance of each method. We employed a leave-future-out strategy incorporating 12 separate test datasets, each covering a period of two to four months. We selected the 12 cut-off points based on peaks and valleys of the daily time series of COVID-19 hospital admissions in the next seven days (Supplementary Figure S1 A and B of Appendix A). The training datasets contained all data collected before the respective cut-off point (Supplementary Figure S1 C and D of Appendix A). The target week was defined as the sliding seven-day window for which hospital admissions were forecast with the trained models ( Figure 1 ). We systematically varied the forecasting horizon k (i.e., the gap between the last day of observed data and the start of the target week) and the lookback window p (i.e., the number of past days of data included in the model). More formally, placing ourselves at time t , we used data from days {t−p, t−p +1 , … , t− 1 } to forecast the number of COVID-19 hospital admissions during the target week {t + k, t + k + 1 , … , t + k + 6 } . In our analysis, we used the following sets k = { 0, 7, 14, 21, 28 } and p = { 7, 14, 21, 28, 35 } . We did not consider forecasting horizons beyond five weeks as transmission dynamics – and the many factors that influence them – are likely to shift rapidly within that period ( Holmdahl and Buckee, 2020 ). Download figure Open in new tab Figure 1: Forecasting setups. The forecasting horizon k corresponds to the gap between the last day of observed data and the start of the target week. The lookback window p is the number of past days of data included in the model. Day t corresponds to the start of a testing period. 2.2. Electronic health records data We obtained individual-level electronic health records (EHR) from the Insel Gruppe hospital network (inselgruppe.ch) in the canton of Bern, Switzerland. During the study period, this hospital network comprised Bern University Hospital, which is one of the five first-level university general hospitals of Switzerland, as well as five other hospitals (Aarberg, Belp, Münsingen, Riggisberg and Tiefenau) that are second-level general hospitals ( FOPH, Federal Office of Public Health, 2023 ). In 2023, about 57,000 inpatients and 900,000 outpatients were treated at Insel Gruppe hospitals ( Inselgruppe, 2023 ). The full dataset covers the period from 1 January 2014 to 30 June 2023. It contains personal information about patients (e.g., age and sex), details of their hospital stay (e.g., dates of admission and discharge, hospital ward), as well as various clinical and laboratory measurements (e.g., body temperature, blood pressure, C-reactive protein [CRP] concentration). In addition, diagnoses of inpatients were recorded using ICD10 codes ( WHO, 2019 ). These codes were assigned after discharge by trained medical coders based on the clinical documentation – including medical doctors’ notes, laboratory results, and imaging reports. This process is primarily done for administrative and financial purposes, but can be leveraged for epidemiological monitoring (Demont et al.). 2.3. Wastewater data In addition to EHR, we included measurements of the concentration of SARS-CoV-2 RNA in wastewater. We used wastewater samples collected daily at the Sensetal Laupen treatment plant between 16 November 2021 and 30 June 2023 (partial study period) as part of a wastewater surveillance program coordinated by the Swiss Federal Institute of Aquatic Science and Technology (Eawag) and the Swiss Federal Office of Public Health (FOPH) ( Eawag, 2021 ). As process control identified a possible underestimation by approximately 30% of the SARS-CoV-2 viral load in wastewater during summer 2022, there is a five-week interruption in the data between 13 July and 16 August 2022. This plant covers approximately 62,000 people living in an area west of the city of Bern, overlapping with the of the catchment area of the Insel Gruppe hospital network. Samples were stored on-site at 4 ° C and transported in batches to a laboratory for concentration, nucleic acid extraction, and quantification using qPCR. Further details on the wastewater sample laboratory procedures are available elsewhere (Huisman et al.). 2.4. Data processing These raw data were processed to create 25 daily time series ( Figure 2 ) in three steps. First, we identified COVID-19-related hospital admissions using the ICD10 code U07.1 (“ COVID-19, virus identified ” WHO (2019) ) and created daily time series. We then smoothed this time series using a seven-day moving sum to reduce day to day fluctuations and focus on the actual trend of the time series. The entry at day t of the smoothed daily time series corresponds to the total number of COVID-19-related hospital admissions during days t to t + 6. This time series was used as the target variable in all models. Furthermore, we stratified COVID-19 hospital admissions into five age groups: Ages ≤ 4, 5 − 14, 15 − 29, 30 − 64 and ≥ 65 years. Second, we created several other daily time series to be used as features in the models. These included the number of patients seeking care at the emergency department of Bern University Hospital, from both patients that were admitted to another hospital ward afterwards as well as patients discharged directly. Next, we identified the daily number of hospital admissions including a diagnosis belonging to one of five ICD10 chapters (R, I, E, J or Z), belonging to one of five ICD10 categories (E87, J12, J96, I10, N18) or including one of five specific ICD10 codes (J12.8, I10.90, J96.00, Z22.8, or B33.8) (details about each code are available in Table 1 ). These chapters, categories and codes were selected on the basis of the frequency with which they appear together with the ICD10 code U07.1 in patients’ diagnoses. We also determined the daily number of inpatients admitted to hospital with fever ( ≥ 38.5 ◦ C) and the daily number of inpatients admitted to hospital with a high CRP concentration ( ≥ 50 mg / l). Third, we processed SARS-CoV-2 wastewater concentration data by 1) normalizing measurement using the flow of wastewater on the sampling day as in common practice (Huisman et al.), and 2) filling missing values using linear interpolation. Note that wastewater data were only available for a shorter time period, referred to as the partial study period in the following. From these 25 times series, we built 9 feature sets for the full study period referred to by letters A to I (without wastewater) and 3 additional feature sets for only the partial study period referred to by letters J to L (with wastewater) ( Tables 2 and 3 ). Download figure Open in new tab Figure 2: Temporal profile of model variables. Variables are extracted from electronic health records and wastewater data. All time series are normalized and on a daily level. View this table: View inline View popup Download powerpoint Table 1: Summary characteristics of model variables. Abbreviation, definition and use in feature sets of all input variables extracted from electronic health records (EHR) and wastewater data. Sum, mean, minimum and maximum are taken across all days of the full study period for the EHR data and across all days of the partial study period for the wastewater data. The unit of the variables extracted from EHR data is the number of new hospital admissions fulfilling a certain criterion per day. The unit of the viral load in wastewater samples is the number of SARS-CoV-2 RNA copies per 100, 000 people in the collection area and day. View this table: View inline View popup Download powerpoint Table 2: Summary of model performance for the full study period (25 February 2020 to 30 June 2023). For each model and feature set, the summary score was computed as the geometric mean of the ratios of the root mean square error (RMSE) over the baseline RMSE across all combinations of forecasting horizon k , lookback window p , and train-test split. The proportion of forecasts where the RMSE is lower than the baseline is shown in parentheses. View this table: View inline View popup Download powerpoint Table 3: Summary of model performance for the partial study period (16 November 2021 to 30 June 2023). For each model and feature set, the summary score was computed as the geometric mean of the ratios of the root mean square error (RMSE) over the baseline RMSE across all combinations of forecasting horizon k , look-back window p , and train-test split. The proportion of forecasts where the RMSE is lower than the baseline is shown in parentheses. 2.5. Models We applied several supervised machine learning models, each based on a different algorithm, to forecast COVID-19 hospital admissions. We selected last observation carried forward (LOCF) to serve as the baseline for performance comparison. Four models were evaluated : (1) a simple linear regression (LR) model (using base R lm function), (2) a recurrent neural network (RNN) (using Python library Keras ( Chollet et al., 2015 )), 3) a long short-term memory (LSTM) neural network model ( Hochreiter and Schmidhuber, 1997 ) (using Python library Keras ( Chollet et al., 2015 )), and 4) a gradient boosting model (XGBoost) ( XGBoost community, 2025 ) (using R package xgboost ( Chen et al., 2024 )). For both RNN and LSTM, we used a grid-search strategy to optimize the architecture of the network, the activation function and several hyperparameters (144 combinations each). For XGBoost, we evaluated 864 combinations of hyperparameters, including maximal tree depth. In all cases, the optimization of hyperparameters was based on the root mean square error (RMSE) between forecasts and observations in the test set. A complete list of all hyperparameters for all models is included in Supplementary Table S1 of Appendix A. Model forecasts of COVID-19 hospital admissions were directly taken as forecasts in the case of XGBoost, while for the RNN and LSTM models forecasts were averaged over 50 independent runs (i.e., the forecasts correspond to an ensemble mean taken sample-wise across 50 independent runs of the same model with different random seeds). 2.6. Evaluation of model performance We used a summary score based on RMSE to evaluate the predictive performance of the different models to forecast COVID-19 hospital admissions in comparison to the baseline model LOCF across a range of experimental conditions. For a collection of forecasts, we first determined for each the RMSE between forecast and observed values in the respective test set. Second, we divided the obtained number by the RMSE resulting from the forecast of the baseline model LOCF in the same conditions. Finally, we aggregated these ratios into a single number by computing their geometric mean. We included a more formal definition of the summary score in Chapter 1.5 of Appendix A. This metric was computed for every combination of model and feature set, separately for the full (without wastewater) and the partial study period (with wastewater). As an additional metric for these collections of forecasts, we computed the percentage of forecasts that achieved a lower RMSE than the forecast of the baseline model LOCF with the same forecasting horizon k . We also computed the summary score within additional levels of stratification (e.g., for each combination of k and p ) to identify which models performed best across different conditions. The summary score provided a clear and interpretable measure of performance: values below 1 indicate that on average the model forecasts considered are more accurate than the forecasts of the baseline model LOCF, while values above 1 suggest inferior performance. 2.7. Data and code availability All code written in R and Python as well as some data and results files are publicly available in the GitHub repository (github.com/mwohlfender/ hospital_admission_forecasting). Due to data protection regulations we can not make the full hospital dataset publicly available, but only in aggregated form. 3. Results Between 25 February 2020 and 30 June 2023, we identified 6, 038 COVID-19-related inpatient admissions, i.e. hospital stays of at least one night with ICD10 code U07.1, in 6 hospitals in the canton of Bern, Switzerland ( Table 1 and Figure 2 ). 389 patients (6.4%) were 0 − 4, 108 patients (1.8%) 5 − 14, 220 patients (3.6%) 15 − 29, 1840 patients (30.5%) 30 − 64 and 3481 patients (57.7%) were at least 65 years old. 527 of 717 COVID-19-related inpatient admissions of patients below the age of 30 occurred between 1 January 2022 and 30 June 2023. The peaks in the number of visits at the emergency ward of Bern University Hospital in mid-march 2020 and in late October 2020 reflect rapid increases in COVID-19 cases in Switzerland. The Omicron variant did not lead to a distinct increase of the number of patients seeking care at the emergency ward of Bern in December 2022 or January 2023. In autumn 2020, the trend in COVID-19-related hospital admissions coincided with that of hospital admissions with ICD10 codes J12.8 (“ Other viral pneumonia ”) and B33.8 (“ Other specified viral diseases ”). A similar pattern was observed in the first half of 2022 with ICD10 code Z22.8 (“ Carrier of other infectious diseases ”). The wastewater data showed generally similar trends as the COVID-19-related hospital admissions time series. We combined the outputs of models with varying forecasting horizons to generate forecasts of the weekly number of COVID-19-related hospital admissions up to five weeks ahead. Examples of such forecasts are presented in Figure 3 . We found that no single combination of model and feature set consistently produced the most accurate forecasts. The precision of forecasts, as measured by the RMSE between forecasts and observations in the test set, varied substantially across time periods, models, feature sets, lookback windows and forecasting horizons. Overall, forecast precision improved as more data became available for model training. The largest discrepancies between forecasts and observed values were observed during periods with rapid increases of COVID-19-related hospital admissions. Download figure Open in new tab Figure 3: Examples of forecasts of weekly COVID-19-related hospital admissions to three weeks ahead during autumn 2022. Empty dots correspond to the number of COVID-19-related hospital admissions in the next seven days. For six dates set at regular intervals of four weeks, forecasts are generated using XGBoost for each of the following three weeks, based on COVID-19-related hospital admissions of the last 28 days. Overall, all models except LR outperformed baseline when trained exclusively on counts of past COVID-19-related hospital admissions (feature set A), as assessed by both the summary score and the proportion of forecasts with lower RMSE than baseline ( Table 2 ). The reductions in summary score were relatively modest (0.91 for RNN, 0.90 for LSTM and 0.88 for XGBoost), with XGBoost achieving the lower summary score and the most consistent performance across all combinations of lookback window, forecasting horizon, and train-test split (outperforming baseline in 76% of cases). With the exception of XGBoost, which maintained stable performance, all models performed worse on average on the partial study period compared to the full study period ( Table 3 ). This decline in performance was even more pronounced for LR and LSTM model. Including additional features beyond past COVID-19-related hospital admissions did not lead to any substantial improvement in the average summary score for any model on the full study period. For all feature sets except the number of COVID-19-related hospital admissions combined with the number of patients seeking care at the emergency ward (feature set C), XGBoost consistently outperformed both the baseline and all other models on the full study period ( Table 2 ). RNN and LSTM performed similarly to baseline, only showing noticeable improvement when trained on the number of COVID-19-related hospital admissions alone (feature set A) or in combination with the number of patients seeking care at the emergency ward (feature set C). There was no feature set that enabled LR to produce more accurate forecasts than the baseline. The performance of LR was particularly poor when multiple features were added. Adding measurements of SARS-CoV-2 viral load in wastewater to the feature set led to noticeable improvement of the performance of XGBoost on the partial study period (summary score 0.73 and improvement over baseline in 97% of the cases, Table 3 ). Using other feature sets, XGBoost led to slightly more precise forecasts on the partial study compared to the full study period. On the contrary, the other models generally performed worse on the partial study period than on the full study period. This drop in accuracy could be substantial, for instance for forecasts generated with LSTM using past COVID-19-related hospital admissions combined with counts of inpatients with high CRP value (feature set H, average summary score of 1.51 compared to 0.96). Forecasting performance was highly dependent on forecasting horizon k and lookback window p , with the ranking of models and feature sets varying across the values chosen for k and p . At least one model outperformed the baseline for all combinations of k and p , in both the full and the partial study periods ( Figure 4A ). XGBoost was the best-performing model for 12 out of 25 combinations of k and p for the full study period (summary scores ranging from 0.67 to 0.84) and for 22 out of 25 combinations of k and p during the partial study period (summary scores ranging from 0.53 to 0.89). For smaller values of k and p , the RNN and LSTM models outperformed the other models, particularly for the full study period (summary scores ranging from 0.72 to 0.95). As the forecasting horizon and lookback window increased, the XGBoost model more frequently achieved the best performance. This pattern was more pronounced for the partial study period than for the full study period. Download figure Open in new tab Figure 4: Best-performing model and feature set for each combination of forecasting horizon k and lookback window p . A: Model achieving the lowest root mean squared error (RMSE) during the full and the partial study period. B: Feature set achieving lowest RMSE during the full and the partial study period. Numbers indicate the average summary score, computed as the geometric mean of the ratios of RMSE over the baseline RMSE across all train-test splits. The optimal feature set also varied according to experimental conditions. For 20 out of 25 combinations of k and p during the full study period and all 25 combinations of k and p during the partial study period, best performance was obtained using a feature set that included additional features besides COVID-19-related hospital admissions ( Figure 4B ). For the full study period, and for longer horizons for the partial study period, past COVID-19-related hospital admissions combined with counts of patients admitted with fever (feature set G) most frequently achieved the best summary score (summary score ranging from 0.53 to 0.91). Using counts of patients admitted with high CRP (feature set H) and counts of patients seeking care at the emergency ward (feature set C) were also sometimes selected as achieving best performance, especially for longer forecast horizons (three to five weeks ahead). The inclusion of viral load measurements in wastewater samples led to the best results at short forecast horizons (up to three weeks ahead) for the partial study period (summary score ranging from 0.71 to 0.88). 4. Discussion In this study, we systematically evaluated and compared the ability of various machine learning algorithms to forecast the number of weekly COVID-19 hospital admissions up to five weeks ahead, using different combinations of variables extracted from EHR from six hospitals in the region of Bern, Switzerland, as well measurements of SARS-CoV-2 viral load in wastewater samples. Across all examined forecasting horizons, we were able to generate forecasts that consistently outperformed the baseline model of LOCF, with greater improvements observed for longer forecasting horizons. Overall, our findings confirm that EHR hold considerable potential for improving the forecasting of infectious disease dynamics. We found that gradient boosting using the XGBoost algorithm outper-formed other models on average across all combinations of forecasting horizon k and lookback window p . This is somewhat surprising as XGBoost was not inherently built for time series forecasting. Still, XGBoost performed better than linear regression and neural networks (RNN and LSTM), particularly for longer forecasting horizons. These findings may be explained by the discrete tree-based approach of XGBoost, leading to a good handling of non-linearities in addition to the reduced risk of overfitting ( Park and Ho, 2021 ). Moreover, XGBoost may have an advantage because of the relative scarcity of data. As we work with daily time series, our models never get a training set containing more than about 1, 200 data points, which was further reduced when using longer lookback windows or focusing on the partial study period. In these situations, forecasts generated with linear regression and neural network were prone to perform considerably worse than LOCF, while XGBoost remained mostly adequate. This feature makes XGBoost particularly appealing in the early stages of epidemics and for emerging infectious diseases lacking historical data. With regards to variables relevant for forecasting COVID-19-related hospital admissions, our findings indicate that relying solely on past admission counts is suboptimal. Complementing these data with additional variables available in EHR such as the number of patients admitted with fever, with elevated CRP or presenting to emergency care improved forecast performance, particularly at longer forecasting horizons (three to five weeks ahead). Besides EHR, our results confirm the transformative potential of incorporating viral load measurements in wastewater in infectious disease forecasting (Rankin et al.). Forecasts based on recent wastewater data demonstrated substantially improved performance for shorter horizons (up to three weeks ahead), while EHR-based variables such as fever-related admissions retained a performance advantage at longer horizons (four and five weeks ahead). This pattern likely reflects the temporal lag between infection incidence (captured by wastewater surveillance via fecal shedding) and subsequent hospital admissions, which has been estimated to range between 10 and 14 days ( Hegazy et al., 2022 ). Other studies have used similar approaches for hospital admission forecasting, and found that combining hospital admissions data on the level of a single hospital or aggregated on a regional level with additional health data (e.g., occupancy of emergency units or use of ambulance services) or external data (e.g., mobility or weather data) lead to more accurate forecasts ( Ferté et al., 2022 ; Zhang et al., 2022 ; Klein et al., 2023 ). Our results are aligned with their findings, but a quantitative comparison of the precision of the obtained forecasts between studies is difficult due to different available data, study periods and evaluation metrics. The main strength of our work lies in the breadth and thoroughness of the systematic comparison of different models and combinations of features, which leads to a proof-of-concept that routinely collected EHR can indeed provide a solid data basis for an infectious disease forecasting system. This represents a step forward in the development of infectious disease monitoring and forecasting systems relying on data that has not been collected specifically for research purposes. Given that the data can be accessed with little time delays, forecasting could be conducted continuously and provide reliable estimates of quantities of interest such as new COVID-19-related hospital admissions without depending on time-consuming and expensive data collection. Our study comes with several limitations. First, the generalizability of our findings beyond the Insel Gruppe hospital network in the region of Bern remains uncertain. Differences in EHR structures, conventions and formats could make it difficult to replicate our study in other settings. We refrained from requesting access to EHR from other Swiss university hospitals. Second, we carried out a purely retrospective analysis, and did not implement our forecasting framework in a real-time operational context. Real-time deployment would require additional development of data pipelines and infrastructure. One key obstacle, which we could not influence, was the time lag between hospital admission and the encoding of diagnoses using ICD10 codes, which can occur several weeks after discharge. Reducing these delays is essential for enabling the practical application of forecasting approaches such as ours, although as we showed the best-performing features (fever, CRP and emergency ward) do not rely on ICD-10 encoding and are available immediately. Third, from a technical perspective, we did not use a distinct validation set to tune model hyperparameters, instead doing this directly on the testing set. This decision was made in light of limited data availability, as reserving additional data for validation would have reduced the training set. Similarly, we also did not estimate the uncertainty of the model forecasts. While techniques such as conformal prediction were considered, their application would have required additional data splitting, further reducing the training set. Finally, as with many forecasting approaches, we did not account for changes in transmission dynamics, for example due to shifts in population behavior, the emergence of new variants or increases in the immunity level due to vaccination. Future work is needed to develop forecasting methods that can incorporate a broader range of dynamic data sources. The vast amount of routinely collected medical data remains underutilized for infectious disease forecasting. Our findings demonstrate that such data, when properly harnessed with modern machine learning approaches, can substantially enhance the accuracy of short-term hospital admission forecasts. Such forecasts are especially valuable for informing public health policy, enabling healthcare systems to anticipate surges in demand and allocate resources accordingly. As data infrastructures continue to expand, with more and more hospital data becoming available in standardized format and with decreasing delays, the integration of routine clinical and surveillance data into real-time forecasting systems will become more feasible. This paves the way for highly-efficient forecasting tools that can support timely and data-driven responses to emerging infectious disease threats, strengthening overall pandemic preparedness. Data Availability Some data files are publicly available online on GitHub. Due to data protection regulations we can not make the full hospital dataset publicly available, but only in aggregated form. https://github.com/mwohlfender/hospital_admission_forecasting Appendix A. Supplementary material Detailed model description, table of hyperparameters, additional results and figures supporting the main text. Acknowledgments This study is funded by the Multidisciplinary Center for Infectious Diseases, University of Bern, Bern, Switzerland. We gratefully acknowledge the Insel Data Science Center (IDSC) ( www.idsc.io/en/ ) for facilitating the access to the electronic health records from the Insel Gruppe hospital network. Calculations were performed on UBELIX ( www.id.unibe.ch/hpc ), the HPC cluster at the University of Bern. References 1. ↵ Anderegg , N. , Panczak , R. , Egger , M. , Low , N. , Riou , J ., 2022 . Survival among people hospitalized with COVID-19 in Switzerland: a nationwide population-based analysis . BMC Med 20 , 164 . doi: 10.1186/s12916-022-02364-7 . OpenUrl CrossRef PubMed 2. ↵ CDC , 2024 . SPHERES . URL: https://www.cdc.gov/advanced-molecular-detection/php/spheres/index.html . 3. ↵ Chen , T. , He , T. , Benesty , M. , Khotilovich , V. , Tang , Y. , Cho , H. , Chen , K. , Mitchell , R. , Cano , I. , Zhou , T. , Li , M. , Xie , J. , Lin , M. , Geng , Y. , Li , Y. , Yuan , J ., 2024 . xgboost: Extreme Gradient Boosting . URL: https://CRAN.R-project.org/package=xgboost.rpackage version 1.7.7.1. 4. ↵ Chollet , F. , et al. , 2015 . Keras . https://keras.io . 5. ↵ Covello , L. , Gelman , A. , Si , Y. , Wang , S ., 2021 . Routine Hospital-based SARS-CoV-2 Testing Outperforms State-based Data in Predicting Clinical Burden . Epidemiology 32 , 792 – 799 . doi: 10.1097/EDE.0000000000001396 . OpenUrl CrossRef PubMed 6. ↵ Cramer , E.Y. , Huang , Y. , Wang , Y. , Ray , E.L. , Cornell , M. , Bracher , J. , Brennen , A. , Castro Rivadeneira , A.J. , Gerding , A. , House , K. , Jayawardena , D. , Kanji , A.H. , Khandelwal , A. , Le , K. , Niemi , J. , Stark , A. , Shah , A. , Wattanachit , N. , Zorn , M.W. , Reich , N.G. , Consortium, U.C..F.H ., 2021 . The United States COVID-19 Forecast Hub dataset . medRxiv URL: https://www.medrxiv.org/content/10.1101/2021.11.04.21265886v1 , doi: 10.1101/2021.11.04.21265886 . OpenUrl Abstract / FREE Full Text 7. Demont , C. , Petrica , N. , Bardoulat , I. , Duret , S. , Watier , L. , Chosidow , A. , Lorrot , M. , Kieffer , A. , Lemaitre , M ., . Economic and disease burden of RSV-associated hospitalizations in young children in France, from 2010 through 2018 . BMC Infect Dis 21 , 730 . URL: 10.1186/s12879-021-06399-8 , doi: 10.1186/s12879-021-06399-8 . OpenUrl CrossRef PubMed 8. ↵ Didriksson , I. , Leffler , M. , Spångfors , M. , Lindberg , S. , Reepalu , A. , Nilsson , A. , Cronqvist , J. , Andertun , S. , Nelderup , M. , Jungner , M. , Johnsson , P. , Lilja , G. , Frigyesi , A. , Friberg , H ., 2022 . Intensive care unit burden is associated with increased mortality in critically ill COVID-19 patients . Acta Anaesthesiol Scand , 10.1111/aas.14184URL: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9878196/ , doi: 10.1111/aas.14184 . OpenUrl CrossRef 9. ↵ Eawag , 2021 . SARS-CoV-2 in Wastewater . URL: https://www.eawag.ch/en/department/sww/projects/sars-cov2-in-wastewater/ . 10. ↵ ECDC , 2021 . European COVID-19 Forecast Hub . URL: https://covid19forecasthub.eu/index.html . 11. ↵ ECDC , 2023 . RespiCast ECDC Respiratory Diseases Forecasting Hub . URL: https://respicast.ecdc.europa.eu/ . 12. ↵ Ferté , T. , Jouhet , V. , Griffier , R. , Hejblum , B.P. , Thiébaut , R ., Bordeaux University Hospital Covid-19 Crisis Task Force , 2022 . The benefit of augmenting open data with clinical data-warehouse EHR for forecasting SARS-CoV-2 hospitalizations in Bordeaux area, France . JAMIA Open 5, ooac086. doi: 10.1093/jamiaopen/ooac086 . OpenUrl CrossRef 13. ↵ FOPH, Federal Office of Public Health , 2020 . New Coronavirus 2019-nCoV: first confirmed case in Switzerland . URL: https://www.bag.admin.ch/bag/en/home/das-bag/aktuell/medienmitteilungen.msg-id-78233.html . 14. ↵ FOPH, Federal Office of Public Health , 2023 . Kennzahlen der Schweizer Spitäler 2023 . URL: https://www.bag.admin.ch/bag/de/home/zahlen-und-statistiken/zahlen-fakten-zu-spitaelern/kennzahlen-der-schweizer-spitaeler.html . 15. ↵ Furuse , Y ., 2021 . Genomic sequencing effort for SARS-CoV-2 by country during the pandemic . International Journal of Infectious Diseases 103 , 305 – 307 . URL: https://www.sciencedirect.com/science/article/pii/S1201971220325571 , doi: 10.1016/j.ijid.2020.12.034 . OpenUrl CrossRef PubMed 16. ↵ Grantz , K.H. , Meredith , H.R. , Cummings , D.A.T. , Metcalf , C.J.E. , Grenfell , B.T. , Giles , J.R. , Mehta , S. , Solomon , S. , Labrique , A. , Kishore , N. , Buckee , C.O. , Wesolowski , A ., 2020 . The use of mobile phone data to inform analysis of COVID-19 pandemic epidemiology . Nature Communications 11 , 4961 . URL: https://www.nature.com/articles/s41467-020-18190-5 , doi: 10.1038/s41467-020-18190-5 . publisher: Nature Publishing Group. OpenUrl CrossRef PubMed 17. ↵ Hegazy , N. , Cowan , A. , D’Aoust , P.M. , Mercier , É. , Towhid , S.T. , Jia , J.J. , Wan , S. , Zhang , Z. , Kabir , M.P. , Fang , W. , Graber , T.E. , MacKenzie , A.E. , Guilherme , S. , Delatolla , R ., 2022 . Understanding the dy-namic relation between wastewater SARS-CoV-2 signal and clinical metricsthroughout the pandemic . Sci Total Environ 853 , 158458 . URL: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9444583/ , doi: 10.1016/j . scitotenv.2022.158458. OpenUrl CrossRef 18. ↵ Hochreiter , S. , Schmidhuber , J ., 1997 . Long Short-Term Memory . Neural Comput . 9 , 1735 – 1780 . URL: 10.1162/neco.1997.9.8.1735 , doi: 10.1162/neco.1997.9.8.1735 . OpenUrl CrossRef PubMed Web of Science 19. ↵ Hodcroft , E.B. , Wohlfender , M.S. , Neher , R.A. , Riou , J. , Althaus , C.L ., 2025 . Estimating Re and overdispersion in secondary cases from the size of identical sequence clusters of SARS-CoV-2 . PLOS Computational Biology 21 , e1012960 . URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1012960 , doi: 10.1371/journal.pcbi.1012960 . publisher: Public Library of Science. OpenUrl CrossRef 20. ↵ Holmdahl , I. , Buckee , C ., 2020 . Wrong but Useful — What Covid-19 Epidemiologic Models Can and Cannot Tell Us . New England Journal of Medicine 383 , 303 – 305 . OpenUrl CrossRef PubMed 21. Huisman , J.S. , Scire , J. , Caduff , L. , Fernandez-Cassi , X. , Ganesanandamoorthy , P. , Kull , A. , Scheidegger , A. , Stachler , E. , Boehm , A.B. , Hughes , B. , Knudson , A. , Topol , A. , Wigginton , K.R. , Wolfe , M.K. , Kohn , T. , Ort , C. , Stadler , T. , Julian , T.R ., . Wastewater-Based Estimation of the Effective Reproductive Number of SARS-CoV-2 . Environmental Health Perspectives 130 , 057011 . URL: https://ehp.niehs.nih.gov/doi/10 . 1289/EHP10050 , doi: 10.1289/EHP10050 . publisher: Environmental Health Perspectives. OpenUrl CrossRef PubMed 22. ↵ Inselgruppe , 2023 . Jahresberichte - Insel Gruppe AG . URL: https://inselgruppe.ch/de/die-insel-gruppe/organisation/direktion-insel-gruppe/stabsbereiche/kommunikation/publikationen/jahresberichte . 23. ↵ Jahn , K. , Dreifuss , D. , Topolsky , I. , Kull , A. , Ganesanandamoorthy , P. , Fernandez-Cassi , X. , Bänziger , C. , Devaux , A.J. , Stachler , E. , Caduff , L. , Cariti , F. , Corzón , A.T. , Fuhrmann , L. , Chen , C. , Jablonski , K.P. , Nadeau , S. , Feldkamp , M. , Beisel , C. , Aquino , C. , Stadler , T. , Ort , C. , Kohn , T. , Julian , T.R. , Beerenwinkel , N ., 2022 . Early detection and surveillance of SARS-CoV-2 genomic variants in wastewater using CO-JAC . Nature Microbiology 7 , 1151 – 1160 . URL: https://www.nature.com/articles/s41564-022-01185-x , doi: 10.1038/s41564-022-01185-x . number: 8 Publisher: Nature Publishing Group. OpenUrl CrossRef 24. ↵ Klein , B. , Zenteno , A.C. , Joseph , D. , Zahedi , M. , Hu , M. , Copenhaver , M.S. , Kraemer , M.U.G. , Chinazzi , M. , Klompas , M. , Vespignani , A. , Scarpino , S.V. , Salmasian , H ., 2023 . Forecasting hospital-level COVID-19 admissions using real-time mobility data . Commun Med 3 , 1 – 9 . URL: https://www.nature.com/articles/s43856-023-00253-5 , doi: 10.1038/s43856-023-00253-5 . publisher: Nature Publishing Group. OpenUrl CrossRef 25. ↵ Kraemer , M.U.G. , Tsui , J.L.H. , Chang , S.Y. , Lytras , S. , Khurana , M.P. , Vanderslott , S. , Bajaj , S. , Scheidwasser , N. , Curran-Sebastian , J.L. , Semenova , E. , Zhang , M. , Unwin , H.J.T. , Watson , O.J. , Mills , C. , Dasgupta , A. , Ferretti , L. , Scarpino , S.V. , Koua , E. , Morgan , O. , Tegally , H. , Paquet , U. , Moutsianas , L. , Fraser , C. , Ferguson , N.M. , Topol , E.J. , Duchêne , D.A. , Stadler , T. , Kingori , P. , Parker , M.J. , Dominici , F. , Shadbolt , N. , Suchard , M.A. , Ratmann , O. , Flaxman , S. , Holmes , E.C. , Gomez-Rodriguez , M. , Schölkopf , B. , Donnelly , C.A. , Pybus , O.G. , Cauchemez , S. , Bhatt , S ., 2025 . Artificial intelligence for modelling infectious disease epidemics . Nature 638 , 623 – 635 . URL: https://www.nature.com/articles/s41586-024-08564-w , doi: 10.1038/s41586-024-08564-w . publisher: Nature Publishing Group. OpenUrl CrossRef PubMed 26. ↵ Morvan , M. , Jacomo , A.L. , Souque , C. , Wade , M.J. , Hoffmann , T. , Pouwels , K. , Lilley , C. , Singer , A.C. , Porter , J. , Evens , N.P. , Walker , D.I. , Bunce , J.T. , Engeli , A. , Grimsley , J. , O’Reilly , K.M. , Danon , L ., 2022 . An analysis of 45 large-scale wastewater sites in England to estimate SARS-CoV-2 community prevalence . Nature Communications 13 , 4313 . URL: https://www.nature.com/articles/s41467-022-31753-y , doi: 10.1038/s41467-022-31753-y . number: 1 Publisher: Nature Publishing Group. OpenUrl CrossRef PubMed 27. ↵ Park , Y. , Ho , J.C ., 2021 . Tackling Overfitting in Boosting for Noisy Healthcare Data . IEEE Transactions on Knowledge and Data Engineering 33 , 2995 – 3006 . URL: https://ieeexplore.ieee.org/abstract/document/8933485 , doi: 10.1109/TKDE.2019.2959988 . OpenUrl CrossRef 28. ↵ Qian , Z. , Alaa , A.M. , van der Schaar , M. , 2021 . CPAS: the UK’s national machine learning-based hospital capacity planning system for COVID-19 . Machine Learning 110 , 15 – 35 . doi: 10.1007/s10994-020-05921-4 . OpenUrl CrossRef PubMed 29. Rankin , N. , Saiyed , S. , Du , H. , Gardner , L.M ., . A multi-city COVID-19 forecasting model utilizing wastewater-based epidemiology . Science of The Total Environment 960 , 178172 . URL: https://www.sciencedirect.com/science/article/pii/S004896972408330X , doi: 10.1016/j.scitotenv . 2024.178172. OpenUrl CrossRef 30. ↵ Shu , Y. , McCauley , J ., 2017 . GISAID: Global initiative on sharing all influenza data – from vision to reality . Eurosurveillance 22 , 30494 . URL: https://www.eurosurveillance . org/content/10.2807/1560-7917.ES.2017.22.13.30494, doi:10.2807/ 1560-7917.ES.2017.22.13.30494. OpenUrl PubMed 31. ↵ WHO , 2019 . ICD-10 Version: 2019 . URL: https://icd.who.int/browse10/2019/en/ . 32. ↵ XGBoost community , 2025 . XGBoost: Scalable and Flexible Gradient Boosting . URL: https://xgboost.ai/ . 33. ↵ Zhang , J. , Pathak , H.S. , Snowdon , A. , Greiner , R ., 2022 . Learning models for forecasting hospital resource utilization for COVID-19 patients in Canada . Scientific Reports 12 , 8751 . URL: https://www.nature.com/articles/s41598-022-12491-z , doi: 10.1038/s41598-022-12491-z . publisher: Nature Publishing Group. OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted May 21, 2025. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data Martin S. Wohlfender , Judith A. Bouman , Olga Endrich , Alban Ramette , Alexander B. Leichtle , Guido Beldi , Christian L. Althaus , Julien Riou medRxiv 2025.05.21.25328056; doi: https://doi.org/10.1101/2025.05.21.25328056 Share This Article: Copy Citation Tools Machine learning-based short-term forecasting of COVID-19 hospital admissions using routine hospital patient data Martin S. Wohlfender , Judith A. Bouman , Olga Endrich , Alban Ramette , Alexander B. Leichtle , Guido Beldi , Christian L. Althaus , Julien Riou medRxiv 2025.05.21.25328056; doi: https://doi.org/10.1101/2025.05.21.25328056 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Epidemiology Subject Areas All Articles Addiction Medicine (568) Allergy and Immunology (863) Anesthesia (297) Cardiovascular Medicine (4421) Dentistry and Oral Medicine (443) Dermatology (381) Emergency Medicine (606) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1507) Epidemiology (15212) Forensic Medicine (30) Gastroenterology (1121) Genetic and Genomic Medicine (6581) Geriatric Medicine (667) Health Economics (996) Health Informatics (4520) Health Policy (1366) Health Systems and Quality Improvement (1611) Hematology (539) HIV/AIDS (1264) Infectious Diseases (except HIV/AIDS) (15906) Intensive Care and Critical Care Medicine (1103) Medical Education (620) Medical Ethics (144) Nephrology (667) Neurology (6580) Nursing (345) Nutrition (998) Obstetrics and Gynecology (1141) Occupational and Environmental Health (956) Oncology (3324) Ophthalmology (970) Orthopedics (369) Otolaryngology (420) Pain Medicine (435) Palliative Medicine (129) Pathology (663) Pediatrics (1689) Pharmacology and Therapeutics (691) Primary Care Research (710) Psychiatry and Clinical Psychology (5431) Public and Global Health (9212) Radiology and Imaging (2193) Rehabilitation Medicine and Physical Therapy (1368) Respiratory Medicine (1194) Rheumatology (593) Sexual and Reproductive Health (709) Sports Medicine (529) Surgery (709) Toxicology (99) Transplantation (288) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9ff0fc0ccae34193',t:'MTc3OTMzOTI4MQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00