Answer Wiki. They could purchase from a number of sources, even including individual pharmacies or chains. Certainly it doesnât emanate from any form the doctor fills out when she writes a prescription - the vast majority of prescriptions are done electronically. The Pharmacy Benefit Managers (PBM) are in the best position to provide these data in bulk.