Electronic patient records pose “persistent” risk to patient safety, watchdog warns