All hospitals to ban visitors to wards from Aug 5 to 18; exceptions on case-by-case basis