Figure 1

In this work, we collect the time and location of interactions between patients and HCWs from different tables in the electronic health records (EHRs) dataset, such as medicine administration, admission and discharge and flow sheets, and doctors’ notes. We construct daily heterogeneous contact networks from this data (see more details in the Supplementary Information). For example, as shown in the figure on day T, the red healthcare worker and blue patient are in location \(L_1\), the black patient is in location \(L_2\), and the green patient is in location \(L_3\).