create visit time validation