date validation in procedure scheduling