How to recover from a bad electronic health records implementation