When healthcare records sync up, hospitals work better