The code requires that new PEX installations are flushed to ensure that any contaminants or residues from the manufacturing or installation process are cleared out before the water is used for consumption. This flushing process involves running water through the pipes for at least 10 minutes and then letting the system sit for a week before use.