The pharmacy has acquired the prescriptions from stores in 15 states and now serves more than nine million former Rite-Aid customers, including 19 stores in New Hampshire.