Healthcare facilities play a crucial role in controlling pandemics, and nosocomial infections, which are infections attained within hospitals by patients and healthcare workers (HCWs), are a significant part of this fight, as observed during the recent COVID-19 pandemic. To mitigate these risks, a novel strategy has been proposed to restrict some hospitals solely to the…