The U.S. health-care system exchanges tens of millions of patient records a day. Thanks to recent technological advances, the ability to analyze such large amounts of data has improved markedly.