It's been a while since I've read through the Uniform Plumbing Code and I recall, in an earlier edition, that plumbing needed to be routed from an elevator pit sump pump to an indirect waste connection via an air gap to prevent backflow. However, in the 2018 edition, I no longer see any instructions outlined. Previously it was in section 710, has it been moved?