(b) if it appears to the immigration officer on the advice of a medical inspector or, if no such inspector is available, of any other duly qualified medical practitioner ... that the alien is a person suffering from mental disorder, or that it is otherwise undesirable for medical reasons that he should be admitted.