For years, health policy experts have expected great things from electronic health records — better coordination of care, fewer medical errors, more productive physicians. Thanks to the recent federal stimulus bill, the federal government is preparing to invest nearly $20 billion in health IT. The vast majority of this money — some $17 billion — will flow directly to physicians and hospitals through the Medicare and Medicaid programs.