How data are changing the way clinicians prioritise patients and tackle waiting lists