Names — partially covered
Person names are in Privian's supported entity set on a best-effort basis. Safe Harbor requires removal of all names, which best-effort NLP detection cannot guarantee.
Solution
Reducing PHI exposure before it reaches an LLM API.
Privian is not HIPAA certified and does not sign a business associate agreement. What it does is detect and mask identifiers before a prompt leaves your systems, which is one architectural input into a compliance programme you and your counsel own — not a substitute for one.
Can you use an LLM API with PHI?
Only inside a compliance programme you control: either sign a business associate agreement with every processor that will touch the PHI, or remove enough identifying detail before the data leaves your boundary that it meets HIPAA's de-identification standard. A vendor's technical controls can support either path; they do not complete either one on their own.
Plain statement
Privian is not HIPAA certified and does not sign a BAA. This page describes HIPAA-ready architecture: technical controls that can reduce how much PHI reaches a model provider. It is not a compliance product, and using it does not make your application HIPAA compliant.
HIPAA compliance is a property of a covered entity or business associate and its full administrative, physical and technical safeguards programme — risk analysis, workforce training, access controls, breach procedures, and signed agreements with every business associate in the chain. No single vendor component can hold that property on its behalf. A privacy layer can change whether PHI reaches a given processor at all; it cannot certify your organization, and it cannot stand in for a BAA where one is legally required.
Summary
Clinical notes, intake forms, support tickets, scheduling context and billing references routinely contain PHI, and healthcare-adjacent SaaS features increasingly send that context to LLM APIs without a BAA covering the model provider.
Reduce PHI reaching a provider by detecting and masking identifiers before the call, or route PHI-bearing flows through processors under a signed BAA — these are two different paths, not one control that satisfies both.
When you are evaluating whether an AI feature can touch PHI at all, and you need to separate 'what architecture can reduce' from 'what only a compliance programme and legal agreements can establish'.
Best-effort masking over a fixed entity set does not meet the Safe Harbor de-identification standard, does not constitute an Expert Determination, and does not replace a BAA. Privian offers neither certification nor a BAA today.
Problem
Products that are not themselves clinical systems still routinely handle PHI once an AI feature is added: a summarizer condenses a clinical note, an intake form's free-text field is passed to a model for triage, a support ticket references a patient's diagnosis, a scheduling assistant reads an appointment tied to a treatment type, or a billing workflow includes a claim number next to a patient name. None of these look like "health records" in the product's data model — they are ordinary text fields that happen to contain individually identifiable health information.
The result is that PHI can reach a model provider's API through the same incidental path as any other customer data — because a feature was built without anyone asking whether the field could contain health information at all.
Safe Harbor coverage
HIPAA's Safe Harbor de-identification method lists 18 categories of identifiers that must all be removed for data to qualify. Privian's supported entity set overlaps with some of these categories and does not currently cover several others — this gap is the reason masking is a technical control, not a de-identification determination.
Person names are in Privian's supported entity set on a best-effort basis. Safe Harbor requires removal of all names, which best-effort NLP detection cannot guarantee.
Street addresses, cities, precise geographic detail and most ZIP code rules are not part of the supported entity set.
Birth dates, admission/discharge dates and dates directly related to an individual are not detected or masked.
Phone numbers are in the supported entity set.
Email addresses are in the supported entity set.
US SSN is supported. Other national identifiers beyond US SSN and Canadian SIN are not.
MRNs are not a supported entity type.
Insurance/health plan member identifiers are not a supported entity type.
Privian does not have a general 'account number' detector; only specific formats such as card numbers and IBANs are covered.
Not a supported entity type.
Not a supported entity type.
Medical device identifiers are not a supported entity type.
IP addresses are supported; web URLs are not a distinct detected category.
Not applicable to a text-based prompt gateway.
Privian processes text prompts; image content is out of scope entirely.
This catch-all category cannot be satisfied by a fixed, best-effort entity list by definition.
The full current entity catalog is listed on the PII masking page. Achieving Safe Harbor requires all 18 categories to be addressed; Privian's detector was not built against that checklist and should not be treated as satisfying it.
Framework
Framework
Path A — Keep PHI in scope, sign BAAs
PHI stays PHI throughout the flow. Every processor that touches it — including the model provider and any gateway in between — must be covered by a signed business associate agreement, and your full HIPAA programme applies end to end.
Path B — Reduce what leaves the boundary
Minimize or de-identify before egress so that materially less PHI (ideally none, under a recognized de-identification standard) reaches any processor. This narrows what needs a BAA, but the de-identification itself has to meet Safe Harbor or Expert Determination — not just 'masking most of it'.
Privian's controls are relevant to Path B as one input: reducing identifying content in the prompt. They do not implement Path A — Privian does not sign a BAA — and they do not by themselves complete Path B's de-identification standard.
Provenance
Control 1
Privian scans the assembled prompt for its supported entity set on each request, with no cross-request state: names, emails, phone numbers, IP addresses, credit cards, IBAN, US SSN, Canadian SIN, JWTs, provider API keys, GitHub tokens, AWS keys and env-style assignments. As shown above, this set does not cover several categories HIPAA treats as identifiers — dates, medical record numbers, health plan beneficiary numbers, device identifiers and images among them.
Control 2
Detected values are replaced with deterministic, type-aware placeholders — PERSON_1, EMAIL_2 — for the duration of the request. The masked prompt keeps its shape so the model can still reason about relationships, but the supported identifiers do not cross the boundary as plain text.
Control 3
The mapping between placeholders and original values is held in memory for the life of the request only. Placeholders in the model's response are replaced back with the original values before your application sees the reply, and the mapping is then discarded. See rehydration for the mechanics.
Control 4
Every request through Privian follows one describable path: detection and masking, forwarding to the model provider under your own BYOK credentials, and rehydration of the response. Privian does not persist raw prompts or responses; only structural counters are retained for billing and observability. The full hop-by-hop description is on the data path page. None of this changes whether the model provider itself is under a BAA — that is a separate agreement you would need directly with that provider if PHI reaches it.
Architecture
Application — Your code calls the OpenAI Chat Completions-compatible shape, with the base URL pointed at Privian and a Privian gateway key.
Privian privacy layer — The assembled prompt is scanned, supported entities are replaced with deterministic placeholders, and the request-scoped mapping is held in memory.
Model provider — The masked request is forwarded to the provider addressed as provider/model, using your own encrypted BYOK credentials.
Privian rehydration — Placeholders in the response are replaced with the original values from the in-memory mapping, which is then discarded.
Application — Your code receives a response containing real values — no placeholder handling required downstream.
Compliance review
Framework
Is this vendor a business associate under a signed BAA?
No, if the vendor is Privian. If PHI reaches Privian or any downstream model provider, you need a BAA with each of them directly, or PHI should not reach that flow.
Does the vendor claim HIPAA compliance or certification?
No. Treat any product claiming to be 'HIPAA compliant AI' with the same scrutiny — compliance is not a certifiable product property.
Has the data been de-identified to a recognized standard?
Only if you or a qualified expert have determined it meets Safe Harbor or Expert Determination — not simply because a masking tool ran over it.
What identifier categories are NOT covered by the masking layer?
Dates, medical record numbers, health plan beneficiary numbers, device identifiers, biometrics and images, among others — see the coverage table above.
What is retained, and by whom, at each hop?
Answerable per hop via the data path; your own logging and analytics are usually the largest retained copy and are entirely under your control.
Fit
Scope
FAQ
Related
This page is provided for architectural and educational purposes only and is not legal advice. Whether your specific data flows require a BAA, whether your de-identification approach meets HIPAA standards, and whether Privian is an appropriate component of your programme are questions for your own counsel or compliance officer.
Enterprise review
Trust assets procurement and security teams routinely request.
Plans & pricing
BYOK, zero retention and masking before the provider call. Not a compliance certification and not a substitute for a BAA. Beta plans may change as the product matures.