Using digital technology to transform care pathways