Veuriot Jean-Pierre, Psychiatre à Besançon