CVS said it would either purchase or take a stake in a primary-care company before the year is over, part of a wave of pharmacy...