Not all examples of flawed medical records relate to individual human error. Here’s what else can go wrong.