A new article investigates how the way that patients are allocated diagnostic codes by a hospital can have a big effect on a hospital's performance.