PHI De-Identification for Marketing: What Counts and What Doesn't
When does patient data stop being PHI? A plain guide for pharmacies and clinics on HIPAA de-identification, marketing authorization, and vendor safeguards.

PHI De-Identification for Marketing: What Counts and What Doesn’t

De-identified data is not PHI. That is the whole appeal: once health information has been properly de-identified under HIPAA, the Privacy Rule no longer restricts how you use it. But “properly” is doing heavy lifting. Deleting a name column from a patient list does not get you there, and a marketing vendor with a spreadsheet of “anonymous” patients can put your practice on the wrong side of the rule fast. Here is how de-identification really works, where marketing fits, and what to do when the data you want is still PHI.
TL;DR
- Information stops being PHI only after it is de-identified through one of two methods in 45 CFR 164.514: Safe Harbor or Expert Determination.
- Removing names is not enough. Safe Harbor requires removing 18 types of identifiers and having no actual knowledge that what remains could identify someone.
- If the data is still PHI, marketing generally needs the patient’s signed, written authorization.
- A limited data set is not de-identified data, and it cannot be used for marketing.
- Vendors only de-identify on your behalf as far as your business associate agreement allows. Get that in writing before any file moves.
Table of Contents
- What PHI de-identification means for a practice
- The two legal paths: Safe Harbor and Expert Determination
- De-identified is not the same as “limited”
- When the data is still PHI: marketing and authorization
- Where marketing teams actually leak PHI
- Working with vendors: what to lock down
- A practical routine for a pharmacy or clinic
- Where we come in
- Our perspective
- FAQ
- Sources
What PHI de-identification means for a practice
Protected health information (PHI) is individually identifiable health information held or sent by a covered entity or its business associate. It relates to a person’s health condition, their care, or payment for care, and it either identifies them or could reasonably be used to identify them, per HHS guidance on de-identification.
A covered entity is a health care provider, health plan or clearinghouse that falls under HIPAA. If you run a pharmacy or a clinic that bills electronically, that is you. A business associate is a vendor that handles PHI for you, which includes many marketing and software vendors.
De-identification is the process of removing or masking enough that the information is no longer individually identifiable. HHS states that de-identified health information is no longer PHI and is not subject to the Privacy Rule’s requirements on use and disclosure. For marketing, that means a properly de-identified dataset can inform your strategy without the authorization burden that attaches to PHI.
It is worth being honest about what this is useful for. Think aggregate analysis: which service lines are growing, which neighborhoods your patients come from at a regional level, which refill reminders get acted on. It is not a way to keep emailing specific patients. The moment you can address a person, the data is identifiable, and you are back under the marketing rules covered below.

The two legal paths: Safe Harbor and Expert Determination
HIPAA gives you exactly two ways to de-identify, both set out in 45 CFR 164.514. There is no third “close enough” option.
Safe Harbor
Safe Harbor means removing 18 categories of identifiers about the patient, and also about their relatives, employers and household members. The list includes names, geographic units smaller than a state, dates directly related to an individual, and contact information. You must also have no actual knowledge that the remaining information could identify the person. The full list is in the HHS de-identification guidance.
Two details trip up marketing teams most often:
- Geography. City, street address and most ZIP codes are out. You may keep the first three digits of a ZIP code only if that area contains more than 20,000 people according to current Census data. Otherwise those digits must be changed to 000, per the regulation. For a rural independent pharmacy, that distinction matters, because your whole service area may fall under that threshold.
- Dates. Appointment dates, fill dates and birth dates are all dates related to an individual. “Every refill happens in week two” is a pattern. “Mrs. Alvarez refilled on March 3” is an identifier.
Also watch free-text fields. Notes columns, call logs and form responses are where names and phone numbers hide.
Expert Determination
The second path uses a qualified person with statistical and scientific experience. They apply accepted methods and conclude the risk that the information could identify someone is very small, and they document the methods and results, according to 45 CFR 164.514. This route is more flexible, since it can allow some data fields Safe Harbor would strip, but it requires a real expert and a real written analysis. For most single-location practices, Safe Harbor is the more practical route for marketing reporting.
De-identified is not the same as “limited”
A limited data set strips direct identifiers but keeps things like dates and some geography. It is still PHI. Under the regulation, it may be used or disclosed only for research, public health or health care operations, and only under a signed data use agreement (45 CFR 164.514). Marketing is not on that list.

