SMS dit: Engineering a learning healthcare system