Officials have been warning of a return to the pre-pandemic trends of pertussis, also known as whooping cough.