An Outline of Psychology as Applied to Medicine