Hospitals have residential doctors at all times who attend to patients in case of emergencies, no matter what time it is.