Compliance
Nov 30, 2026
15 min read

HIPAA De-identification for Health Tech Vendors: When Customer Data Can Feed Analytics and AI

Kevin Barona
Title card reading HIPAA De-identification for Health Tech Vendors: When Customer Data Can Feed Analytics and AI, on a dark purple background
Table of content
share

What is HIPAA de-identification?

HIPAA de-identification turns protected health information into data HIPAA no longer regulates. For a health tech vendor, customer data can feed your own analytics, benchmarks or AI training free of HIPAA's limits only when two things hold: your BAA lets you de-identify it, and the result meets 45 CFR 164.514(b) through Safe Harbor or Expert Determination.

Most published guidance is written for covered entities and researchers.

As a business associate, you hold someone else's PHI under HIPAA, under a contract that spells out exactly what you may do with it.

De-identifying PHI is itself a use of PHI, and your BAA has to permit it before you strip a single identifier.

When we reviewed the questions 10 of our health and health-adjacent clients brought us through September, none asked about HIPAA de-identification standards, Safe Harbor or Expert Determination. Several were already putting data into AI tools or staging environments.

Key Points

  • De-identifying data is a use of PHI, so a business associate may de-identify customer data only if its BAA permits it. If your BAA limits you to providing the services, you need an amendment before you strip identifiers for your own analytics.
  • Safe Harbor means removing all 18 identifier categories, wherever they appear, and having no actual knowledge that the remaining data could identify someone. A pipeline that strips structured fields and leaves clinical notes and support tickets untouched has not met it.
  • Expert Determination lets you keep data Safe Harbor would remove, such as dates of service or five-digit ZIP codes, as long as a qualified expert determines the risk of identification is very small and documents the methods and results.
  • De-identified data is no longer PHI and HIPAA does not regulate it.
  • A limited data set keeps dates or ZIP codes, is still PHI, and requires a data use agreement.
  • Aggregated data combines records to produce counts or averages, but aggregating alone does not equal de-identifying.
  • At contract end, the BAA requires you to return or destroy the customer's PHI where feasible. Where backups make that infeasible, the BAA's protections extend to those copies and further use is limited until they expire. If you restore a backup, clean the customer's data out again before it reaches production.
  • For AI training, de-identify data before it enters any preprocessing, feature extraction or embedding step. Once PHI is in a model's training data, you cannot easily show a customer that their records are gone.

Understanding HIPAA de-identification standards

HIPAA recognizes two methods for de-identifying PHI. Safe Harbor provides a clear checklist of 18 identifiers to remove. Expert Determination relies on a qualified expert's analysis showing the risk of identification is very small.

Both methods produce data that is no longer PHI under HIPAA. Choose between them based on what you need the data to do afterward and whether you can afford to lose the granularity Safe Harbor removes.

Either way, document what you keep and why, and map where every copy of the data lives.

What qualifies as de-identified under HIPAA

Data is de-identified when it meets the standard in 45 CFR 164.514(b). That means either removing all 18 Safe Harbor identifiers and having no actual knowledge that the rest could identify someone, or obtaining a qualified expert's documented determination that the risk is very small.

The process that creates de-identified data, however, is still a use of PHI and must comply with your BAA.

De-identification sits alongside other data reduction approaches in HIPAA. A limited data set removes direct identifiers but keeps dates and geography, and it remains PHI under a data use agreement.

Aggregating data combines records into counts or averages but does not automatically meet the de-identification standard. Small counts can still identify individuals.

Anonymization is not a HIPAA term. Other laws, such as GDPR, set their own test for anonymous data, so data that meets HIPAA's standard can still be personal data elsewhere. HHS guidance notes that both HIPAA methods leave a very small risk of identification, not zero.

Can a business associate de-identify customer PHI?

Yes, but only if your BAA says so.

Under 45 CFR 164.502(a)(3), a business associate may use or disclose PHI only as its BAA permits. De-identifying data is a use of PHI.

If your BAA is silent on it, or limits you to providing the services, you cannot strip identifiers and keep the residual data for your own analytics.

Because de-identified data isn't PHI, it's easy to assume the rules don't apply to creating it. They apply until the data meets the standard.

What to check in your BAA first

Read the permitted uses and disclosures clause.

Some BAAs expressly allow the business associate to de-identify data for its own purposes. Others limit use to performing the services in the agreement.

If yours is the second type, you need an amendment before you de-identify anything for your own use.

Have counsel review this. We can help you identify what your BAA does and doesn't allow, but the contractual language is a legal question.

Safe Harbor and the 18 identifiers

