Schools cannot require a expecting pupil to create a doctor’s note to be able to remain