Skip to content

Separate compliance design from legal questions

Judge a Claude architecture against a stated regulation's demands on data location, retention, access, processing agreements and audit trails, and decide which changes are design decisions and which are legal questions to escalate.

Scenario

A dental-software company's architecture memo for its new claim-narrative feature ends with one line: "HIPAA: covered, Claude is HIPAA compliant."

The review board sends it back. Claude being offered with HIPAA readiness doesn't make this design compliant, and the memo doesn't say who decided anything.

Explanation

You don't decide whether a design is lawful. Counsel, the privacy officer and the compliance team do. Your job is to make the data flow visible, to bring them the facts the platform states, and to build what they decide. Mixing these up goes wrong both ways: an architect who answers legal questions gives advice nobody authorized, and one who escalates every setting slows the project and leaves design gaps unowned.

Start from the data flow. For each step: what data (personal, health, regulated), where it is processed and stored, for how long, who processes it, who can access it, and what is logged.

Facts the documentation states, to design with (confirm against your contract and the current pages):

  • Who processes the data. On the Claude API, Claude Platform on AWS and Microsoft Foundry, Anthropic is the data processor. On Amazon Bedrock and Google Cloud, the cloud provider is, and its retention and compliance documentation applies.
  • Processing agreement. Anthropic's Data Processing Addendum (DPA), the contract under which the customer is the controller of its personal data and Anthropic its processor, is part of its Commercial Terms. It includes the Standard Contractual Clauses (SCCs): the EU's standard terms for transferring personal data to countries outside the EU.
  • Retention. Under a zero data retention (ZDR) arrangement, Anthropic doesn't store prompts or responses at rest after the response is returned. It is enabled per organization on request and covers eligible features and models only: not the Console, not Managed Agents (whose sessions persist until you delete them), and not the Fable and Mythos models, which require 30-day retention unless Anthropic authorizes otherwise.
  • Health data. HIPAA, the US health-privacy law, protects PHI (protected health information): health data tied to an identifiable person, such as a patient's diagnosis or treatment record. HIPAA readiness needs a signed BAA (Business Associate Agreement, the contract under which a vendor may handle PHI for a healthcare customer) and a HIPAA-enabled organization; then eligible API features may process PHI, and non-eligible ones are rejected with an error. It is enforced per organization (the BAA covers the single organization that accepted it), so general-purpose work belongs in a separate organization. Beta features are generally not covered unless listed as eligible. For PHI, it is the arrangement to use; ZDR doesn't replace it.
  • Location. inference_geo sets where inference runs per request ("global" or "us"), and workspace settings can set a default and restrict the allowed geos for every key.
  • Government. FedRAMP applies to cloud service offerings (IaaS, PaaS, SaaS), not to the models inside them. FedRAMP High is available through Claude for Government or through partner clouds with their own authorization (AWS GovCloud, Google Cloud with Assured Workloads).

Sort every open point into one of two lists:

Escalate (legal or compliance decides) Design (you decide and build)
Is this data PHI, or a special category? Which platform, organization and workspace carry it
Is there a lawful basis; is the transfer covered? Which features the flow uses, and keeping regulated data out of non-covered ones
How long must we keep it, and must we erase it? Retention settings, deletion jobs, what logs hold
Which authorization level does the contract require? Geo settings that enforce the decided location
Do we need a negotiated BAA? Access controls and an audit trail with opaque ids

A quick test: "Are we allowed to…?" is a legal question. "How do we make the system do what was decided?" is yours.

Worked example

Before. The dental-software memo:

One API organization for the claim feature, internal tools and marketing tests.
Prompts tested with real patient notes in the Console.
Full prompts logged to our third-party log service.
Compliance: Claude is HIPAA compliant.

After.

Design: a separate HIPAA-enabled organization for the claim feature only, using features on the eligibility list. Prompt tests use synthetic notes. Logs keep request ids and opaque user ids; prompt text stays out of the log service.
Escalated to the privacy officer: is the claim narrative PHI under our BAA scope; may the log vendor hold any PHI; required retention for generated narratives.
Owner of the compliance sign-off: privacy officer, not engineering.

The memo no longer claims compliance. It shows the decisions it made, the questions it handed over, and who answers them.