Medical psychology, literally, is a science that studies patient psychology. If we look at the literature of ancient times, we can see that the sciences of medicine, philosophy and psychology are closely connected.
Almost all philosophers who lived before Christ wrote down their ideas about medicine and psychology, because they connected the source of spiritual forces with the human brain.