PharmaNet is a provincewide network owned and operated by the Ministry of Health. PharmaNet keeps a record of every prescription dispensed in B.C. community pharmacies and select hospital outpatient pharmacies.
In another Lemmy thread recently, someone mentioned that Australia has a national system for it. I think this might be it
More places seem to be switching over to a centralized/interoperable system for prescription information. In BC Canada we have
https://www2.gov.bc.ca/gov/content/health/practitioner-professional-resources/pharmacare/pharmanet-bc-s-drug-information-network
In another Lemmy thread recently, someone mentioned that Australia has a national system for it. I think this might be it
https://www.health.gov.au/our-work/national-real-time-prescription-monitoring-rtpm