Court records detail how cascading events led to a type of medical error known as a “never event,” because it is preventable and should never happen.