What tool keeps patient details private in AI answers?

Protecto replaces patient names, record numbers and member IDs with tokens before a prompt reaches any model. Real values come back only for staff your policy allows.

SOC 2 Type II · ISO 27001 · HIPAA, BAA available

1

The care manager asks

Summarize the last three visits for Grace Whitfield, MRN 4471-209-88, born 03/14/1949, and draft a check-in message.

2

The model receives

Summarize the last three visits for <PERSON>Hv8Np3</PERSON>, MRN <MRN>7730-185-42</MRN>, born <DATE_OF_BIRTH>09/02/1953</DATE_OF_BIRTH>, and draft a check-in message.

3

The care manager sees

Grace Whitfield had three heart failure follow-ups since August. Draft: “Hi Grace, checking in after your last visit…”

Token sent to the model Real value, allowed role Clinical fact left readable
Trusted by regulated enterprises & agentic platforms
Inovalon
Automation Anywhere
Citrix
Bank Of Muscat Logo
Dell

The short answer

Use a privacy layer between your clinical data and the AI model. It finds patient identifiers in each prompt, file and retrieved record, swaps them for tokens before the text leaves your environment, and puts real values back in the answer only for people allowed to see them. Protecto is built for this job. It works with any model, including ChatGPT, Gemini, Claude or a model you host.

01

Route everything through Protecto

Every prompt, uploaded document and retrieved record passes through Protecto before it reaches the model.

02

Detect patient identifiers

Names, MRNs, member IDs, dates, phone numbers and other supported identifiers, including those written inside clinical sentences.

03

Swap them for consistent tokens

The same patient gets the same token every time, so the model can follow one person through a chart.

04

Keep clinical facts readable

Diagnoses and medications your policy leaves readable stay in the text, so answers stay useful.

05

Restore real values by role

Real values return only for roles your policy allows, and each reveal is logged. Everyone else, and the model provider, sees tokens.

Proof

Inovalon built a secure, HIPAA-compliant analytics product on sensitive healthcare data with Protecto

1,000+

Documents Inovalon tested in under a week

50+

Entity types across PII, PHI and PCI, plus custom entities

Higher F1

Than AWS Comprehend and Microsoft Presidio in the UT Dallas benchmark

“Protecto enabled our team to harness the full power of AI and analytics while maintaining strict HIPAA compliance and data privacy.”

AK
Arun Krishnaswami
Inovalon

Where patient details leak in an AI answer

A nurse in a care management team asks the hospital’s AI assistant to summarize a patient’s last three visits and draft a check-in message. The assistant pulls the visit notes and sends them to a hosted model. Each note carries the patient’s name, date of birth, MRN and phone number inside ordinary sentences. All of it reaches the model provider, and copies sit in prompt logs and the assistant’s chat history.

The EHR controls who opens a chart. It does not see what an AI assistant does with the text afterward. Redacting every identifier stops the leak but breaks the work: the summary reads “[REDACTED] was seen on [REDACTED]”, and the assistant can no longer tell two patients apart.

This is the PHI exposure problem in AI answers: the data must stay private, and the answer must still make sense.

The note holds real identifiers.

Name, date of birth, MRN and phone number sit inside ordinary clinical sentences, not in labeled fields.

Copies land outside the EHR.

The hosted model, its prompt logs and the assistant’s chat history each keep a copy of the text.

Every reader sees the same answer.

Without a policy on the answer, the care manager and a reviewing analyst see the same patient details.

Ways to keep PHI out of an AI model, compared

Four common choices, compared on what reaches the model provider and what staff get back.

ApproachWhat the model provider receivesAnswer qualityReal values back for allowed staff
Send PHI under the model provider’s BAAOpenAI API or Azure OpenAI with a signed BAAReal PHI, under contractFullYes, for everyone who can use the tool
Redact or de-identify firstAzure Health Data Services de-identification, Amazon Comprehend Medical, Microsoft PresidioRedacted text or surrogatesVaries by tool and setting. Blanket redaction loses who-is-who.No reveal by role. You build and secure any re-identification yourself.
Host a model inside your own networkNothing leaves, but PHI reaches the model, its logs and every connected toolDepends on the model you can runYes, with no per-role control unless you build it
Protecto in the path, with any modelTokens onlyKept. Consistent, format-preserving tokens keep who-is-who.Yes, by role, with each reveal logged

A BAA governs what a provider may do with PHI. It does not stop PHI reaching the provider. Many teams use both: a BAA where counsel requires it, and tokens so far fewer identifiers ever leave.

Based on each vendor’s public documentation, November 2026. Detection accuracy: an independent UT Dallas and DataXpert benchmark measured a higher F1 for Protecto than for AWS Comprehend and Microsoft Presidio.

How Protecto keeps patient details out of the model

Protecto sits between your clinical data and the model. It checks what goes in, what tools receive, and what comes back.

  1. 1

    Prompts and files in

    Messages, uploaded documents and passages retrieved from EHR exports or document stores are scanned. Each identifier becomes a token before the text leaves your environment.

  2. 2

    Policy per entity type

    You choose what is masked. Names, MRNs and member IDs are tokenized. Diagnoses and medications can stay readable, so the clinical meaning survives.

  3. 3

    Tool calls

    When the assistant calls a system that needs the real value, such as a claims lookup, Protecto resolves the token at the tool boundary for an authorized user.

  4. 4

    Answer out

    Real values are restored for roles your policy allows. Other roles see tokens. Each reveal is logged.

