I think it depends how well you cope and manage your anxiety. I believe many medical professionals have anxiety, but keep it to themselves and have learned to cope. If you let it interfere with giving the right care to patients, that would cause problems.