how emr can enhance patient safety