ABSTRACT
Background Real-time prediction is key to prevention and control of healthcare-associated infections. Contacts between individuals drive infections, yet most prediction frameworks fail to capture the dynamics of contact. We develop a real-time machine learning framework that incorporates dynamic patient contact networks to predict patient-level hospital-onset COVID-19 infections (HOCIs), which we test and validate on international multi-site datasets spanning epidemic and endemic periods.
Methods Our framework extracts dynamic contact networks from routinely collected hospital data and combines them with patient clinical attributes and background contextual hospital data to forecast the infection status of individual patients. We train and test the HOCI prediction framework using 51,157 hospital patients admitted to a UK (London) National Health Service (NHS) Trust from 01 April 2020 to 01 April 2021, spanning UK COVID-19 surges 1 and 2. We then validate the framework by applying it to data from a non-UK (Geneva) hospital site during an epidemic surge (40,057 total inpatients) and to data from the same London Trust from a subsequent period post surge 2, when COVID-19 had become endemic (43,375 total inpatients).
Findings Based on the training data (London data spanning surges 1 and 2), the framework achieved high predictive performance using all variables (AUC-ROC 0·89 [0·88-0·90]) but was almost as predictive using only contact network variables (AUC-ROC 0·88 [0·86-0·90]), and more so than using only hospital contextual (AUC-ROC 0·82 [0·80-0·84]) or patient clinical (AUC-ROC 0·64 [0·62-0·66]) variables. The top three risk factors we identified consisted of one hospital contextual variable (background hospital COVID-19 prevalence) and two contact network variables (network closeness, and number of direct contacts to infectious patients), and together achieved AUC-ROC 0·85 [0·82-0·88]. Furthermore, the addition of contact network variables improved performance relative to hospital contextual variables on both the non-UK (AUC-ROC increased from 0·84 [0·82–0·86] to 0·88 [0·86–0·90]) and the UK validation datasets (AUC-ROC increased from 0·52 [0·49–0·53] to 0·68 [0·64-0·70]).
Interpretation Our results suggest that dynamic patient contact networks can be a robust predictor of respiratory viral infections spreading in hospitals. Their integration in clinical care has the potential to enhance individualised infection prevention and early diagnosis.
Funding Medical Research Foundation, World Health Organisation, Engineering and Physical Sciences Research Council, National Institute for Health Research, Swiss National Science Foundation, German Research Foundation.
Introduction
Healthcare-related transmission of coronavirus disease 2019 (COVID-19) has been well documented throughout the pandemic1. Reports have cited hospital-onset COVID-19 infections (HOCIs) accounting for 12–15% of all COVID-19 cases identified in healthcare settings, and as high as 16 2% at the peaks of the pandemic2. While their impact is yet to be fully quantified, HOCIs amplify the impact of the pandemic by seeding further outbreaks.
The ability to predict healthcare-associated infection offers the possibility of preventing transmission, thus reducing both illness and the workload burden experienced during outbreaks. Traditionally, prediction has relied on the identification of patient risk factors of disease acquisition by fitting statistical models to a combination of patient clinical variables (e.g., age, gender identity, co-morbidities) and hospital contextual variables (e.g., colonisation pressure, patient length of stay)3. Although such risk factors can perform reasonably well, they ignore the fact that the spread of infectious diseases depends largely on patient contacts4, which are heterogeneous5 and vary over time6.
Isolation and cohorting of infected patients prevent onward spreading by interrupting transmission chains7. Investigating contacts to known infected patients has been an effective epidemiological tool to identify at-risk secondary cases and disease ‘super-spreaders’8, a strong driver of HOCIs9,10, and has played a pivotal role in national COVID-19 responses11–13. However, exploiting the entire contact network (not just direct links to known infections) provides greater depth to characterise disease spreading14. Indeed, early in the COVID-19 pandemic, population mobility and interactions guided national policy to reduce transmission15. In healthcare settings, the overall number of direct contacts created by patient transfers has been found predictive of disease acquisition16–19. Yet, these studies fail to take full advantage of the predictive power of dynamic contact networks to capture transmission routes20.
In this work, we combine dynamic patient contact networks extracted from patient trajectories with routinely collected patient clinical attributes and hospital contextual data into a novel forecasting framework to predict HOCI in individual patients. As a proof-of-principle study, we retrospectively evaluate the utility of risk factors extracted from patient contact networks by testing and training different models on a large London hospital dataset spanning the COVID-19 epidemic, including UK surge 1 in 2020 and surge 2 in 2021. We then validate the gain in predictive power achieved via contact network risk factors by applying the framework to an external dataset from a university-affiliated geriatric hospital in Geneva during surge 1 in 2020, and to data from the same London hospital group post-UK surge 2, when COVID-19 had become endemic.
Methods
Study design and population
The study focuses on a large London hospital group with approximately 1,200 inpatient beds across five sites. We used data from 01 April 2020 to 01 April 2021, capturing the UK’s first surge (23 March 2020-30 May 2020) and second surge (07 September 2020–01 April 2021) (Methods S1.1). For validation, we applied the framework to external data from a hospital group in the Department of Rehabilitation of the Geneva University Hospitals (approximately 600 inpatient beds across three sites) during Switzerland’s first surge (01 March 2020–31 May 2020), and to data from the same London hospital group following UK surge 2 (01 April 2021–13 August 2021).
The infection prevention and control (IPC) measures employed by the London hospitals aligned with national recommendations (Methods S1.2), including: (1) a comprehensive COVID-19 screening strategy, which screened inpatients on days three to five, day seven, and weekly thereafter (daily for the first seven days following admission from 01 December 2021); and (2) a robust HOCI surveillance programme21 with HOCIs triggering IPC investigations, contact isolation and screening. During the first surge in Geneva, syndromic surveillance of hospitalised patients was conducted, as well as ad-hoc screening of patients during outbreak management. In addition, patients were screened prior to transfer between hospital sites as of April 2020.
Data collection
Patient data were extracted and de-identified from the business intelligence system (London), iCare (London), and from in-house electronic health records (Geneva). All analyses were approved by ethical committees (London: Imperial College London NHS Trust service evaluations [Ref:386,379,473] and ethics approval under 15_LO_0746; Geneva: Cantonal Ethics Committee [no. CCER 2020-00827]).
Definitions
The consecutive days a patient has spent in hospital prior to testing positive for COVID-19 reflects the likelihood of healthcare acquisition due to the 2-14 days incubation period22. Hence we defined HOCIs in line with European and UK definitions using the date of the first SARS-CoV-2–positive test and symptom onset synonymously23:
HOCI: patients with a SARS-CoV-2 positive test sample three or more days after admission. We use this as a single category for HOCIs, which includes: indeterminate (positive sample between 3-6 days), probable (positive sample between 7-13 days) and definite (positive sample after 14 or more days)23). This follows from recent genomic evidence10 that a significant proportion of lower likelihood HOCIs (having spent less time in hospital) are still hospital-acquired, and the comprehensive admission screening policy in our data.
Community-onset COVID-19 infection (COCI): patients with a SARS-CoV-2 positive test sample up to two days after admission
Non-COVID (control): patients with a negative SARS-CoV-2–positive sample test or who were not tested due to being SARS-CoV-2 positive in the last 90 days with no new symptoms or exposure to COVID-19.
Patient contacts were established using movement pathways from hospital electronic health records. We investigated three definitions of contact: patients coinciding on the same day in the same (1) room, (2) ward, and (3) building, regardless of COVID-19 prevention measures, including environmental ventilation (Methods S1.4). The infectious period for infected patients is defined as the 14-days before and 10-days after their first SARS-CoV-2–positive test result22).
Dynamic forecasting framework
We developed a framework to predict infections (see detailed description in Methods S1.3-1.9) that combines dynamic patterns of contact, exposure to infected cases, as well as standard risk factors (Figure 1, R package can be found at barahona-research-group/Dynamic-contact-infection-forecast). Fixed patient variables (e.g., demographics) are collected, and dynamic, time-dependent variables (e.g., contact network graph-theoretical centrality for each patient, hospital contextual variables) are computed from a sliding time window to be used as model predictors over a forecasting horizon. In alignment with the maximum incubation period of COVID-19, we set the window length to 14-days22 and the forecasting horizon to 7 days.
Model variables
For each time window, we extracted: (i) patient clinical variables (Table 1a); (ii) hospital contextual variables (relating to the hospital inpatient context; Table 1b); and (iii) contact network variables (centrality measures) extracted using network-theoretical analytics from each of the room/ward/building contact networks derived from the data (Table 1c, derivation in Methods S1.16-1.17).
Statistical significance and risk factors
We carried out a univariate analysis of the model variables to identify risk factors by comparing their values in the HOCI and control groups. To establish significance, we used either Mann-Whitney or Chi-squared tests and report the corresponding adjusted p-values (see method in S1.11).
Evaluation of machine learning models
We constructed and evaluated several models to predict HOCI using different types of variables (full list of models in Methods S1.12). Each model was trained on 70% of the data and tested on the withheld 30% of the data. We report the highest performing model (XGBoost). Performance was measured by prediction on the test set quantified by AUC-ROC, as well as Sensitivity, Specificity and Balanced Accuracy adjusted for multiple prediction bias (see Methods S1.13). To aid interpretation, we formed a ranked list of variables by assessing the predictive contribution of each variable through a recursive elimination strategy24 (see Methods S1.16-1.17).
Validation on additional datasets
Two validation datasets were obtained: one external from a non-UK hospital setting (three sites of the Department of Rehabilitation and Geriatrics, Geneva University Hospitals) collected during the first epidemic surge; one internal from the same London hospital group collected at a later date when COVID-19 was endemic. To carry out our validation, we used an XGBoost model with hyper parameters optimised on the training data, and then applied to the new data. Due to the smaller size of the validation datasets, we report performance averaged across a 5-fold cross validation split.
Results
Training and testing population
A total of 51,157 patients were admitted to the London hospital group during the study’s training and testing period (01 April 2020–01 April 2021). Of these, 2,261 (4·4%) patients tested positive for SARS-CoV-2, including 1,796 (3·5%) COCIs and 465 (0·9%) HOCIs. Figure 2 details the patient inclusion breakdown for forecasting and background variable datasets. Together, 21,818 (42·6%) patients had stayed three or more days in hospital and were included in the forecasting data (465 HOCIs and 21,353 non-HOCIs).
Epidemiology
The levels of in-hospital COVID-19 cases displayed two surges congruent with national UK case levels (Figure 3). Surge 1 peaked on 30 March 2020 at 59 new daily positive hospital cases (50 COCIs, 9 HOCIs); surge 2 peaked on 6 January 2021 at 64 new daily cases (50 COCIs, 14 HOCIs). The two surges differed when analysing the time series (see Results S2.1): surge 2 had higher proportion of HOCIs (17·8% HOCI compared to 15 1% in surge 1), as well as higher correlation between HOCI and COCI, both instantaneous correlation (Surge 2: R=0·79; p<0·05, Surge 1: R=0·59; p<0·05), and delayed correlation with a 5-day lag (Surge 2: R=0·74; p<0·05, Surge 1: R=0·53; p<0·05). To note, the background variant makeup varied between the UK surges: whilst the alpha (B.1.1.7) and delta (B.1.617.2) variants comprised, respectively, 59·3%, and 1·1% of all nationally sequenced COVID-19 cases during surge 2, they were absent during surge 1 (see Results S2.1).
The patient contact network structure also varied throughout the pandemic (Figure 3i-iii). The median number of contacts (degree) over networks across time was 4/22/67 for room/ward/building, respectively, with an increasing trend over time (see Results S2.3). Surge 1 had lower median degrees (3/18/57 for room/ward/building) compared to surge 2 (4/23/70 for median room/ward/building degrees). Other network measures also varied over the study period (see Results S2.3), with network metrics reflecting a denser contact network in surge 2 (Figure 3iii).
Characteristics of HOCI versus control patients across time
Clinical variables
Univariate analysis identified 10 clinical variables differentially represented in HOCI versus control (Table 2). Both age and gender-identity were significantly different between HOCI and control, with HOCIs over-represented in older patients (aged 69·2 vs 50·4, p<0·05), and those who identified as male (56·2%, p<0·05). Regarding specialities, HOCIs were found in a significantly higher proportion of patients in elderly care, general medicine, renal, and surgery compared to control (p<0·05), and significantly lower proportions in patients from cardiology, gynaecology, obstetrics, and paediatrics (p<0·05).
Hospital contextual variables
Six of the ten hospital contextual variables were significantly different between HOCI and control (Table 2). Relative to controls, HOCI patients were associated with longer length of stays prior to testing positive (averaging 7·3 days vs. 5·3 days; p<·05); were in hospital during times of higher hospital bed occupancy (averaging 15,645 patients vs. 13,587; p<0·05) and during periods of increased background incidence of COVID-19 (averaging 372 cases vs. 127; p<0·05). No significant difference between HOCIs and control was observed for variables related to movement rates (bed/room/ward/site).
Network variables
For network variables, 24/30 centrality measures (8/10 from each room-contact, ward-contact, and building-contact networks; Table 2) were significantly higher in HOCI patients. Network variables significantly higher in HOCIs across the three contact networks included measures accounting for infectious COVID-19 cases (infected degree, infected degree centrality, infected closeness centrality) as well as general network connectivity (degree, closeness centrality, clustering coefficient, K-core number).
Prediction performance across variable sets
Full variable set models
We trained different models on our London data using sets of variables of different types (Table 2). All models demonstrated high predictive power (Table 3a; Figure 4A-B). In particular, the model based solely on contact network variables (AUC-ROC 0·88 [95% CI, 0·86-0·9]) performed comparably to the model using all variables of all types (AUR-ROC 0·89 [0·88-0·90]), and yielded more predictive power than models using solely hospital context variables (AUC-ROC 0·82 [0·80-0·84]) or clinical variables (AUC-ROC 0·64 [0·62-0·66]). To ascertain the prediction power of the different types of contacts, separate models were trained on variables from each of the three contact networks (room/ward/building). The model based on ward contact network variables had the highest predictive power (AUC-ROC 0·87 [0·85-0·89]); yet building (AUC-ROC 0·85 [0·83-0·87]) and room (AUC-ROC 0·82 [0·80-0·84]) contact network models also yielded high performance.
Reduced variable set models (risk factors)
We then investigated models with fewer variables, by training only on the risk factors, variables identified as significant (p-value < 0·05 in Table 2), among hospital contextual and ward contact network variables. (We dropped clinical patient variables, room-contact network, and building-contact network due to comparably low performance.) Table 3b shows that the models based only on risk factors have equal performance to models that include all the corersponding variables (AUC-ROC 0·82 [0·80-0·84] for the hospital contextual risk factors, AUC-ROC 0·87 [0·85-0·89] for the ward contact network risk factors, and AUC-ROC 0·89 [0·88-0·90] for the combined model). Hence the identified risk factors recapitulate the predictive power of the models.
Reduced variable set ranking
Using a stepwise variable elimination approach (Results S2.5), we then ranked by predictive contribution the combined set of risk factors (hospital-contextual plus ward-contact network). The hospital contextual variable ‘background hospital COVID-19 prevalence’ was most predictive, followed by two ward-contact network variables that reflect proximity to recent positive COVID-19 cases: the infected closeness centrality, which measures the network distance to all cases, and the infected degree/degree-centrality, which measures the direct contacts to infectious cases. A parsimonious model based only on these top three variables achieved AUC-ROC 0·85 [0·82-0·88], representing 95 5% of the combined model performance (Results S2.5). The same top three variables are also found when applying variable elimination to: (i) the entire variable set, and (ii) all the risk factors (see Table 2 and S2.5).
Validating the predictive power of contact network variables on additional datasets
Non-UK hospital (epidemic)
To validate our framework, we first applied our risk factor models to data collected at a Geneva geriatric hospital group during epidemic surge 1 (01 March 2020–31 May 2020). Over that period, 281 COVID-19 cases (138 COCIs, 143 HOCIs) were reported. Cases surged and peaked on 26 March 2020, with 15 newly identified cases (9 HOCIs, 6 COCIs), reflecting the height of the early epidemic in Switzerland (Figure 5A). In this dataset, ward-level and building-level data were unavailable; hence, we extracted patient contact networks from the available room-level data. We then applied our risk factor models without recalibrating the hyperparameters. The model based only on hospital contextual risk factors (significant contextual variables in Table 2) achieved a high degree of prediction accuracy (AUC-ROC 0 84 [0 82-0 86]), but the inclusion of room contact network risk factors (significant room network variables in Table 2) further increased performance to AUC-ROC 0·88 [0·86 – 0·90] despite being limited to room-level data (Table 4a).
UK hospital (endemic)
For further validation, we applied our risk factor models to additional data from the same London hospital group collected during an endemic period following UK surge 2 (02 April 2021–10 August 2021). During this time, only 9 daily cases were reported on average, with no surging behaviour (Figure 5B). Compared to UK surges 1 and 2, HOCIs constituted a lower percentage of all cases (7·7% of COVID-19 cases were HOCI, compared to 17·8% in UK surge 1, and 15·1% in UK surge 2), averaging 1 daily HOCI for a total of 93 confirmed HOCIs (Results S2.1). Applying our risk factor models to this endemic setting, we found the hospital contextual risk factor model performed poorly (AUC-ROC 0·49 [0·46-0·52]) with low sensitivity (0·56) and specificity (0·68) (Table 4b). The ward-contact network risk factors increased the performance substantially to AUC-ROC 0·63 [0·60-0·66]), and the combined risk factor model reached AUC-ROC 0·68 [0·64-0·70]), with higher sensitivity (0·70) and specificity (0·78) (Table 4b).
Discussion
We used Machine Learning in combination with network analysis to develop a framework for HOCI prediction using routinely available electronic health data. To our knowledge, this is the first study to forecast individual patient HOCIs by integrating routinely collected patient and hospital data with dynamic contact networks. We trained and tested our method using retrospective data from a London hospital group collected across the UK’s COVID-19 pandemic, spanning surges 1 to 2. We find that, together with some hospital contextual variables, centrality measures computed from patient contact networks constitute a significant HOCI risk factor, able to increase the performance of predictive models in both pandemic and endemic conditions.
The training and testing period in our study covers two COVID surges experienced in the UK. The temporal correlation between HOCIs and COCIs was greater during surge 2, suggesting a stronger link between hospital COVID-19 admissions generating HOCI (see S2.1). Higher overall HOCI rates during surge 2 were likely exacerbated by several factors: (i) the presence of more transmissible Alpha and Delta variants (absent in surge 1) representing together 60 4% of isolates in UK surge 2; (ii) higher average direct contacts and higher network connectivity properties facilitative of disease spreading in surge 2 (see S2.1); (iii) higher average patient length of stay across surge 2; and (iv) higher average hospital occupancy across surge 2, due to the London hospital group preemptively reducing its operational capacity during surge 1.
Transmission of SARS-CoV-2 in healthcare settings has been associated with features such as limited isolation capacity, sub-optimal individual infection prevention practices (including patient and staff testing strategies25), failure to maintain physical distancing, presenteeism, poor environmental ventilation and contaminated fomites, which can all be linked to particular patient groups26. In our training and testing data, patients managed in elderly care, general medicine, renal, and surgical units were significantly over-represented in the HOCI group (Table 3). Staffing levels and stress in critical care, complex pathways and excess movements resulting in additional contacts amongst surgery patients, and the strong community links in renal wards may have each exacerbated transmission in those specialities. The fact that older patients and male gender-identity were significantly over represented in HOCIs reflects known features of the wider pandemic27. Whilst studies to date have focused primarily on individual demographic and clinical risk variables28,29, our results demonstrate that such fixed variables are the least predictive overall, and future studies may improve performance and generalisability by including contextual and dynamic variables.
A large-scale analysis of SARS-CoV-2 transmission attributed variations in acquisition risk to differences in behavioural factors, contact density, and ventilation between locations30, consistent with the identified hospital-contextual risk factors. In particular, we found that background prevalence of COVID-19 within the hospital was the most predictive variable in our training and test data. Whilst a larger pool of COVID-19 cases increases potential sources of transmission, background prevalence may also be a proxy for staffing stress and density changes acting as potential exacerbators in response to higher hospital case load. Similarly, the higher HOCI risk from increased hospital bed occupancy could be due to higher patient loads, increased density and staffing pressures, making IPC more challenging. Length of stay was also found significantly longer for HOCIs (similar to other healthcare-acquired infections3) (Table 2). Moreover, the length of stay and the consecutive length of stay both being significantly longer for HOCIs supports a genomic analysis of HOCI by Lumley and colleagues10, suggesting acquisition could be linked to previous hospital visits (i.e. patient admitted, discharged, followed by re-admission and a SARS-CoV-2–positive test sample three or more days post re-admission). Increased movement rate (bed/room/ward/sites moves) is known to be associated with increased risk of acquisition of HCAI, and has been investigated locally31, but did not significantly differ between control and HOCI in our data (Table 2). This suggests that the risk from movement rates alone is likely too general for HOCI, lacking specificity on move types, and is better captured via contact related metrics. Altogether, models based on hospital-contextual variables demonstrated strong predictive performance in periods containing epidemic surges. Such models were improved further by the addition of contact network variables, and notably improved in the endemic London validation data when hospital-contextual risk factors lacked predictive power (Table 4).
Most of the contact network variables (24 out of the 30 investigated, eight from each contact definition) were found at significantly higher levels in HOCIs (Table 2). Further, our model based only on contact network variables was found as predictive as a model including all other variables (Table 3; Figure 4). This indicates that the underlying network structure holds features that could be systematically exploited for HOCI prediction with network mining tools32. HOCIs were found to be highly central in contact networks with respect to both infected cases and overall patient connectivity. Few studies have used contact data to investigate healthcare-acquired infections, and most have only considered direct contacts (i.e., network degree16–19,28). Similarly, COVID-19 transmission analysis outside hospital settings has been limited to direct contacts12,33. Our results are consistent with these studies, confirming direct contacts as an immediate risk predictive of disease. We find, however, that the infected closeness centrality from the ward-contact network, a measure of connectedness to all known infections, is more predictive than direct infectious contacts. This suggests the presence of longer transmission chains and potentially insufficient contact tracing strategies. Hospital IPC may thus benefit from more comprehensive contact tracing approaches, as seen in highly effective COVID-19 containment by governments outside healthcare settings34. Ward-level patient contact networks showed the highest performance, followed by building and then room, suggesting that epidemiological investigations should focus on ward links, which implicitly capture contacts with shared staff and patients in side-rooms35.
Accurate disease prediction is essential to prevent onward transmission12,13. Frequently, however, prediction models are static and do not account explicitly for the dynamic contact-mediated nature of many diseases4. Our dynamic disease forecasting framework (R package (barahona-research-group/Dynamic-contact-infection-forecast)) has been developed to be portable to a range of settings and variables. The framework provides daily patient-individualised predictions and can identify dynamic disease acquisition risk factors. To demonstrate its transferability, we applied it to data from a Geneva hospital group during surge 1 and demonstrated increased predictive power through the inclusion of contact network risk factors, despite only having access to room-level contacts, which were found to be less predictive in the London training data. We further showcased the applicability of the model by applying it to data from the same London hospital group at a later date under differing epidemiological (endemic) conditions (S2.1), changing hospital control measures, newly emerging variants, and increasing vaccination rates. Whilst the endemic validation achieved weaker performance, the inclusion of ward-level patient contact network risk factors substantially increased performance compared to the lack of predictivity of hospital-contextual risk factors alone (Table 4). With the continuing persistence of the COVID-19 pandemic, our framework and contact risk factors thus offer a tool to aid identification of potential HOCI cases across epidemic and endemic periods.
Our study has several limitations. First, our definitions of contact may miss certain transmission routes, e.g., connections via healthcare workers35,36, indirect transmission over surfaces, undetected patient carriage37, or non-room/ward/building contact. Second, since our training and testing period occurred largely prior to the UK’s vaccination rollout, we were unable to include vaccination status as a patient variable. However, the emergence of new variants and lack of complete vaccine coverage38 means that the assumption of susceptibility is still relevant, as demonstrated by our post-surge endemic data. Third, we did not include recovered COVID-19 patients in the HOCI prediction dataset because of limited cases and uncertainty regarding future susceptibility. Fourth, our data did not include indoor ventilation and room volume, which are recognised as contributory risks to COVID-19 transmission39. However, even without explicitly accounting for ventilation, our models still proved highly predictive. Finally, in response to the pandemic, various aspects of hospital organisation were altered, including changes in screening practice, personal protective equipment, or placing of ward beds, which were not explicitly encoded as model variables.
Our study highlights the predictive power that can be mined from networks of patient contacts to aid with personalised predictions of infectious disease in healthcare settings. The current study applies to respiratory virus transmission. Further work will be needed to extend this work to other healthcare-acquired infections by assessing how the inclusion of variables capturing a patient’s environment within an underlying contact network could aid prediction with a view to inform infection prevention and control measures.
Data Availability
The processed anonymised training and testing dataset used in this study can be available upon reasonable request to the corresponding author. Patient pathways will not be provided as these are withheld by the corresponding author's organisation to preserve patient privacy. Data from the Imperial Clinical Analytics Research and Evaluation (iCARE) platform used in this study may be available to researchers at request. External validation data sources will not be provided as these are withheld by owners. Data regarding hospital COVID-19 admissions is freely available via the NHS website. The code of the method is freely available as an (R package with examplar data sets.
Additional information
Contributors
AM, JRP, RLP, SM, and MB contributed to study concept and design. JRP, MA, SM, NZ, and FR contributed to data acquisition. AM, JRP, MA, and SM contributed to data analysis and accessed and verified the underlying data. AM, JRP, RLP, MA, AH, and MB contributed to the initial manuscript drafting. All authors contributed to data interpretation, as well as final revisions of the manuscript. AH and MB contributed to study supervision. AM, JRP, RLP, MA, SM, SH, AH and MB, contributed to the discussion of the results and reviewed the data. All authors had full access to all the data in the study and had final responsibility for the decision to submit for publication.
Data sharing
The processed anonymised training and testing dataset used in this study can be available upon reasonable request to the corresponding author. Patient pathways will not be provided as these are withheld by the corresponding author’s organisation to preserve patient privacy. Data from the Imperial Clinical Analytics Research and Evaluation (iCARE) platform used in this study may be available to researchers at request through imperialbrc.nihr.ac.uk/facilities/icare/. External validation data sources will not be provided as these are withheld by owners. Data regarding hospital COVID-19 admissions is freely available via the NHS covid-19-hospital-activity. The code of the method is freely available as an (R package (barahona-research-group/Dynamic-contact-infection-forecast)) with examplar data sets.
Declaration of interests
We declare no competing interests.
Acknowledgements
We thank Imperial College London’s NHS Infection Prevention and Control team, iCARE team, for supporting data access, cleaning and interpretation.
AM was supported in part by a scholarship from the Medical Research Foundation National PhD Training Programme in Antimicrobial Resistance Research (MRF-145-0004-TPG-AVISO), as well as by the National Institute for Health Research Academy. RLP was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) Project-ID 424778381-TRR 295. MO received funding from the Swiss National Science Foundation. AH is a National Institute for Health Research Senior Investigator. AH is also partly funded by the National Institute for Health Research Health Protection Research Unit (NIHR HPRU) in Healthcare Associated Infections and Antimicrobial Infections in partnership with Public Health England, in collaboration with, Imperial Healthcare Partners, University of Cambridge and University of Warwick (NIHR grant code: NIHR200876). AM, RLP, and MB acknowledge funding from EPSRC grant EP/N014529/1 to MB, supporting the EPSRC Centre for Mathematics of Precision Healthcare. The underlying investigation also received financial support from the World Health Organization (WHO). The research was also supported by the NIHR Imperial Biomedical Research Centre and by the iCARE environment and used the iCARE team and data resources.
The views expressed in this publication are those of the author(s) and not necessarily those of the NHS, the National Institute for Health Research, the Department of Health and Social Care or Public Health England or those of the WHO.
Footnotes
↵* m.barahona{at}imperial.ac.uk