A new law placed into effect recently requires that hospitals and their physicians test newborn babies for heart defects before being permitted to leave the hospital. Senate Bill 270-2013 was passed in 2013 and took effect at the beginning of 2014 and requires that the pulse oximetry screening take place within the first 24 hours of life. The pulse oximetry test is done by placing a sensor on the baby's foot and then on the baby's hand and by using light to measure how much oxygen is in the blood. The test is painless, non-invasive, and is quick to measure for low oxygen levels in the blood. If the amount of oxygen seems to be low, then doctors are able to run another battery of tests such as an electrocardiogram and an ultrasound to ensure that the heart is responding as it should.