Generally physicians' activities are only restricted when there are debilitating or dangerous psychiatric problems involved (such as schizophrenia, drug or alcohol abuse, etc) which has the potential to interfere with providing proper care. The world would be in a lot of trouble if anyone with an anxiety disorder was prohibited from being a doctor!