Hospital visitors have been asked to wear a mask when visiting parts of QA as cases of flu and norovirus rise.