Analytics is tending to some of the NHS’s wounds