Added custom validations for visit model