The Safe Harbor method requires you to remove 18 categories of identifiers from the data. It also requires that you have no actual knowledge the remaining information could identify someone.

Both conditions must be true.

The 18 categories are listed in 45 CFR 164.514(b)(2), and they cover the individual's relatives, employers and household members as well as the individual: names; geographic units smaller than a state, except the first three digits of a ZIP code where that area holds more than 20,000 people; all elements of dates except year, with ages over 89 grouped as 90 or older; phone numbers; fax numbers; email addresses; Social Security numbers; medical record numbers; health plan beneficiary numbers; account numbers; certificate and license numbers; vehicle identifiers; device identifiers and serial numbers; web URLs; IP addresses; biometric identifiers; full-face photographs; and any other unique identifying number, characteristic or code, other than a re-identification code that meets 164.514(c).

Free text and Safe Harbor

Structured fields are straightforward to strip. Names go in name columns. Dates go in date columns. You write a script, you remove them.

Free text is different. Clinical notes, support tickets, and user-entered fields can contain names, dates, locations, and identifiers buried in sentences.

If your product stores any unstructured text that originated from a healthcare workflow, Safe Harbor requires you to find and remove identifiers in that text too.

HHS guidance is explicit: an identifier on the Safe Harbor list has to be removed wherever it appears in a record, structured field or free text. A pipeline that strips the structured fields and leaves the notes untouched has not met Safe Harbor.

The "no actual knowledge" requirement

Removing the 18 identifier types is necessary but insufficient.

You also need no actual knowledge that the remaining data could identify an individual. If you know that the combination of diagnosis, treatment date (year only), and state points to one person in a small population, you haven't met Safe Harbor even if the 18 categories are gone.

HHS defines actual knowledge as clear and direct knowledge that the remaining information could identify someone. A niche patient population or a small geography makes that more likely.

Expert Determination

Safe Harbor removes everything on the list, whether or not you need it.

But sometimes you need data that Safe Harbor would make you remove. Dates of service for longitudinal analysis. Five-digit ZIP codes for local benchmarks.

Expert Determination lets you keep more of the data, as long as a qualified expert determines that the risk an anticipated recipient could identify anyone is very small. The expert must document the methods and results of the analysis.

You keep that documentation.

Who counts as a qualified expert?

Under 45 CFR 164.514(b)(1), the expert needs knowledge of and experience with accepted statistical and scientific methods for making information not individually identifiable. HHS requires no specific degree or certification. In practice, that means someone with experience in statistical disclosure control or re-identification risk analysis.

The expert's documented determination becomes your evidence. If a customer or regulator asks how you determined the data was de-identified, that document is what you produce.

When Expert Determination makes sense for a vendor

If you're building population-level benchmarks or training models on treatment patterns that need date granularity or geographic resolution, Expert Determination is the path that preserves data utility.

It costs more and takes longer, and HHS guidance notes the expert can also require safeguards, such as a data use agreement with the recipient.

Comparing Safe Harbor and Expert Determination

Safe Harbor is prescriptive. Remove the 18 identifiers, confirm you have no actual knowledge the data could identify someone, and you're done. No expert required, no statistical analysis.

Expert Determination is flexible. Keep the data you need, as long as a qualified expert determines the risk of identification is very small and documents the methods and results.

Choose based on what you're building. If you're producing aggregate benchmarks that only need year and state, Safe Harbor is enough. If you're training a model that needs service dates or building a dashboard that needs five-digit ZIP codes, Expert Determination is the path that keeps the data useful.

Method Process Expert Required Data Utility Cost Timeline
Safe Harbor Remove 18 identifier categories No Lower (loses dates, geography) Lower Faster
Expert Determination Statistical risk analysis Yes Higher (keeps useful fields) Higher Slower

De-identified data, limited data sets and aggregated data

These three terms get used interchangeably in product conversations. They aren't the same thing, and the HIPAA requirements differ for each.

De-identified data meets the standard in 45 CFR 164.514(b) through either Safe Harbor or Expert Determination. It is no longer PHI. HIPAA does not regulate it.

A limited data set removes direct identifiers (names, addresses, Social Security numbers, and others listed in 164.514(e)) but may keep dates, city, state, ZIP code, and ages. It is still PHI.

It requires a data use agreement, it may be used only for research, public health or health care operations, and HIPAA still applies. If you're keeping service dates or five-digit ZIP codes without an expert determination, you hold PHI, at best a limited data set.

Aggregated data combines records to produce counts, averages, or distributions. Aggregating is not de-identifying.

A monthly outcomes report broken down by program can still point to one person: when a count is small, a reader could infer that a named individual is in a substance use program. Suppress small counts before a report like that leaves the platform.

