Phd thesis in patient safety