De-identified, or authorised by the patient
Can a pharmacy sell prescription data?
Updated
A pharmacy that transmits health information electronically in connection with a covered transaction is a HIPAA covered entity, and a prescription record that still identifies the patient is protected health information.
Being paid for a prescription record
Under 45 CFR 164.502(a)(5)(ii), a covered entity or business associate may not sell protected health information except under 164.508(a)(4), and that section requires the patient's authorisation for any disclosure which is a sale of protected health information.
De-identified prescription data
Health information that does not identify an individual, and gives no reasonable basis to believe it could, is not individually identifiable under 164.514; HHS names Expert Determination and Safe Harbor as the two ways to meet that standard, and its summary of the Privacy Rule says there are no restrictions on the use or disclosure of de-identified health information. The rebate programmes on RedSail's and Datascan's pages are described as de-identified prescription data.
Your dispensing system is a business associate
HHS lists an IT contractor or vendor that maintains systems holding protected health information among its examples of business associates, and the sale rule names business associates as well as covered entities. What each system's own documents say is on the pharmacy systems terms board.
NHS pharmacy records in the UK
Data concerning health is a special category under Article 9 of the UK GDPR. The NHS's own page tells patients they can choose if data from their health records is shared for research and planning, and the General Pharmaceutical Council's standards require pharmacy professionals to respect and maintain the person's confidentiality and privacy.
Each rule, with its own wording and the day it was read, is on the register of pharmacy data rules. Drug makers' data questions belong on the site for pharmaceutical companies.