(Reuters) Private equity firm Veritas Capital and hedge fund Elliott Management have agreed to acquire U.S. healthcare software maker Athenahealth Inc for $5.5 billion in cash, people familiar with the matter said on Sunday. Athenahealth, whose cloud-based service is used to track revenue from patients, physicians and hospitals, had been under pressure to sell itself from Elliott, which has about a 9 percent stake in the company.