Compoint Bertrand, Psychiatre à Aix-en-provence