Health data that has been "de-identified" badly is still protected health information, and every use built on it inherits the compliance gap. The HIPAA Privacy Rule offers exactly two routes out of its scope: the Safe Harbor method in 45 CFR 164.514(b)(2) and the Expert Determination method in 164.514(b)(1). This guide explains how each works in practice, how to choose between them, what evidence to keep, and how re-identification risk changes when the data feeds analytics platforms or AI model training. It is written for health data, privacy and analytics teams at covered entities and business associates. For the wider Privacy Rule, including permitted uses and minimum necessary, see the HIPAA Privacy Rule Guide.
Key takeaways
- Two methods, one standard. Information is de-identified when there is no reasonable basis to believe it can identify an individual; Safe Harbor and Expert Determination are the only two ways the rule recognises to meet that standard.
- Safe Harbor is a checklist plus a knowledge test. Removing all 18 identifier types is not enough if the organisation has actual knowledge that what remains could identify someone.
- Expert Determination is risk based and must be documented. A qualified expert finds the risk "very small" for an anticipated recipient and documents methods and results; HHS sets no numeric threshold.
- Free text, images and codes are where projects fail. Identifiers in clinical notes, DICOM headers, photographs and unkeyed hashes survive structured field removal.
- AI training changes the risk picture. Large, linkable datasets and models that can memorise records call for Expert Determination, recipient controls and re-assessment rather than a one-off Safe Harbor pass.
Why de-identification matters under HIPAA
Under 164.514(a), health information that does not identify an individual, and where there is no reasonable basis to believe it can be used to identify one, is not individually identifiable health information. Once data meets that standard it falls outside the Privacy Rule: no authorisation, minimum necessary analysis or business associate agreement is needed for the de-identified dataset itself. That is why de-identification sits under research data sharing, real-world evidence products, analytics in cloud data warehouses and the training of clinical AI models.
The stakes run both ways. A dataset that fails the standard is still PHI, so any disclosure made on the assumption that it was de-identified can be an impermissible disclosure, with the notification analysis described in the HIPAA Breach Notification Rule Guide. Over-cautious de-identification destroys analytical value and pushes teams towards workarounds.
De-identification is also distinct from two nearby options:
- Limited data set (164.514(e)): still PHI. It removes 16 direct identifiers, such as names, street-level postal address, telephone and fax numbers, email addresses and record and account numbers, but may keep town or city, state, ZIP code and dates. It may be used only for research, public health or health care operations, and only under a data use agreement that, among other things, bars the recipient from identifying the information or contacting the individuals.
- Pseudonymisation: replacing identifiers with tokens. Under HIPAA this is only de-identification if the full method is met; a token derived from PHI, or one the recipient can reverse, does not qualify. See Data Masking vs Anonymisation vs Pseudonymisation.
Safe Harbor: the 18 identifiers
Safe Harbor requires removal of 18 identifier types for the individual and for the individual's relatives, employers and household members, and that the covered entity has no actual knowledge that the remaining information could be used, alone or in combination with other information, to identify the individual.
| # | Identifier | Practical notes |
|---|---|---|
| 1 | Names | Includes names of relatives, employers and household members appearing in notes. |
| 2 | Geographic subdivisions smaller than a state | Street address, city, county, precinct, ZIP code and geocodes. The first three ZIP digits may stay only if the area they cover holds more than 20,000 people under current Census data; otherwise use 000. |
| 3 | All elements of dates except year | Birth, admission, discharge, death and dates of service or test results. Ages over 89, and any date element revealing such an age, are aggregated into a single "90 or older" category. |
| 4 | Telephone numbers | Check contact fields and free text. |
| 5 | Fax numbers | Often present in referral documents. |
| 6 | Email addresses | Includes portal usernames that are email addresses. |
| 7 | Social Security numbers | Including partial values used as matching keys. |
| 8 | Medical record numbers | Also encounter and specimen numbers where they identify the person. |
| 9 | Health plan beneficiary numbers | Member IDs on claims data. |
| 10 | Account numbers | Billing and patient account numbers. |
| 11 | Certificate and licence numbers | Driving licence and professional licence numbers. |
| 12 | Vehicle identifiers and serial numbers | Including licence plate numbers. |
| 13 | Device identifiers and serial numbers | Implant serials, wearable and remote monitoring device IDs. |
| 14 | Web URLs | Personal pages and URLs containing patient parameters. |
| 15 | IP addresses | Common in patient portal, telehealth and app telemetry logs. |
| 16 | Biometric identifiers | Including finger and voice prints; voice recordings and transcripts need care. |
| 17 | Full-face photographs and comparable images | Clinical photography, scanned ID documents and some imaging reconstructions. |
| 18 | Any other unique identifying number, characteristic or code | HHS examples include clinical trial record numbers, patient barcodes and a distinctive occupation. A hash of PHI made without a secret key counts as identifying. |
The actual knowledge rule
HHS describes actual knowledge as clear and direct knowledge that the remaining information could identify a person. General awareness of published re-identification research does not count. The HHS guidance gives four situations where Safe Harbor is not met despite removal of the 18 types:
- Revealing occupation: a distinctive job title in a record, such as a unique public office, that points to one person.
- Familial recognition: a recipient who is an employee and would recognise a relative in the data.
- Publicised clinical event: a rare condition or incident reported in the media that singles out the patient.
- Recipient capability: the covered entity is told the recipient can re-identify individuals.
Write the actual knowledge check into the release workflow as a named sign-off, with a short record of who reviewed the dataset and what they considered.
Codes and free text
- Re-identification codes (164.514(c)): a covered entity may keep a code that lets it re-identify records if the code is not derived from or related to information about the individual, cannot be translated to identify them, is not used or disclosed for any other purpose, and the re-identification mechanism is not disclosed. A random study ID held in a separate key table meets this; a hash of the MRN or a truncated SSN does not.
- Free text: HHS states the standard applies wherever an identifier appears, structured field or narrative. Clinical notes, radiology reports, pathology comments and message threads need automated redaction followed by sampled human review. Context in narratives, such as "executive vice president of the state university", falls under actual knowledge and must be removed.
- Images and files: DICOM headers, burned-in annotations, file names and document metadata carry names, dates and IDs. Treat them as fields in scope.
Expert Determination
Under 164.514(b)(1) a person with appropriate knowledge of and experience with generally accepted statistical and scientific principles and methods determines that the risk is very small that the information could be used, alone or with other reasonably available information, by an anticipated recipient to identify an individual, and documents the methods and results that justify the determination.
Who qualifies and what "very small" means
- No required credential: HHS names no degree or certification; experts may come from statistics, mathematics or other scientific fields, and OCR looks at relevant professional experience and training.
- No numeric threshold: HHS sets no universal value. The acceptable risk depends on the anticipated recipient and the environment the data goes into, which is why the same dataset can pass for an internal enclave and fail for public release.
- Time limits allowed: the rule does not require an expiry, but experts may issue time-limited determinations because data availability and technology change.
- Multiple releases: an expert may approve several datasets for one recipient only where they cannot be combined to re-identify people.
How the expert assesses risk
The HHS guidance describes an iterative process: assess risk, recommend mitigation, apply it with the data owners, then re-assess. It frames identifiability around three principles:
| Principle | Question the expert asks | Example |
|---|---|---|
| Replicability | How consistently does the feature occur for the person? | Birth date is stable; a blood glucose reading varies. |
| Data source availability | Do external sources link this feature to identities, and who can access them? | Demographics appear in voter rolls and public records; lab values usually do not. |
| Distinguishability | How far does the combination single out a person? | Year of birth, sex and three-digit ZIP can be unique for small populations. |
Mitigation methods named by HHS are suppression (removing a feature, record or value), generalisation (age bands, coarser geography), perturbation (replacing values while keeping statistical properties), and measures such as k-anonymity, where HHS gives no universal value of k. Data use agreements can support a determination by restricting the recipient but do not replace the analysis. Under Expert Determination, keyed cryptographic hashes may be retained if the key is not disclosed.
What the documentation should contain
Documentation must be available to OCR on request. A defensible report usually contains:
- Dataset description: source systems, fields, record count, time span and population.
- Anticipated recipient and environment: who receives the data, technical and contractual controls, and onward sharing limits.
- Quasi-identifier analysis: which fields were treated as replicable, available and distinguishing, and why.
- Risk measurement method and results before and after mitigation, with the threshold chosen and its justification.
- Transformations applied, with parameters (band widths, suppression rules, perturbation method, key management for hashes).
- Conditions of the determination: permitted use, prohibition on linkage and re-identification, expiry or review date, and triggers for re-assessment.
- Expert qualifications and signature, and the date of the determination.
Choosing a method
| Factor | Safe Harbor | Expert Determination |
|---|---|---|
| Basis | Prescriptive removal of 18 types plus no actual knowledge | Statistical risk assessment for a specific recipient and context |
| Data utility | Loses full dates, sub-state geography and exact ages over 89 | Can keep dates, finer geography or shifted dates where risk allows |
| Cost and speed | Low; can be automated with field rules | Higher; needs an expert, analysis and periodic renewal |
| Free text and images | All identifiers must be removed wherever they appear | Same need for removal, with risk assessed on residual content |
| Codes and linkage | Only 164.514(c) codes; no PHI-derived tokens | Keyed hashes and tokenised linkage possible if the key stays protected |
| Best fit | Simple tabular extracts, dashboards, teaching sets, low-sensitivity sharing | Longitudinal research, real-world evidence, linked datasets, AI model training |
Decision guidance: start with Safe Harbor when the analysis does not need dates, geography below state level or linkage over time. Move to Expert Determination when the use case needs any of those, when datasets will be combined, or when the recipient is outside your control. Smaller providers and practices often rely on Safe Harbor with tooling and a documented review; larger organisations and data businesses usually run a standing Expert Determination process with a disclosure review step, an approach NIST SP 800-188 describes for government agencies as a Disclosure Review Board.
Implementation steps
- Inventory the source fields and documents, and tag each as direct identifier, quasi-identifier, free text, image or clinical value.
- Agree the use case, recipient and environment in writing; this decides the method.
- Build the transformation in a pipeline with versioned rules, never by hand-editing extracts.
- Pilot on a sample: run automated redaction, then a human review of free text and images with a recorded error rate.
- Complete the actual knowledge sign-off (Safe Harbor) or obtain the expert report (Expert Determination).
- Release into a controlled location with access logging; keep the key table for 164.514(c) codes in a separate, access-restricted system.
- Rollback: if an identifier is found after release, withdraw the dataset, treat the exposure as potential PHI disclosure and run the breach risk assessment.
Re-identification risk
Re-identification happens through linkage (joining quasi-identifiers to an outside dataset), through rare values (unusual diagnoses, extreme ages, small towns) and through accumulation (several "safe" releases combined). The general mechanics are covered in the Anonymisation and Re-identification Risk Guide; the points below are specific to HIPAA programmes.
The AI training data angle
- De-identify before the data reaches the training environment. Once data meets 164.514 it is outside the Privacy Rule, but a model trained on data that did not meet the standard was trained on PHI, and that cannot be undone by later clean-up.
- Clinical notes are the weak point. Large free-text corpora defeat field-level Safe Harbor rules; use named-entity redaction plus sampled human review, and report the measured miss rate in the expert's documentation.
- Models can memorise rare records. Treat model outputs and model weights as a possible disclosure channel, especially for rare conditions. Expert Determination for training data should consider who can query the model, not only who receives the dataset.
- Combine methods. Differential privacy and synthetic data can lower risk further, but they do not replace the HIPAA analysis. See Differential Privacy vs Anonymisation for AI Training Data.
- Non-human access matters. Pipelines, notebooks and AI agents that read source PHI to produce de-identified sets hold service credentials to the most sensitive tables; scope them to the extract job and log their use. See AI Security in Healthcare Guide.
Detection and measurement
- Residual identifier rate in sampled free text after redaction (target and trend per release).
- Percentage of released datasets with a current method record: Safe Harbor sign-off or an unexpired expert determination.
- Share of records in equivalence classes below the agreed k (or the expert's chosen risk measure) before release.
- Number of determinations past their review or expiry date.
- Access logs on key tables for re-identification codes: every access should map to an approved re-linking request.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| HIPAA Privacy Rule | 45 CFR 164.514(a) to (c), (e) | De-identification standard, methods, re-identification codes, limited data set |
| NIST SP 800-53 Rev 5 | SI-19 De-identification; SI-19(4) Removal, Masking, Encryption, Hashing, or Replacement of Direct Identifiers | Control language for de-identification in federal and federally aligned programmes |
| NIST SP 800-53 Rev 5 | PT-3 Personally Identifiable Information Processing Purposes | Tying each dataset to a stated purpose and recipient |
| NIST CSF 2.0 | PR.DS-01 | Protection of data at rest, including source PHI and key tables |
| ISO/IEC 27001:2022 | Annex A 8.11 Data masking | Masking and de-identification controls in the ISMS |
| ISO/IEC 27559:2022 | Privacy enhancing data de-identification framework | Context, data and environment risk assessment across the data lifecycle |
Common failure patterns
- Hashing identifiers and calling it Safe Harbor: an unkeyed hash of an MRN or SSN is a code derived from PHI and fails item 18.
- Using the 2000 Census ZIP list as permanent: HHS lists 17 restricted three-digit prefixes from 2000 Census data and warns not to rely on that list once newer Census data is published.
- Shifting dates under Safe Harbor: date shifting keeps date elements other than year, so it belongs under Expert Determination, not Safe Harbor.
- Ignoring metadata: DICOM tags, PDF properties and file names reintroduce names and dates after the visible content was cleaned.
- Treating a determination as permanent: reusing an expert report for a new recipient, a public release or a combined dataset that the expert never assessed.
- Confusing a limited data set with de-identified data: it is still PHI, needs a data use agreement and cannot be used for purposes outside research, public health or operations.
Practitioner checklist
- Record, for every outbound or analytics dataset, which method was used and who approved it.
- Maintain field-level tagging of direct identifiers and quasi-identifiers in source systems.
- Apply Safe Harbor rules for all 18 types to relatives, employers and household members as well as patients.
- Refresh the restricted three-digit ZIP list from current Census data.
- Run automated redaction plus sampled human review on all free text, images and file metadata.
- Use random study IDs with a separately secured key table for any re-linking need.
- Commission Expert Determination for longitudinal, linked, externally shared or AI training datasets, with an expiry or review date.
- Bind recipients contractually against re-identification and linkage, and restrict onward sharing.
- Treat any identifier found after release as a potential PHI disclosure and run the breach assessment.
Standards and references
- eCFR: 45 CFR 164.514 Other requirements relating to uses and disclosures of protected health information
- HHS OCR: Guidance Regarding Methods for De-identification of Protected Health Information
- NIST: SP 800-188 De-Identifying Government Datasets: Techniques and Governance
- NIST: SP 800-53 Rev 5 Security and Privacy Controls (SI-19)
- ISO: ISO/IEC 27559:2022 Privacy enhancing data de-identification framework
- NIST: Cybersecurity Framework 2.0
This guide summarises the HIPAA de-identification standard and HHS guidance and is not legal advice. Related NHI Mgmt Group resources: HIPAA Privacy Rule Guide · Anonymisation and Re-identification Risk Guide · Health Data Privacy Beyond HIPAA Guide (My Health My Data) · Differential Privacy vs Synthetic Data