The first ‘digital pill’ has just been approved, marking another step in the use of big data in revolutionising healthcare.