@article {Garrafa2021.06.10.21258721, author = {E. Garrafa and M. Vezzoli and M. Ravanelli and D. Farina and A. Borghesi and S. Calza and R. Maroldi}, title = {Early Prediction of In-Hospital Death of COVID-19 Patients: A Machine-Learning Model Based on Age, Blood Analyses, and Chest X-Ray Score}, elocation-id = {2021.06.10.21258721}, year = {2021}, doi = {10.1101/2021.06.10.21258721}, publisher = {Cold Spring Harbor Laboratory Press}, abstract = {Background To develop and validate an early-warning model to predict in-hospital mortality on admission of COVID-19 patients at an emergency department (ED).Methods In total, 2782 patients were enrolled between March 2020 and December 2020, including 2106 patients (first wave) and 676 patients (second wave) in the COVID-19 outbreak in Italy. The first-wave patients were divided into two groups with 1474 patients used to train the model, and 632 to validate it. The 676 patients in the second wave were used to test the model. Age, 17 blood analytes and Brescia chest X-ray score were the variables processed using a Random Forests classification algorithm to build and validate the model. ROC analysis was used to assess the model performances. A web-based death-risk calculator was implemented and integrated within the Laboratory Information System of the hospital.Results The final score was constructed by age (the most powerful predictor), blood analytes (the strongest predictors were lactate dehydrogenase, D-dimer, Neutrophil/Lymphocyte ratio, C-reactive protein, Lymphocyte \%, Ferritin std and Monocyte \%), and Brescia chest X-ray score. The areas under the receiver operating characteristic curve obtained for the three groups (training, validating and testing) were 0.98, 0.83 and 0.78, respectively.Conclusions The model predicts in-hospital mortality on the basis of data that can be obtained in a short time, directly at the ED on admission. It functions as a web-based calculator, providing a risk score which is easy to interpret. It can be used in the triage process to support the decision on patient allocation.Competing Interest StatementThe authors have declared no competing interest.Funding StatementSC and MV work was supported by research grants from the Italian Ministry of University (PRIN projects n. 20178S4EK9 to SC)Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.Not ApplicableThe details of the IRB/oversight body that provided approval or exemption for the research described are given below:Comitato Etico Spedali Civili di BresciaAll necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.Not ApplicableI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).Not ApplicableI have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.Not ApplicableThe Institutional review board aprpoved the study with the entry code NP4000}, URL = {https://www.medrxiv.org/content/early/2021/06/13/2021.06.10.21258721}, eprint = {https://www.medrxiv.org/content/early/2021/06/13/2021.06.10.21258721.full.pdf}, journal = {medRxiv} }