Implementation Guide | Healthcare

    How to Redact PHI in AI Agent Approval Requests

    Treat the approval request as its own data-exposure surface. Apply policy in the execution path so PHI and NPI are redacted before the approval payload is built, construct that payload from an allow-list of decision fields, and keep the original action, the redaction applied and the approval decision as evidence in a restricted store. Redaction applied afterward, or only in downstream logs, does not stop the approver from seeing the data.

    Redact in the execution path, then build the payload

    1. 1

      Intercept the tool call

      Evaluate the proposed action, its arguments and attached context before anything is queued for a human.

    2. 2

      Classify and apply policy

      Decide to allow, redact, block or escalate based on the action type, target system and detected sensitive content.

    3. 3

      Redact before payload construction

      Replace identifiers with placeholders or tokens in the execution path, so the unredacted payload never reaches the approval channel.

    4. 4

      Build from an allow-list

      Populate the approval request only from fields approved for that action type, not by copying the raw request and removing fields.

    5. 5

      Fan out redacted content only

      Send the same redacted payload to the approval UI, notifications, chat and ticketing. None of them receive the original.

    6. 6

      Record the decision with the action

      Store the approver, decision, timestamp and a reference to the original action and the redaction applied.

    Evidence to retain for each escalated action

    • A reference to the original action and its arguments, held in a restricted store
    • The policy rule that triggered escalation and the policy version in force
    • The redaction applied: which fields and entity types were replaced, and the fallback used on low-confidence detections
    • The exact redacted payload the approver saw, and every channel that received it
    • Approver identity and role, decision, justification and timestamp
    • The outcome: whether the agent executed, was modified or was blocked

    Where PHI and NPI leak into approval requests

    When an agent's tool call is escalated for human approval, the simplest implementation forwards everything the agent had: the prompt, the records it retrieved and the full tool arguments. The approver then sees whatever the agent saw. In a healthcare setting, that can include patient names, member identifiers, dates of birth, diagnoses and claim details. It can also include NPI, meaning nonpublic personal information, such as financial or account data tied to an individual.

    Four fields deserve inspection. Tool arguments can carry identifiers directly, for example a record lookup keyed by patient ID. Retrieved context can include whole documents or record excerpts. Prompt text can include pasted user content. Free-text justification written by the agent often restates the identifiers it just used, because the model is explaining itself in natural language.

    The exposure does not stop at the approval screen. The same payload can be copied into email or push notifications, chat integrations and ticketing systems, each of which becomes an uncontrolled second copy of the data with its own audience and retention. Inventory every place an approval request is rendered or forwarded, because each one needs the same treatment.

    Why this is a minimum necessary problem

    The HIPAA minimum necessary standard says that when using or disclosing PHI, or requesting it, a covered entity or business associate must make reasonable efforts to limit PHI to the minimum necessary to accomplish the intended purpose. The same provisions say an entire medical record may not be used, disclosed or requested unless the entire record is specifically justified as the amount reasonably necessary. The standard also lists exceptions where minimum necessary does not apply, so counsel should confirm whether any of them could cover an internal approval workflow rather than assuming so.

    For an approval flow, the practical reading is a design question. What does a reviewer need in order to approve or reject this specific action? Usually it is what the agent will do, to which system, at what scope and why policy flagged it. It is rarely the patient's identity. A payload that includes full records by default is hard to defend as limited to the purpose.

    Technical safeguards under 45 CFR 164.312 and audit controls under 164.312(b) also bear on this design. Have counsel confirm how the access control and audit control provisions apply to your reviewer roles and approval tooling. As of December 2026, the regulatory text is published in the eCFR, and it should be checked directly at design time.

    What the approver still needs to decide

    Redaction fails in practice when approvers cannot decide and start asking for the raw data. Define the decision context per action type and keep it stable. A workable allow-list includes the action type, the target system, the scope or record count, the policy rule that triggered escalation, the risk reason, and the argument shapes with values redacted. For a bulk export, the approver needs the record count and destination, not any record. For a write to a chart, they need the field being changed and the system, not the patient.

    A consistent token per entity can help here. If the same placeholder appears twice, the approver can see that two values refer to the same person without seeing the identifier. The tradeoff is real: consistent tokens can allow linkage across requests, and aggressive masking can strip context the reviewer needs. Scope tokens to a single request where cross-request linkage is not needed, and keep the token-to-value mapping in a restricted store outside the approval channel.

    Document which roles may approve which action types and what each role may see. Where an approval view ever includes more than the redacted minimum, require and record a justification, in the same spirit as the rule that an entire record needs specific justification.

    Edge cases: free text, embedded identifiers and notifications

    Free-text fields are the hardest case because identifiers have no fixed position. An agent's justification may say that it is updating the plan for a named patient, and a tool argument may embed an identifier inside a query string or a nested object. Redaction should walk nested structures rather than only top-level fields, and free-text fields should be treated as untrusted by default. Where the system cannot say with confidence that a field is clean, choose a defined fallback: block the call, redact the whole field, or escalate with the field withheld. Pick the fallback per action type and test it against realistic nested arguments and justification text before go-live.

    Also review notification routing. Messages sent to email, push or chat leave the controlled approval interface, so they should carry only a link or a minimal redacted summary. Separately, a covered health care provider must accommodate reasonable requests to receive communications of PHI by alternative means or at alternative locations, so confirm that notification routing does not conflict with such requests.

    Finally, ask whether withholding data from approvers could affect access to electronic health information. Information blocking rules in 45 CFR Part 171 define access as the ability or means necessary to make EHI available for exchange or use. Redacting an internal approval view is not the same as refusing access, but counsel should confirm that for your workflows.

    Runtime enforcement as one implementation path

    This pattern can be built in-house, but it requires enforcement that sits in the execution path rather than beside it. Trussed is one example. It enforces policy on individual interactions and tool calls across models, agents, tools and MCP servers, with actions to allow, redact, block, rate limit or escalate for human approval. Enforcement happens at runtime, not after the fact, and it produces audit-ready evidence mapped to HIPAA. It deploys self-managed in the customer cloud, with configurable retention and data residency, and it runs in production with healthcare and pharma organizations.

    Whatever you choose, evaluate it against the same questions. At what point is redaction applied, and can the unredacted payload ever reach the approval channel? Can the payload allow-list be configured per action type? What happens on low-confidence detection? Do notification, chat and ticketing paths receive only redacted content, and how is that verified?

    Approval flow with redaction before the payload is built

    1. Agent proposes a tool call

    Arguments and retrieved context may contain PHI or NPI.

    2. Policy enforced in the execution path

    Content is allowed, redacted or blocked; the call is escalated if a human decision is required.

    3. Redacted approval payload

    Built from an allow-list of decision fields, never from the raw request.

    4. Approver decides

    Sees action, scope and risk reason, not identifiers.

    5. Evidence retained

    Original action, redaction applied and decision are stored outside the approval channel.

    Review your approval flow against these questions

    See how policy enforcement in the execution path redacts sensitive content before approval and produces audit-ready evidence for each escalated action.

    See How Evidence Is Produced