A prospective study of patient safety in the operating room