Utilization of machine-learning models to accurately predict the risk for critical COVID-19