BOSTON — When a pregnant woman told a pharmacist that she was unhappy with her obstetrics care, authorities say, he took her into a back office, where he posed as a gynecologist and gave her an exam.