Today, as doctors and hospitals struggle to make new records systems work, the clear winners are big companies like Allscripts that lobbied for that legislation and pushed aside smaller competitors. While proponents say new record-keeping technologies will one day reduce costs and improve care, profits and sales are soaring now across the records industry. At Allscripts, annual sales have more than doubled from $548 million in 2009 to an estimated $1.44 billion last year, partly reflecting daring acquisitions made on the bet that the legislation would be a boon for the industry. At the Cerner Corporation of Kansas City, Mo., sales rose 60 percent during that period. With money pouring in, top executives are enjoying Wall Street-style paydays.