Medan Cornelia, Psychiatre à Mirecourt