Category Dates Allowed ZIP / Geography Expert Needed Still PHI? Agreement Required
De-identified (Safe Harbor) Year only; ages over 89 grouped as 90 or older First 3 digits of ZIP where the area holds more than 20,000 people No No None under HIPAA
De-identified (Expert Determination) Depends on expert analysis Depends on expert analysis Yes No None under HIPAA
Limited Data Set Yes City, state, ZIP No Yes Data Use Agreement
Aggregated (not formally de-identified) Varies Varies No Yes, unless it meets 164.514(b) Governed by BAA

Ask yourself which identifiers you removed, what happened to service dates and ZIP codes, who checked the result, who holds any re-identification key, and which agreement covers the recipient.

Answer all of those before the data leaves your hands.

For the rest of your HIPAA program, grab the free HIPAA Compliance Checklist.

Regulatory implications of using de-identified data

Once data meets the de-identification standard in 45 CFR 164.514(b), HIPAA no longer regulates it. You can use it for analytics or model training without the restrictions that apply to PHI.

Three conditions apply.

First, your BAA must permit de-identifying data in the first place. Second, document the method you used and keep the evidence: Expert Determination requires the expert's documentation, and a customer will ask for it either way. Third, re-identified data is PHI again, and disclosing a re-identification code counts as disclosing PHI under 45 CFR 164.502(d)(2). Read your BAA for any ban on re-identification or on contacting individuals.

State health privacy laws can still apply, and some set their own rules for de-identified health data.

If you operate in multiple states, check whether your de-identification approach satisfies the strictest state standard you're subject to.

Customers' security questionnaires already ask whether customer data survives in aggregated datasets or trained models. If you keep de-identified data, have the method and its documentation ready before that question arrives.

Use cases for de-identified data in research and analytics

De-identified data is widely used in healthcare research and population health analytics. Researchers use it to study treatment effectiveness and build predictive models without patient authorization under HIPAA.

For a software vendor, the use cases are product analytics, benchmarking and AI training.

Product analytics might track how different user cohorts interact with features or where users drop off. If you de-identify the data first, you can run those analyses without HIPAA constraints.

Benchmarking lets you show customers how their outcomes compare to peers. If your BAAs permit de-identification, de-identified data lets you aggregate across customers and publish comparative reports.

For AI training, if you de-identify the data before it enters the pipeline, the resulting model is trained on data that is no longer PHI, and HIPAA does not regulate the model itself.

You also need documentation showing you de-identified the data before training began.

In every case, the question is whether the data you're using is actually de-identified to the HIPAA standard, or whether you're relying on a partial scrub and calling it good enough.

Training AI models on customer health data

The same de-identification decision applies to model training, and it needs to happen before you feed data into a model. Once PHI enters a training pipeline, you cannot easily show a customer that their data is out of the model.

Model weights don't store individual records the way a database does, but large language models can reproduce fragments of their training data.

If you trained on PHI and a customer asks you to delete their data, you can't point to the model and say the data is gone. You don't know that.

What HIPAA de-identification means for AI training pipelines

If you de-identify data to the 164.514(b) standard before training, the resulting dataset is no longer PHI. You can train on it without HIPAA requirements on the model itself.

But "before training" means before it enters any preprocessing, feature extraction, or embedding step. Draw the de-identification boundary upstream of the entire pipeline.

For any vendor or AI service your product uses, ask whether the provider retains the data or uses it to improve its own models. Confirm which signed health-data agreement covers the arrangement.

This matters whether you call an API or run the model on your own infrastructure. If you're evaluating a large language model API, our answer to is ChatGPT HIPAA compliant covers the same BAA questions for any model provider.

Customers now ask about model training in their security questionnaires. Our guide to AI in healthcare covers the wider compliance requirements.

What happens to customer data at contract end, including backups

Under 45 CFR 164.504(e)(2)(ii)(J), the BAA must require that the business associate return or destroy all PHI at termination, if feasible.

Backups often make full destruction infeasible. Data sits in encrypted backup snapshots, disaster recovery replicas, and sometimes search indexes or caching layers.

You can delete a customer from the live database right after termination. Removing one customer's records from every backup snapshot is usually not practical.

How protections extend to backup copies

When return or destruction isn't feasible, the BAA must extend its protections to the copies you keep and limit any further use to the purposes that make destruction infeasible, for as long as they exist.

In practice, your backups expire on a defined retention schedule, and the customer's data is gone when the last backup that holds it expires. Tell the customer that date.

If you ever restore a backup, identify and clean the customer's data again before it enters production.

