Cannat Michel, Psychiatre à Montpellier