The funding covers pandemic expenses like staffing, testing and patient care from 2020 through 2023.