Students required to get whooping cough vaccine