Residents' practice and perceptions during the COVID-19 pandemic