Leveraging mobile devices to improve healthcare