R1 RCM to buy artificial intelligence software firm Cloudmed

R1 RCM has entered into an agreement to purchase Cloudmed, a company that uses artificial intelligence and automation for revenue-cycle management, in an all-stock transaction that values Cloudmed at roughly $4.1 billion.