So if a vendor says they only need “a lightly scrubbed export,” ask which category it falls in. If the answer is not Safe Harbor or Expert Determination, treat the file as PHI.
When the data is still PHI: marketing and authorization
Most practical marketing runs on data that identifies patients: your patient email list, text reminders, the customers in your pharmacy system. HIPAA defines marketing as a communication about a product or service that encourages people to buy or use it, and generally requires the patient’s signed, written authorization before you use or disclose PHI for it (HHS marketing guidance).
HHS lists exceptions. Face-to-face communications and promotional gifts of nominal value do not need authorization. Communications about treatment, case management and care coordination are generally not marketing in the first place. That is why a refill reminder or an appointment follow-up is treated differently from a promotion for a new cosmetic service.
When you do need an authorization, it has to be specific about what it covers. We walk through the required elements in our guide to HIPAA marketing authorization. Where a patient signs through someone acting for them, it also helps to understand how an authorized representative differs from a healthcare POA.
Here is the quick sorting rule we give owners:
- Is the message about the patient’s own care or treatment? It is likely a treatment or care coordination communication, not marketing.
- Is it promoting a product or service? It is likely marketing, so you need authorization if it uses PHI.
- Can you reach the audience without patient-level PHI? Aggregate, de-identified insight can shape the campaign, with no authorization needed for the data itself.
Where marketing teams actually leak PHI
Most violations we hear about from owners are not dramatic. They are ordinary tools doing ordinary things.
- Tracking pixels and analytics on patient-facing pages. A script that reports page visits to an ad platform can pass along details tied to a visitor. Our breakdown of HIPAA tracking technologies covers what to check on your own site.
- Lead forms. A form that asks about a condition and routes it to an ad platform is collecting health information. See Google Ads lead forms and HIPAA for what providers can do.
- Uploaded customer lists. Matching your patient list against an ad audience means disclosing identifiable data, even if you hashed it, unless you have authorization or the use falls outside marketing.
- Testimonials and photos. A patient’s story, name or image is identifiable. Get the authorization before it goes on the site.
- Email and text platforms. The platform becomes a business associate once it holds patient-level PHI. Features matter, and we list them in HIPAA compliant marketing automation features.
The FTC adds another layer. The FTC Act prohibits deceptive or unfair acts around collecting, using or sharing consumer health information, and that reaches beyond HIPAA-covered entities, per HHS’s overview of HIPAA and the FTC Act. Even a health data practice that sits outside HIPAA can still draw scrutiny.
Working with vendors: what to lock down
Here is the part owners skip because it feels like paperwork. It isn’t. It is where the risk lives.
A business associate can only de-identify PHI for you to the extent the business associate agreement (BAA) allows it. HHS says so directly in its FAQ on this question. If your BAA is silent, your vendor has no permission to turn your patient data into a de-identified dataset for their own benchmarking or product use.
A vendor checklist:
- A signed BAA before any PHI is shared, with de-identification permissions spelled out or expressly excluded.
- A written description of the data fields, so identifiers can be found and removed. HHS notes that clearly describing fields is part of the practical process (HHS).
- Which method is used, Safe Harbor or Expert Determination, and who documents it.
- If a re-identification code is used so records can be matched later, that code must not be derived from or reveal anything about the individual, must not be used for any other purpose, and its mechanism must not be disclosed, according to HHS.
- Security Rule safeguards on the ePHI itself: risk analysis, access controls, encryption where reasonable and appropriate, and audit controls, as summarized by HHS.
A practical routine for a pharmacy or clinic
Take a typical question: “Which of our services drive the most new-patient calls, and from which parts of our region?” Here is how to answer it without creating exposure.
- Decide the question first. Aggregate counts rarely need patient-level rows. Pull only the fields you need.
- Document the fields. List every column in the export, including free-text. If you cannot say what is in a field, you cannot safely remove identifiers from it.
- Choose the method. Safe Harbor for simple reporting. Expert Determination if you need detail Safe Harbor would remove, and you are ready to engage a qualified expert.
- Strip the 18 identifiers, then review. Check ZIP digits against the 20,000 population rule, convert dates to something coarser as the rule allows, and scan notes fields.
- Confirm no actual knowledge. If someone on your team could still recognize individuals in the output, the Safe Harbor condition is not met.
- Write it down. Keep the method, who did the work, and the date. For Expert Determination, keep the expert’s methods and results on file.
- Keep the key separate. If you retain a re-identification code, restrict it and never reuse it for another purpose.
For anything that must reach a named patient, such as a campaign list, skip de-identification entirely and ask the right question instead: is this a treatment communication, or marketing that needs authorization?
Where we come in
If you want compliant marketing without becoming a part-time privacy officer, that is what we build. KLYR Media works exclusively in healthcare, and our systems for pharmacies and clinics are HIPAA-compliant, with compliance built in from day one. Our HIPAA web design service covers the site your patients land on. Our healthcare SEO service helps you attract local patients without needing their data to do it. And our retention automation service handles patient follow-up. If you want to talk through your setup, start at klyrmedia.com.

