restricted date of birth to be less than current date when registering a patient