Hospital-wide, dynamic, individualized prediction of central line-associated bloodstream infections - development and temporal evaluation of six prediction models ================================================================================================================================================================== * Elena Albu * Shan Gao * Pieter Stijnen * Frank E. Rademakers * Christel Janssens * Veerle Cossey * Yves Debaveye * Laure Wynants * Ben Van Calster ## Summary **Background** Central line-associated bloodstream infections (CLABSI) are preventable hospital-acquired infections. Predicting CLABSI helps improve early intervention strategies and enhance patient safety. **Aim** To develop and temporally evaluate dynamic prediction models for continuous CLABSI risk monitoring. **Methods** Data from hospitalized patients with central catheter(s) admitted to University Hospitals Leuven between 2014 and 2017 were used to develop five dynamic models (a cause-specific landmark supermodel, two random forest models, and two XGBoost models) to predict 7-day CLABSI risk, accounting for competing events (death, discharge, and catheter removal). The models’ predictions were then combined using a superlearner model. All models were temporally evaluated on data from the same hospital from 2018 to 2020 using performance metrics for discrimination, calibration, and clinical utility. **Findings** Among 61629 catheter episodes in the training set, 1930 (3.1%) resulted in CLABSI, while in the test set of 44544 catheter episodes, 1059 (2.4%) experienced CLABSI. Among individual models, one XGBoost model reached an AUROC of 0.748. Calibration was good for predicted risks up to 5%, while the cause-specific and XGBoost models overestimated higher predicted risks. The superlearner displayed a modest improvement in discrimination (AUROC up to 0.751) and better calibration than the cause-specific and XGBoost models, but worse than the random forest models. The models showed clinical utility to support standard care interventions (at risk thresholds between 0.5-4%), but not to support advanced interventions (at thresholds 15-25%). A deterioration in model performance over time was observed on temporal evaluation. **Conclusion** Hospital-wide CLABSI prediction models offer clinical utility, though temporal evaluation revealed dataset shift. ## Introduction Central line-associated bloodstream infection (CLABSI), defined as a bacteraemia occurring at least 48 hours after admission in the absence of infection at another site1, is a priority for prevention due to its association with prolonged hospital stays, increased healthcare costs and elevated morbidity and mortality2–4. Developing a risk prediction model for CLABSI can assist healthcare professionals, including clinicians and infection control teams, with timely risk assessments to inform preventative interventions and improve patient outcomes. A previous systematic review5 assessed existing risk prediction models for CLABSI and found that 15 out of 16 developed models were static, with only one dynamic model developed. Static models may be less effective, as they fail to capture the changes in a patient’s health throughout their hospital stay. The increasing availability of continuously updated electronic health records (EHR) datasets offers a new opportunity. As demonstrated by other longitudinal studies on EHR data for various clinical outcomes6–8, these datasets enable more frequent measurements that may better reflect the patient’s evolving condition or disease progression. By continuously updating patient information and renewing predictions, dynamic prediction becomes feasible, providing a more nuanced and timely assessment of the patient’s health status9. We developed and temporally evaluated dynamic risk prediction models for capturing the 7-day risk of CLABSI among hospitalized patients with central venous catheters, utilizing EHR data from the University Hospitals Leuven. We developed six models: a cause-specific regression model, two random forest (RF), two eXtreme Gradient Boosting (XGB) models, and a superlearner ensemble. ## Methods The study reporting follows the TRIPOD+AI statement10. ### Study design and data Patient data were extracted from the EHR system of the University Hospitals Leuven for hospital admissions in the period January 2014 -December 2020. We included patient admissions with registration of central catheters: centrally inserted central catheter (CICC), tunnelled cuffed and non-cuffed central venous catheter, port catheter (Totally Implanted Vascular Access Devices -TIVAD), peripherally inserted central catheter (PICC) and dialysis catheter. No exclusion criteria were applied; all patients from all medical wards were included, from neonates to geriatric patients, including intensive care (ICU) admissions, reflecting the target population for a hospital-wide CLABSI alert system. The training set used for model development included hospital admissions starting between January 2014 and December 2017. The test set used for temporal evaluation included hospital admissions between January 2018 and December 2020. The data extraction and preparation procedure has been described in our previous studies conducted on data collected prior to January 201411,12 and is repeated. The following levels of the outcome are considered: * **CLABSI**: any laboratory-confirmed bloodstream infection (LC-BSI) for a patient with central catheter or within 48 hours after the central catheter removal that is not present on admission, that is not secondary to another infection and is not a mucosal barrier injury LC-BSI. The CLABSI definition was applied retrospectively on the extracted data following the definition of the Belgian public health institute Sciensano, published in 20191. While Sciensano does not impose a specific time window for secondary infections, we used 17 days, considering the infection window period of 14 days plus the repeat infection timeframe of 3 days13. * **Discharge**: Hospital discharge or 48 hours after catheter removal, whichever happens first. According to the Sciensano definition, the patient remains at risk of CLABSI for 48 hours after catheter removal. * **Death**: The first contact with palliative care during admission, transfer to palliative care or patient death, whichever happens first. Patients stop being closely monitored in palliative care and predictions on this ward are not actionable. Patient admissions were split in catheter episodes. A catheter episode starts at catheter placement (if placed in ICU) or at the first structured catheter observation (e.g. monitoring observations like dressing status, lumens flushed, bandage change, etc.) during the admission (outside ICU). A catheter episode ends when no catheter observation is made for 48 hours (as a proxy for catheter removal) or at catheter removal, or when discharge, death or CLABSI occurs. A catheter episode was further split in landmarks (LMs) marking every 24 hours: LM0 is the time of the first catheter observation, LM1 is 24h later, and so on (Supplementary Material 1). The risk of CLABSI within the following 7 days is predicted at each landmark throughout the catheter episode. The complete dataset consisted of 160 baseline and time-varying variables comprising patient demographics, ward transfers, medication, laboratory test results, comorbidities, vital signs and catheter registrations. They were selected out of 302 extracted variables based on a priori information, including insights from analyses on data prior to 2014, clinical expertise, and reliability of variables (i.e. expectation that the variable will be recorded consistently in future data). Whenever multiple measurements were available during a time window, these were aggregated into a single landmark value (e.g.: maximum temperature in last 24 hours, Supplementary Material 2). Missing data were encountered for 66 variables and were imputed using missForestPredict14,15 on the training dataset using the complete set of variables. The outcome was not included in the imputation process. The test set was imputed using the imputation model learned on the training set. (Supplementary material 3 provides further information). ### Model development and evaluation We built five different dynamic models that use time-varying predictor information and jointly model CLABSI, death, discharge and “no event” within 7 days as the outcome levels: a regression model, specifically a landmark cause-specific supermodel (CS), considering death and discharge as competing events for CLABSI, two multinomial RF models and two multinomial XGB models. The CS model used a limited set of 62 variables, including interaction and polynomial terms (Supplementary Material 2). The limited set of variables was selected from the complete set of variables based on their predictiveness for CLABSI in data prior to 2014 (Supplementary Material 4). One RF and one XGB model were built on the same variables, excluding interaction and the polynomial terms, resulting in 58 variables (RF-LIM and XGB-LIM). Another RF and XGB model were built using the complete set of 160 variables with either explicit data-driven variable selection (RF-ALL) or implicit data-driven variable selection through regularization hyperparameters (XGB-ALL). Further, we combined the predictions of the five models into a superlearner model, which previously demonstrated improved predictive performance16,17. We used ten-fold cross-validation (called outer CV) to parametrize the superlearner. Within the outer CV we performed nested 5-fold cross-validation for tuning the XGB models and used the out-of-bag samples for tuning the RF models. (Supplementary Material 5) Internal evaluation was performed for the individual models (CS, RF and XGB) by evaluating performance metrics using the outer CV held-out folds. To assess the model performance over time, temporal evaluation was performed for all models including the SL model on the test set (2018-2020). Threshold-independent metrics for discrimination (Area Under the ROC curve) and calibration (assessing how well the predicted CLABSI probabilities align with the observed outcomes) are reported at each landmark in a catheter episode. Calibration plots over all landmarks are presented. Threshold-dependent metrics (net benefit, sensitivity, specificity, positive predictive value, negative predictive value and alert rate) were evaluated on temporal evaluation, for all landmarks combined. We considered two risk thresholds for generating alerts: a medium-risk threshold for which the nursing team can intervene with standard care practice (standard care bundle with enhanced routine maintenance check) and a high-risk threshold for enhanced interventions for additional protection (e.g.: chlorhexidine-impregnated dressings and washcloths or chlorhexidine-coated catheters). Following consensus of different representatives of the model’s users (nurses, clinicians and infection preventionists), for the medium-risk threshold we considered the values: 0.5%, 1%, 2%, 3%, 4%, 5% and for the high-risk threshold 15%, 20%, 25%. Decision curves18,19 were also presented to assess clinical utility of intervention decisions at the proposed thresholds. ## Results ### Data characteristics The training set consisted of 55910 admissions, 61628 catheter episodes with complete follow up for all event types (1930 CLABSI, 3206 deaths and 56492 discharges) and 541815 landmarks. The test set consisted of 40994 admissions, 44544 catheter episodes (1059 CLABSI, 1901 deaths and 41584 discharges) and 391353 landmarks. Supplementary material 6 presents the outcome prevalence and incidence. Table 1 presents the patient demographics and catheter information at baseline. View this table: [Table 1:](http://medrxiv.org/content/early/2024/11/04/2024.11.04.24316689/T1) Table 1: Patient characteristics at baseline (start of the catheter episode); median (IQR) for continuous variables, after missing data imputation; n (%) for categorical variables. Patients can have two or more different catheter types simultaneously, therefore catheter type has been coded as a binary rather than a categorical variable with multiple categories. IQR = interquartile range; F = female; M = male; CLABSI = Central Line-Associated Bloodstream Infection; ICU = Intensive Care Unit; ORL = Otorhinolaryngology; CICC = Centrally Inserted Central Catheter; CVC = Central Venous Catheter; PICC = Peripherally Inserted Central Catheter; TIVAD = Totally Implanted Vascular Access Devices; tc-CICC = tunnelled cuffed CICC; t-CICC = tunnelled CICC. UNKNOWN_VALUE = The paediatric ward has changed name * done in training data did not cover the values in the test data. The emergency ward started using the EHR system consistently for catheter registrations in 2018. ICU, Abdomen and Gynecology are less prevalent at baseline (as entry-wards) in the test set, while emergency and cardiac are more prevalent; over all landmarks, the number of landmarks per ward remains rather stable (Supplementary Material 2) ### Models evaluation Considering the individual models, the XGB-ALL model had the highest AUROC on temporal evaluation, reaching a maximum of 0.748 at landmark 8 (i.e. 8 days after the start of the catheter episode), while the cause-specific model has the lowest AUROC. The RF-ALL model selected slightly less variables compared to the RF-LIM model yet had slightly better performance (45 versus 58 variables out of which 25 are common). The XGB-ALL model did not perform variable selection. The performance decreased with each year on the test set. In Supplementary Material 7 we present the models evaluated on each year of the test set: 2018, 2019 and 2020. The calibration plot showed agreement between observed and predicted risks for all models at low predicted risk levels (lower than 0.05). The cause-specific and XGBoost models produced overly extreme estimates at high predicted risk levels (Figure 2). The E:O ratios higher than one indicate that the models tend to overestimate the CLABSI risk. The E:O ratio for all models temporally evaluated on each year also showed an increasing trend over year, which suggested more severe overestimation at later years in the test data (Supplementary Material 7). ![Figure 1.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2024/11/04/2024.11.04.24316689/F1.medium.gif) [Figure 1.](http://medrxiv.org/content/early/2024/11/04/2024.11.04.24316689/F1) Figure 1. Prediction performance at each landmark on the test. AUROC = Area Under the ROC curve; E:O = Expected:Observed. The vertical bars represent confidence intervals; for better visualisation, these are shown only for two models: CS-LIM and SL. The confidence interval bars for the SL model are shifted to the right with a small offset for better visualisation. ![Figure 2.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2024/11/04/2024.11.04.24316689/F2.medium.gif) [Figure 2.](http://medrxiv.org/content/early/2024/11/04/2024.11.04.24316689/F2) Figure 2. Calibration curves using restricted cubic splines (a); prediction boxplots (b); decision analysis curves (c) for all models on temporal evaluation using all landmarks. (a) The dashed grey line represents the identity function (perfect calibration). (c) The dashed grey lines mark the proposed thresholds for model evaluation. The superlearner model showed a minimal improvement in discrimination: maximum AUROC of 0.751 at landmark 6. It also displayed better calibration than the cause-specific and XGB models, but its calibration was still inferior to that of the RF models. (Figure 2). The proportional contributions of each model in the superlearner were: 0.02 for CS, 0.06 for RF-LIM, 0.27 for RF-ALL, 0 for XGB-LIM and 0.65 for XGB-ALL. The models showed no benefit to support specific technological interventions (high-risk thresholds 15%-25%), but they had clinical utility to support standard care interventions for medium-risk thresholds up to 3% for the CS model and up to 4% for the other models (Figure 2 (c) and Table 2). Nonetheless, the utility of the models differed by ward. For example, the superlearner had utility for all (0.5%-5%) medium-risk thresholds in haematology, traumatology, gynaecology, neonatology, thoracic surgery, neurology, internal medicine, and urology (Supplementary Material 7), while it depended on the specific threshold in other wards. View this table: [Table 2:](http://medrxiv.org/content/early/2024/11/04/2024.11.04.24316689/T2) Table 2: Threshold dependent metrics at different thresholds. The Net Benefit has been multiplied by 100 and represents the Net true positives per 100 landmarks (catheter-days). For Net Benefit, * indicates values that exceed both the net benefit of the ‘treat all’ intervention and the net benefit of the ‘treat none’ intervention, -0 indicates small values but negative. PPV = Positive Predictive Value; NPV = Negative Predictive Value; NB = Net Benefit The sensitivity, specificity and alert rate at medium-risk thresholds varied widely; the PPV remained below 5% regardless of threshold. The highest ward-specific alert rates at medium-risk thresholds are reached at threshold 0.5% in emergency (99.1%) and ICU (98.9%) and the lowest at threshold 5%: 0.2% in traumatology and gynaecology. Among the individual models, XGB-ALL had the best discrimination and the best net benefit at medium-risk thresholds. The superlearner showed slightly better discrimination and calibration than XGB-ALL, and superior net benefit at thresholds 3% and 4%, but slightly lower net benefit at the other three thresholds (0.5%, 1%, 2%). From a practical perspective, the superlearner comes with the disadvantage of deploying four models (considering that XGB-LIM got zero weight). Both models include the same number of variables, as XGB-ALL did not perform variable selection. ### Temporal shift All models showed a performance deterioration on temporal evaluation (test set) compared to the internal evaluation (Supplementary Material 7). For example, the median CV AUROC for XGB-ALL reached the maximum value of 0.774 at landmark 3,. To understand the reduced performance in temporal evaluation, we first analysed predictor shifts across training and test data (Supplementary Material 8). Fluctuations in missing data and variable sparsity were observed across years. Additionally, significant shifts in log(D-dimer) distributions negatively impacted temporal evaluation. A lab machine upgrade in May 2019 expanded the maximum measurable D-dimer range from 7,650 (training) to 284,780 (test), leading to inflated predictions for patients with extremely high D-dimer levels. Removing log(D-dimer) from the landmark cause-specific supermodel improved overall AUC and calibration, making it comparable to the XGB models’ calibration. Furthermore, we analysed the outcome prevalence shift across training and test data (Supplementary Material 8). A declining trend in CLABSI cases was observed across medical specialties like geriatrics and thoracic surgery, along with a continuous hospital-wide decrease in outcome prevalence, despite relatively stable counts of positive cultures and catheter episodes. This reflects improvements in clinical care, likely drive by the gradual implementation of the line care bundle from 2012 to full hospital-wide adoption by 2016. To assess the impact of shifts in predictor-outcome associations, we fitted landmark cause-specific supermodels using the limited set of variables on yearly data from 2014 to 2020 (Supplementary Material 8). Results showed lower apparent AUCs for 2019 and 2020 at the first six landmarks compared to other years, particularly the apparent AUCs for 2019 worsened after landmark nine. As training the model on test data did not improve the ssprediction model’s performance, these results suggest the decreasing performance reflect complex changes in the evolving clinical environment that made the prediction problem harder, rather than the issues with the model. Due to time and computerization constraints, only the landmark cause-specific models were fitted on the full training and test data. XGBoost models on the full dataset may be explored in future studies. ## Discussion We developed and evaluated dynamic models for predicting the 7-day risk of CLABSI in patients with central catheters using EHR data. XGBoost models showed the best discrimination and random forest models showed the best calibration. Combining multiple models through a superlearner framework marginally improved discrimination and partially corrected the miscalibration of XGBoost. Temporal evaluation revealed a decrease in model performance compared to internal evaluation. The CLABSI incidence has also decreased over time, which is reflected in the increasing overestimation of predicted risks over time. The CLABSI models have practical relevance when implemented in an early warning system targeting users like nurses and clinicians on different wards, as well as infection preventionists and the Vascular Access Specialty Teams who oversee the care of all hospitalized patients. We aimed for two implementation thresholds: medium-risk alerts, for which nurses can intervene by verifying the catheter maintenance care bundle and infection preventionists can check the adherence to the care bundle items, and high-risk alerts, which prompt for specific technological interventions (e.g.: dressing type, catheter replacement). The models demonstrated both hospital-wide and ward-specific utility for medium-risk alerts (up to a threshold of 3%), but not for high-risk alerts. In comparison to previously published models5, which are mostly static, we developed and temporally evaluated dynamic models. While our systematic review identified one dynamic model20, it was limited to patients in the cardiac ICU or cardiac ward, whereas our models targeted a hospital-wide population. Additionally, their definition of CLABSI as any new positive blood culture was much broader than the surveillance definition of CLABSI. Moreover, previously published models were at high risk of bias, e.g. by exclusions based on future data, temporal data leakage, or using predictors unavailable at the time of prediction. Our study has limitations. Although we performed a comprehensive data extraction, we did not particularly focus on extracting strong predictors for the competing events included in our models: death and discharge. Further refining the extracted predictors or variable selection strategy might lead to improved model performance. Second, we did not account for variable dynamics in the model. Even with dynamic predictions, a prediction at a given time relies only on the values at the prediction time, or in a fixed time window before the prediction time (typically of 24 hours) without incorporating previous values during a catheter episode (e.g.: values 48 hours before the prediction time) or trends for individual variables within a catheter episode (e.g.: increase / decrease over time in lab values). In a previous analysis on data prior to 2014, we tested models with two lagged values or with differences between values at consecutive landmarks, but these did not improve the performance (unpublished results). However, this approach may have been limited, and more advanced models like recurrent neural networks, transformers21, or DeepHit22, could be explored in the future. Moreover, incorporating more diverse models within the superlearner framework may improve its overall performance. Third, we observed a deterioration in performance on temporal evaluation, reflecting potential shifts in patient care practices, catheter management strategies, patient populations or data recording procedures in the EHR system. Calibration deterioration is more common than discrimination deterioration and can often be corrected by model recalibration23,24. When we refitted the models on data per calendar year separately, we observed a decline in discrimination with each successive year. This suggests that the CLABSI prediction task is becoming increasingly challenging, raising concerns about the utility of these models for data beyond 2020 if this trend continues in the coming years. Lastly, we acknowledge limitations related to fairness in our study. Although we included age and gender as predictors in our models, we did not extract data on race, ethnicity or socioeconomic status. This limits our ability to fully explore how the predictive performance varies across different demographic groups. Furthermore, wealthier patients who can afford single rooms may be at a lower risk of hospital-acquired infections, including CLABSI, compared to patients in shared rooms. However, it is difficult to determine whether socioeconomic bias is reflected in our models. Further research is needed to determine if CLABSI models have practical applicability or are generalizable to other hospitals. Given the uncertain intervention effectiveness, the practical applicability of these models remains unclear. Following the CLABSI definition, our models predict infections in patients with central catheters where no other identifiable source of infection can be established; these infections are not always directly attributed to the central catheter. Consequently, interventions like improved line care do not guarantee prevention of infections classified as CLABSI, especially in a hospital where the infection prevention strategy is already of high standard. Implementation studies assessing the impact on clinical decision-making, patient outcomes, user-perceived usefulness or even adverse outcomes (e.g.: unnecessary catheter removals) could help determine if the model adds practical value in healthcare settings. The data extraction from various clinical databases and the proprietary format of catheter observations would hinder generalization to hospitals using a different EHR system. To ensure model compatibility across different EHR systems, it is essential to standardize data extraction for both model development and implementation, and perform clinical concepts mapping, using standards like FHIR25 and OMOP CDM26. Furthermore, we adhered to the Belgian Institute of Public Health’s definition of CLABSI, which might differ slightly from other local or international definitions. However, testing the models’ performance in Belgian hospitals with the same EHR system may prove feasible, after adapting the mapping configuration between extracted items and the clinical concepts (without changing the extraction format) and assessing the quality of the data extraction and preparation. ## Conclusion Our study proposed a number of dynamic models for predicting the 7-day risk of CLABSI in patients with central catheters. The overall performance of the models was modest: the maximum AUROC of 0.751 was achieved by the superlearner model at day 6. Temporal evaluation revealed dataset shifts. The models showed clinical utility for generating alerts to check standard care interventions based on medium-risk thresholds, but not for alerts to consider technological interventions based on high-risk thresholds. ## Supporting information Supplementary materials [[supplements/316689_file02.docx]](pending:yes) Supplement - TRIPOD+AI checklist [[supplements/316689_file03.docx]](pending:yes) ## Data Availability The data underlying this article cannot be shared publicly due to privacy of individuals that participated in the study. Data are located in controlled access database at UZ Leuven. ## Data and code availability The data underlying this article cannot be shared publicly due to privacy of individuals that participated in the study. Data are located in controlled access database at UZ Leuven. The code to build the RF and XGB models has been run on a high-performance computing cluster using 36 cores and 128 GB RAM for the RF model and an NVIDIA V100 GPU for the XGB model. R version 4.2.1, randomForestSRC27 3.2.2, ranger28 0.15.1 and xgboost29 2.0.0.1 have been used to build the models. ## Conflict of interest statement The authors declare that they have no conflicts of interests to disclose. ## Funding statement This work was supported by the Internal Funds KU Leuven [grant C24M/20/064]. The funding sources had no role in the conception, design, data collection, analysis, or reporting of this study. ## Authors’ contribution ALBU Elena: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Visualization, Writing - original draft. GAO Shan: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Visualization, Writing - original draft. Stijnen Pieter: Conceptualization, Data curation, Funding acquisition, Writing - review & editing. RADEMAKERS Frank: Supervision, Writing - review & editing. COSSEY Veerle: Supervision, Writing - review & editing. DEBAVEYE Yves: Supervision, Writing - review & editing. JANSSENS Christel: Supervision, Writing - review & editing. VAN CALSTER Ben: Conceptualization, Funding acquisition, Methodology, Project administration, Supervision, Writing - review & editing. WYNANTS Laure: Conceptualization, Funding acquisition, Methodology, Project administration, Supervision, Writing - review & editing ## Acknowledgements The study adhered to the principles of the Declaration of Helsinki (current version), the principles of Good Clinical Practice (GCP), and all relevant regulatory requirements. Ethical review was sought from the Ethics Committee Research UZ / KU Leuven, Belgium, which is the local ethics committee at UZ Leuven ([https://admin.kuleuven.be/raden/en/ethics-committee-research-uz-kuleuven#](https://admin.kuleuven.be/raden/en/ethics-committee-research-uz-kuleuven#)). The collection, processing and disclosure of personal data, such as patient health and medical information were in compliance with applicable personal data protection and the processing of personal data (Directive 95/46/EC and Belgian law of December 8, 1992 on the Protection of the Privacy in relation to the Processing of Personal Data). Patient stay identifiers were coded using the pseudo-identifier available in the data warehouse of the participating hospital. The resources and services used in this work were provided by the VSC (Flemish Supercomputer Center), funded by the Research Foundation - Flanders (FWO) and the Flemish Government. ## Abbreviations AUPRC : Area Under the Precision Recall Curve AUROC : Area Under the Receiver Operating Characteristic curve BS : Brier Score BSI : Bloodstream Infection BSS : Brier Skill Score CICC : Centrally Inserted Central Catheters (CICC) CIF : Cumulative Incidence Functions CLABSI : Central Line-Associated Bloodstream Infections CR : Competing Risks CRP : C-reactive protein CVC : Central Venous Catheter ECI : Estimated Calibration Index EHR : Electronic Health Records FWO : Research Foundation - Flanders ICD : International Classification of Diseases ICU : Intensive Care Unit IQR : Interquartile Range KWS : Klinisch Werkstation (EHR System) LC-BSI : Laboratory-Confirmed Bloodstream Infection LM : Landmark LR : logrank LRCR : logrankCR (logrank competing risks) LWS : Laboratorium Werkstation (Laboratory System) ML : Machine Learning NMSE : Normalized Mean Square Error OOB : Out of bag PICC : Peripherally Inserted Central Catheter PDMS : Patient Data Management System (ICU Management System) RAM : Random Access Memory RF : Random Forest tc-CICC : tunnelled cuffed Centrally Inserted Central Catheters (CICC) TIVAD : Totally Implanted Vascular Access Devices tnc-CICC : tunnelled non-cuffed Centrally Inserted Central Catheters (CICC) TPN : Total Parenteral nutrition VSC : Flemish Supercomputer Center WBC : White Blood Cells count * Received November 4, 2024. * Revision received November 4, 2024. * Accepted November 4, 2024. * © 2024, Posted by Cold Spring Harbor Laboratory This pre-print is available under a Creative Commons License (Attribution 4.0 International), CC BY 4.0, as described at [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) ## References 1. 1.Duysburgh E. Surveillance bloedstroom infecties in belgische ziekenhuizen - protocol 2019. Published 2019. Accessed June 25, 2024. [https://www.sciensano.be/sites/default/files/bsi\_surv\_protocol\_nl\_april2019.pdf](https://www.sciensano.be/sites/default/files/bsi\_surv_protocol_nl_april2019.pdf) 2. 2.Klevens RM, Edwards JR, Richards CL, et al. Estimating health care-associated infections and deaths in u.s. Hospitals, 2002. Public Health Reports. 2007 Mar-Apr;122(2):160–166. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1177/003335490712200205&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17357358&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 3. 3.Stewart S, Robertson C, Pan J, et al. Impact of healthcare-associated infection on length of stay. Journal of Hospital Infection. 2021;114:23–31. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jhin.2021.02.026&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=34301393&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 4. 4.Zimlichman E, Henderson D, Tamir O, et al. Health care–associated infections: A meta-analysis of costs and financial impact on the US health care system. JAMA Internal Medicine. 2013;173(22):2039–2046. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=23999949&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 5. 5.Gao S, Albu E, Tuand K, et al. Systematic review finds risk of bias and applicability concerns for models predicting central line-associated bloodstream infection. Journal of Clinical Epidemiology. 2023;161:127–139. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=37536503&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 6. 6.Tomašev N, Glorot X, Rae JW, et al. A clinically applicable approach to continuous prediction of future acute kidney injury. Nature. 2019;572:116–119. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41586-019-1390-1&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=31367026&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 7. 7.Kate RJ, Pearce N, Mazumdar D, Nilakantan V. A continual prediction model for inpatient acute kidney injury. Computers in Biology and Medicine. 2020;116:103580. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=32001013&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 8. 8.Keogh RH, Seaman SR, Barrett JK, Taylor-Robinson D, Szczesniak R. Dynamic prediction of survival in cystic fibrosis: A landmarking analysis using UK patient registry data. Epidemiology. 2019;30(1):29–37. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30234550&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 9. 9.Greene T, Li L. From static to dynamic risk prediction: Time is everything. American Journal of Kidney Diseases. 2017;69(4):492–494. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28340850&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 10. 10.Collins GS, Moons KG, Dhiman P, et al. TRIPOD+ AI statement: Updated guidance for reporting clinical prediction models that use regression or machine learning methods. bmj. 2024;385. 11. 11.Albu E, Gao S, Stijnen P, et al. Comparison of static and dynamic random forests models for EHR data in the presence of competing risks: Predicting central line-associated bloodstream infection. arXiv preprint arxiv:240416127. Published online 2024. 12. 12.Gao S, Albu E, Putter H, et al. A comparison of regression models for static and dynamic prediction of a prognostic outcome during admission in electronic health care records. arXiv preprint arxiv:240501986. Published online 2024. 13. 13.Disease Control C for, Prevention, et al. Bloodstream infection event (central line-associated bloodstream infection and non-central line-associated bloodstream infection). Device-associated Module BSI. Published online 2017:1-38. 14. 14.Albu E. missForestPredict: Missing Value Imputation Using Random Forest for Prediction Settings.; 2023. [https://CRAN.R-project.org/package=missForestPredict](https://CRAN.R-project.org/package=missForestPredict) 15. 15.Albu E, Gao S, Wynants L, Van Calster B. missForestPredict–missing data imputation for prediction settings. arXiv preprint arxiv:240703379. Published online 2024. 16. 16.Van der Laan MJ, Polley EC, Hubbard AE. Super learner. Statistical applications in genetics and molecular biology. 2007;6(1). 17. 17.Polley EC, Van der Laan MJ. Super learner in prediction. Published online 2010. 18. 18.Vickers AJ, Elkin EB. Decision curve analysis: A novel method for evaluating prediction models. Medical Decision Making. 2006;26(6):565–574. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1177/0272989X06295361&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17099194&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000242172200001&link_type=ISI) 19. 19.Vickers AJ, Calster B van, Steyerberg EW. A simple, step-by-step guide to interpreting decision curve analysis. Diagnostic and prognostic research. 2019;3:1–8. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s41512-019-0064-7&link_type=DOI) 20. 20.Bonello K, Emani S, Sorensen A, et al. Prediction of impending central-line-associated bloodstream infections in hospitalized cardiac patients: Development and testing of a machine-learning model. Journal of Hospital Infection. 2022;127:44–50. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=35738317&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 21. 21.Vaswani A. Attention is all you need. Advances in Neural Information Processing Systems. Published online 2017. 22. 22.Lee C, Yoon J, Van Der Schaar M. Dynamic-deephit: A deep learning approach for dynamic survival analysis with competing risks based on longitudinal data. IEEE Transactions on Biomedical Engineering. 2019;67(1):122–133. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30951460&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 23. 23.Guo LL, Pfohl SR, Fries J, et al. Systematic review of approaches to preserve machine learning performance in the presence of temporal dataset shift in clinical medicine. Applied clinical informatics. 2021;12(04):808–815. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=34470057&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 24. 24.Davis SE, Greevy Jr RA, Fonnesbeck C, Lasko TA, Walsh CG, Matheny ME. A nonparametric updating method to correct clinical prediction model drift. Journal of the American Medical Informatics Association. 2019;26(12):1448–1457. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=31397478&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 25. 25.Pimenta N, Chaves A, Sousa R, Abelha A, Peixoto H. Interoperability of clinical data through FHIR: A review Procedia Computer Science. 2023;220:856–861. 26. 26.Xiao G, Pfaff E, Prud’hommeaux E, et al. FHIR-ontop-OMOP: Building clinical knowledge graphs in FHIR RDF with the OMOP common data model. Journal of biomedical informatics. 2022;134:104201. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=36089199&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 27. 27.Ishwaran H, Kogalur UB, Blackstone EH, Lauer MS. Random survival forests. Ann Appl Statist. 2008;2(3):841–860. [https://arXiv.org/abs/0811.1645v1](https://arXiv.org/abs/0811.1645v1) [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1214/08-AOAS169&link_type=DOI) 28. 28.Wright MN, Ziegler A. ranger: A fast implementation of random forests for high dimensional data in C++ and R. Journal of Statistical Software. 2017;77(1):1–17. doi:10.18637/jss.v077.i01 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.18637/jss.v077.i01&link_type=DOI) 29. 29.Chen T, He T, Benesty M, et al. Xgboost: Extreme Gradient Boosting.; 2023. [https://CRAN.R-project.org/package=xgboost](https://CRAN.R-project.org/package=xgboost) 30. 30. Houwelingen HC van, Putter H. Dynamic predicting by landmarking as an alternative for multi-state modeling: An application to acute lymphoid leukemia data. Lifetime Data Anal. 2008;14(4):447–463. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s10985-008-9099-8&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=18836831&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000260542000006&link_type=ISI) 31. 31.Bischl B, Richter J, Bossek J, Horn D, Thomas J, Lang M. mlrMBO: A modular framework for model-based optimization of expensive black-box functions. arXiv preprint arxiv:170303373. Published online 2017. 32. 32.Ishwaran H, Kogalur UB. Fast unified random forests for survival, regression, and classification (RF-SRC). R package version. 2019;2(1). 33. 33.Ishwaran H, Chen X, Minn AJ, Lu M, Lauer MS, Kogalur UB. randomForestSRC: Minimal depth vignette. Published online 2021. [https://www.randomforestsrc.org/articles/minidep.html](https://www.randomforestsrc.org/articles/minidep.html) 34. 34.Phillips RV, Van Der Laan MJ, Lee H, Gruber S. Practical considerations for specifying a super learner. International Journal of Epidemiology. 2023;52(4):1276–1285. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=36905602&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 35. 35.Brier GW. Verification of forecasts expressed in terms of probability. Monthly weather review. 1950;78(1):1–3. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1175/1520-0493(1950)078<0001:VOFEIT>2.0.CO;2&link_type=DOI) 36. 36.Van Calster B, McLernon DJ, Van Smeden M, Wynants L, Steyerberg EW. Calibration: The achilles heel of predictive analytics. BMC medicine. 2019;17(1):1–7. [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30651111&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom) 37. 37.Van Hoorde K, Van Huffel S, Timmerman D, Bourne T, Van Calster B. A spline-based tool to assess and visualize the calibration of multiclass risk predictions. Journal of biomedical informatics. 2015;54:283–293. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.jbi.2014.12.016&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=25579635&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F11%2F04%2F2024.11.04.24316689.atom)