Our perspective
Independent pharmacy owners get told two opposite things. One camp says marketing is a minefield, so do nothing. The other says just run the ads and figure it out later. Both cost you patients.
We think the better question is where identifiable data needs to be in the first place. A lot of effective local marketing does not need patient records at all: a strong Google Maps presence, a site built for the services people search for, and clear content on what you offer. That work attracts new patients without touching PHI.
When data does come into play, as in reminders, follow-ups and retention, it should sit inside systems built for healthcare from the start, with a BAA behind them and the rules about authorization respected. That is why we focus only on healthcare and build compliance in from day one rather than bolting it on after a campaign is live.
Independents compete with chains and online pharmacy giants. You win on local trust and personal service. Marketing that protects that trust is the marketing worth running.
Opinly
FAQ
Is de-identified patient data still covered by HIPAA?
No, not once it is de-identified under Safe Harbor or Expert Determination. HHS states that properly de-identified health information is no longer PHI and falls outside the Privacy Rule’s use and disclosure requirements. Data that is only partly scrubbed, such as a limited data set, remains PHI.
Can I use patient names and emails for marketing if I remove the diagnosis?
Not safely. Names and email addresses are identifiers, so the file is still individually identifiable. If the message promotes a product or service, HIPAA generally requires the patient’s signed authorization before you use PHI for it, with exceptions such as face-to-face communication and nominal-value gifts.
Can my marketing vendor de-identify our data for its own use?
Only if your business associate agreement authorizes it. HHS says a business associate may de-identify PHI on your behalf only to the extent the BAA permits. Check the agreement before any data is shared.
Which method should a small practice use?
Safe Harbor is usually the more workable route because it is a defined checklist: remove the 18 identifier types and confirm you have no actual knowledge the remainder could identify someone. Expert Determination suits cases where you need detail Safe Harbor would remove and can bring in a qualified expert to document the analysis.
Sources
- HHS: Guidance Regarding Methods for De-identification of Protected Health Information
- eCFR: 45 CFR 164.514, Other requirements relating to uses and disclosures of PHI
- HHS: Marketing
- HHS: May a health information organization de-identify information?
- HHS: Collecting, Using, or Sharing Consumer Health Information? Look to HIPAA and the FTC Act


