Patient harm: Electronic health records have created a host of risks to patient safety. Alarming reports of deaths, serious injuries and near misses — thousands of them — tied to software glitches, user errors or other system flaws have piled up for years in government and private repositories.