The Bimaristan Qalawuni Foundation was a public university hospital for all organic and psychiatric departments. Its goals exceeded from treatment, medical education, pharmacy and psychotherapy to providing public services and alms to the poor and needy.

Islam and its civilization were concerned with science and knowledge, at the heart of which was medicine and healing. The most famous physician in Islamic civilization, Abu Bakr al-Razi, supervised the establishment of the most important bimaristans of Baghdad, "bimaristan al-humerdi"