what are internal factors that affect patient safety?