Health officials have urged anyone who has suffered diarrhoea to avoid public swimming pools for at least two weeks as cases of a highly infectious disease hit a record high.