he had abandoned his long-planned career as a surgeon and decided instead , after his general medical training , to specialise in the psychiatric field , studying mental illness , its causes and treatments .