Where does every copy of the data live? Cache, queue, log, search index, AI vector store, backup, export. Consider whether deletion reaches all of them and whether you log the deletion itself.

If you haven't mapped this, your contract-end process has gaps. Encrypting those backup copies, as covered in our guide to HIPAA encryption requirements, is part of keeping them protected until they expire.

How to answer the questionnaire question

This exact question reached two of our clients in November 2026, both times inside a customer's security questionnaire: is customer data deleted from backups at contract end, and does it survive in aggregated datasets or trained models?

Answer with what you actually do. Customers react better to a clear, honest answer than to a vague promise of full deletion.

What a good answer includes

  • How quickly data leaves live systems after termination.
  • How long backups are kept before they expire, and that a restored backup is cleaned of terminated customers' data again.
  • Whether you keep aggregated or de-identified statistics, and the method behind them: Safe Harbor, Expert Determination or neither.
  • Whether any customer data was used to train models, and what that means for deletion.
  • Whether deletion is logged and can be audited.

A one-line promise to delete all data at termination will get a follow-up question.

Customers that are HIPAA covered entities answer for their patients' data, so their security teams read these answers closely.

Related client work

We got Anterior, a healthcare AI company, ready for HITRUST in 7 weeks to meet a customer's security demands. The Anterior case study covers that work.

A clear answer depends on three decisions made before the questionnaire arrives: whether you keep de-identified data, what method qualifies it, and where every copy lives.

Decision flow a business associate follows when determining what happens to customer data

Frequently asked questions

Is de-identified data subject to HIPAA?

Generally, no. Once you de-identify data to the HIPAA standard in 45 CFR 164.514(b), it is no longer PHI. However, HIPAA can still apply to the activities that create de-identified data if they involve PHI, and your contract and role (covered entity vs. business associate) still matter.

Is it a HIPAA violation to talk about a patient without identifiers?

It can be, if the information you share could still reasonably identify the person, even without direct identifiers. The safer lens is whether the disclosure could lead to identification in context.

What are the 18 identifiers under HIPAA?

Under Safe Harbor, you must remove 18 categories of identifiers. They include names, smaller-than-state geography, all elements of dates except year, contact details, account and record numbers, device and vehicle identifiers, URLs, IP addresses, biometric identifiers, full-face photos, and any other unique identifying code. Safe Harbor also requires you have no actual knowledge the remaining information could identify someone.

What information can be shared without violating HIPAA?

You can typically share information without HIPAA constraints once you de-identify it under 45 CFR 164.514(b). Outside of de-identification, what is permissible depends on purpose and applicable agreements, so verify the legal basis before you share data externally.

How should we validate de-identification quality in unstructured text like notes and support tickets?

Use a combination of automated detection and human sampling to measure residual identifier leakage, then track precision and recall against a defined set of PHI patterns. Treat this like a repeatable control, with ongoing monitoring for drift as user behavior and templates change.

What documentation should a vendor retain to defend its de-identification approach during a customer audit or security questionnaire?

Keep an evidence package that shows what method you used, who approved it, when it ran, what datasets were in scope, and what controls prevent you from misusing re-identification keys. For Expert Determination, retain the expert's signed report along with the assumptions and risk analysis inputs so you can reproduce the rationale later.

If we use de-identified data for analytics or AI training, what governance controls should we add to prevent re-identification over time?

Set access controls, minimize data, and enforce strict rules against joining datasets in ways that could recreate identity. Add thresholds like small-cell suppression for outputs. Reassess re-identification risk whenever you add new data sources, increase granularity, or ship new features that change how you query or export data.

Where to start

HIPAA de-identification is a real option for vendors who want to keep analytics, benchmarks or training data after a customer relationship ends, as long as the BAA allows it.

Start with the permitted uses clause in your BAA.

If you're facing these questions from customers and you haven't built the internal process yet, that's the gap to close first.

Talk to us about your HIPAA program

Cycore works as an embedded HIPAA compliance team for health tech vendors. We help you map where PHI lives, decide what you can keep and how, build the documentation, and answer the questionnaire with something specific and defensible. Talk to an expert about your situation.

Cancel anytime. If you're not saving 100+ hours, you don't pay.

Free resource

HIPAA Compliance Checklist

Find out whether HIPAA applies to you, inventory your safeguards and evidence, and list questions for counsel.

Get the HIPAA Compliance Checklist

Weekly tips and insights on building trust.
Join leaders in building a secure, trusted brand—receive expert guidance to outpace competitors and win customers.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
By signing up, you agree to our Terms and Conditions.
Are you ready to get started?
Schedule a call to see how we can help you build trust
talk to an expert