Example: a member services assistant at a health plan

The representative types

Summarize open claims for Daniel Reyes, member ID HB-44718-02, born 02/11/1961, and draft a reply about the denied MRI.

The model receives

Summarize open claims for <PERSON>Lm4Tq8</PERSON>, member ID <HEALTH_BENEFICIARY_NUMBER>QW-81530-77</HEALTH_BENEFICIARY_NUMBER>, born <DATE_OF_BIRTH>07/23/1958</DATE_OF_BIRTH>, and draft a reply about the denied MRI.

The answer, by role

Hi Daniel Reyes, we reviewed the denied MRI claim on member ID HB-44718-02. Here is what happens next…

Unmasked: this role handles the member’s claim. The reveal is logged.

Everyone else in the flow

  • The model providerTokens only. “Denied MRI” stays readable, so the reply makes sense.
  • The claims lookup toolThe real member ID, resolved for this authorized user
  • Prompt logs and chat historyTokens

The same member gets the same token in every prompt and session, so the model can follow one case across a long conversation.

Can you use LLMs on claims or EHR data without exposing PHI?

Yes, if identifiers are replaced before the data reaches the model and the mapping stays in your environment. For claims archives and EHR exports, Protecto runs in batch as well as in real time, so the same patient keeps the same token across millions of documents and search, summaries and analytics still line up.

Case study

~750M

A healthcare data platform prepared about 750 million claims documents for AI. Broad redaction had made notes useless for search and summaries. Protecto Vault processes the archive in batches and logs every mask, reveal and access.

A healthcare insurer has also handled 50M+ records with Protecto.

PHI de-identification for data lakes →

Batch and pipelines.

Protecto’s asynchronous API processes large record sets. It also runs in data pipelines through a Snowflake UDF, Databricks, Kafka or Spark.

Structured and free text.

Claims tables, EHR exports, clinical notes, discharge summaries and call transcripts.

Two outputs, by purpose.

Reversible tokens for AI work where an approved team must re-identify. Identifiers removed with no mapping kept for analytics and training sets that must be de-identified. Whether a data set meets Safe Harbor or Expert Determination is your expert’s or counsel’s call.

Security & compliance

What HIPAA reviewers will ask

Reviewers want to know which AI received which PHI, and why. Protecto logs each detection, mask and reveal, so your team can show which identifiers a flow touched, what each model, index and tool received, and who saw real values.

Tokenized PHI is pseudonymized, not de-identified, so it may still be PHI. Protecto reduces what reaches each recipient, and your counsel decides which agreements you still need.

HIPAA rule by rule for AI →
Healthcare AI by provider, payer and health tech →
Is redaction enough for HIPAA when using ChatGPT or an LLM? →

SOC 2 Type II

Audited controls

ISO 27001

Certified ISMS

HIPAA

BAA available

GDPR

EU data ready

DPDP

India privacy law

CCPA / CPRA

US privacy
Independently verified to outperform AWS Comprehend and Microsoft Presidio · audit logs on every scan, mask, and unmask.

Questions healthcare teams ask about AI and PHI

If our model provider signs a BAA, do we still need Protecto?

A BAA lets the provider handle PHI under contract. The PHI still reaches the provider and sits in its systems under its retention terms. With Protecto in the path, the provider receives tokens instead, and real values stay in your environment. Many teams keep the BAA as well.

It can be. Protecto’s default tokens are consistent and reversible by whoever holds the vault, which makes them pseudonyms, not de-identified data. For data sets that must be de-identified, Protecto can remove identifiers with no mapping kept.

That depends on who runs it. When Protecto hosts or manages the service, or can access your instance for support, upgrades or monitoring, Protecto is a business associate and signs a BAA before any PHI flows. When Protecto runs in your environment with no Protecto access, Protecto does not receive PHI and is not a business associate.

Protecto detects 50+ entity types across PII, PHI and PCI, including names, dates of birth, MRNs, health plan and beneficiary numbers, phone numbers, addresses and Social Security numbers, plus custom entities such as your member ID format. It finds them inside free text, not only in database columns.

Consistent, format-preserving tokens keep who-is-who intact, so the model can follow one patient through a note and across documents. Clinical facts your policy leaves readable, such as diagnoses and medications, stay in the text.

Yes. Staff chat runs through Protecto AI Privacy Gateway; applications and pipelines call Protecto Vault through its API. Protecto AI Privacy Gateway is designed to detect and mask supported entity-based sensitive data, including common personal, health, payment, account, government, and customer identifiers, before protected chat content reaches the model provider.

SaaS, on-premises, in your private cloud or air-gapped. Protecto is model agnostic: ChatGPT models, Gemini, Claude or a model you host.

Keep patient details out of AI

Bring a sample of your clinical notes or claims. We will show what the model receives and what each role sees.

Cover of the PII/PHI identification benchmark study by UT Dallas and DataXpert
Benchmark study

PII/PHI detection, benchmarked by UT Dallas and DataXpert

A third-party study compares how accurately Protecto, Microsoft Presidio, and AWS Comprehend find personal and health data in unstructured text.

By submitting you agree to Protecto’s privacy policy.

New: run any AI model without exposing real values.
See how it works