EHR vendor Allscripts has made an agreement to purchase patient communication app maker HealthGrid for $60 million in cash, with an additional $50 million in earn-out payments based on HealthGrid achieving certain revenue targets over the next three years, according to a recently registered SEC filing. The merger of the two companies is expected to close sometime during Q2 2018..