A decade ago, the U.S. government claimed that ditching paper medical charts for electronic records would make health care better, safer and cheaper. Ten years and $36 billion later, the digital revolution has gone awry, an investigation by Kaiser Health News and Fortune magazine has found.