Despite decades of calls for more attention to patient safety in hospitals, people undergoing surgery still have high rates of complications and medical errors, a new study finds.