 Before the 10th century, hospitals operated throughout the day and closed at night.Later hospitals operated on a 24-hour basis.Nonetheless, the practicing physicians worked a set number of hours with their salaries prescribed by law; the physicians were paid generously enough so as to retain their talent.