I heard where pharmacies are sharing prescription data with each other and with doctors to stop people from going from doctor to doctor to get more meds. More prescriptions than any one doctor would let one patient have. It might be required by law in my state.
We have a state pharmacy database which does that. However, the data is not supposed to be commercially available, AND it most definitely is not supposed to be hooked up to any kind of Federal system.