(1) Every foreign-going ship, on hundred persons (including the crew) or upwards, shall have no board as part of her complement a medical officer possessing such qualifications as may be prescribed. (2) If any such ship does not carry on board a duly qualified medical officer the ship shall be detained until such medical officer is provided. ...