The medical science that deals with the origin, diagnosis, prevention, and treatment of mental disorders.