add visit_number property for delivery cases