New York's Legislature has agreed to require newborns to be tested for a congenital heart defect under a new, quick screening process.

The measure would require all birthing facilities to administer the test called pulse oximetry screening. The new procedure provides early detection of heart defects that could be addressed quickly by surgery, potentially saving babies' lives.The quick tests are more effective than more common screenings. The Senate approved the measure Wednesday. The Assembly has already approved it. The measure now goes to Gov. Andrew Cuomo. Thirteen states require the screening.