After nearly four days of uncertainty, the two healthcare powerhouses have come to a deal.