Learning from electronic health records : enabling the learning healthcare system