The Medical Officer of Health may require a contact or carrier to be isolated by remaining within the limits of the premises in which the contact or carrier resides or within any hospital available for the reception of infectious cases or within such other place as the Medical Officer of Health may specify and he shall so require if in his opinion such action is necessary to prevent the spread of infection.