The company is being purchased by medical cloud networker Athenahealth.