 He was a pioneer in the field of psychosomatic medicine, linking changes in mental state to changes in the body.The earliest bimaristans were built in the 9th century, and large bimaristans built in the 13th century contained separate wards for mentally ill patients.In addition to medication, treatment for mental illness might include baths, music, and occupational therapy reflecting the great emphasis placed on the relationship between illness of the mind and problems in the body.