Community Health Network to pay $345 million in record settlement