Most Islamic hospitals did not discriminate on who could be a patient; even wealthy individuals used the bimaristans when they became ill when traveling instead of an outpatient facility or home care. Islamic hospitals were able to care for many diverse people who all had unique accidents, illnesses, injuries, and needs due to the different sections within the bimaristans. Patients were divided into these different sections based on their needs. Patients were also divided up to minimize the risk of spreading illnesses to other patients. Not only were Islamic hospitals used to provide care for individuals, they were also used to advance medical students’ knowledge in the medical field, especially the most well-known bimaristans located in Baghdad, Damascus, and Cairo. The earliest bimaristan that was established in Islamicate culture was built in Baghdad in the 9th century by Harun al-Rashid. Islamic hospitals, books, and apprenticeships are the main three ways medical students learned different types of medical information to make tremendous advances in Islamic Medicine.