Movement and contacts are central to the transmission of infectious diseases and, within the hospital setting, healthcare worker (HCW) mobility and their contact with patients play an important role in the spread of nosocomial disease. Yet data relating to HCW behaviours associated with mobility and contacts in the healthcare environment are often limited. This paper proposes a framework for integrating several electronic data sources routinely-collected by modern hospitals, to enable the measurement of HCW behaviours relevant to the transmission of infections. Using data from a London teaching hospital during the COVID-19 pandemic, we demonstrate how, at an aggregate level, electronic medical records (EMRs) and door access logs can be used to establish changes in HCW mobility and patient contacts. In addition, to show the utility of these data sources in supporting infection prevention and control (IPC), we investigate changes in the indirect connectivity of patients (resulting from shared contacts with HCWs) and spatial connectivity of floors (owing to the movements of HCWs). Average daily rates of patient contacts are computed and found to be higher throughout the pandemic compared to that pre-pandemic, while the average daily rates of HCW mobility remained stable until the second wave, where they surpassed pre-pandemic levels. The response of HCW behaviour to the pandemic was not equal between floors, whereby the highest increases in patient contacts and mobility were on floors handling the majority of COVID-19 patients. The first wave of COVID-19 patients resulted in changes to the flow of HCWs between floors, but the interconnectivity between COVID-19 and non COVID-19 wards was evident throughout the pandemic. Daily rates of indirect contact between patients provided evidence for reactive staff cohorting, whereby indirect contact rates between COVID-19 positive and negative patients were lowest during peaks in COVID-19 hospital admissions. We propose that IPC practitioners use these routinely collected data on HCW behaviour to support infection control activities and to help better protect hospital staff and patients from nosocomial outbreaks of communicable diseases.