Prescription records when a pharmacy is sold
Selling a pharmacy business: the dispensing records in the sale
Updated
Passing a pharmacy's prescription records to the chain or pharmacist that buys it is, in HIPAA's terms, a different act from licensing those records to a data company.
When the sale is not a sale of PHI
164.502(a)(5)(ii) lists, among disclosures that are not a sale of protected health information, one for the sale, transfer, merger, or consolidation of all or part of the covered entity and related due diligence. 164.501 places that activity within health care operations and limits it to a deal with another covered entity, or an entity that following the deal will become one, so a sale to a buyer that is neither falls outside the exception as written.
Data deals ride separately
That exception covers disclosures for the sale and its due diligence. Licensing identifiable records to a third party is a different disclosure, and 164.508(a)(4) requires each patient's authorisation for a sale, unless the records are de-identified first.
What the dispensing systems kept
On this site's board, Positive Solutions says it may anonymise personal data for research, analytical or statistical purposes and use it indefinitely, Cegedim Rx lists research and analysis with identifiable data anonymised at source, and Digital Pharmacist's terms say the pharmacy's data is its property while allowing Digital Pharmacist to delete it on termination. The pharmacy systems terms board quotes each.
A UK pharmacy changing hands
Data concerning health stays a special category under Article 9 of the UK GDPR after the sale, and the General Pharmaceutical Council's standards on confidentiality and privacy go on applying to the pharmacy professionals who hold the records.