The local pharmacy used to be the default place to fill prescriptions, but like just about everything else, technology is reshaping how we obtain our medications.