Skip to content

Use cases · Healthcare

Healthcare: privacy for AI agents and LLMs

Keep patient data on the right side of every AI request.

Clinicians and administrators use AI to draft referral letters, summarise discharge notes and answer insurance queries. Every one of those requests can carry health data, record numbers and dates of birth. OPP lets a hospital describe once what counts as protected health information and how each destination may receive it.

Scenarios

  • Drafting a referral letter


    A clinician asks an AI assistant to draft a referral for a named patient, including the medical record number and diagnosis.

    With OPP: The engine finds personal.name, personal.record_identifier and special.health. For external_ai the health content is restricted, so the verdict is block unless the hospital's model allows a pseudonymised form; the agent gets the reason and the classes involved.

  • Summarising discharge notes for audit


    A quality team summarises a month of discharge summaries for an internal review.

    With OPP: For the internal destination the model's rules allow pseudonymised records, so names and MRNs are replaced consistently and the summary keeps its meaning.

  • Answering insurer questions


    Billing staff paste claim numbers and member IDs into a chat assistant to prepare responses to an insurer.

    With OPP: Claim numbers and member IDs are declared as the hospital's own identifiers, so they are recognised by pattern and handled as personal.record_identifier, not passed as plain text.

What a healthcare privacy model describes

The Healthcare preset (matched by NAICS 2022 code) lists the classes organizations in this industry usually hold. A generator uses it to look for them and to report the ones it did not find.

Class What it covers Default sensitivity Default handling
confidential.marking
Marked confidential
Content carrying an explicit confidentiality marking such as CONFIDENTIAL, internal only, do not share, under NDA, or privileged. confidential block
confidential.people
HR matters
Hiring, performance, compensation, discipline, absence or termination of staff. confidential block
confidential.customers
Customer relationships
Named customers' deals, contracts, accounts, support cases and pipeline. confidential block
confidential.legal
Legal matters
Contracts, disputes, litigation, regulatory investigations, legal advice and settlements. confidential block
confidential.security
Security details
Infrastructure layout, internal hostnames, vulnerabilities, incidents and access configuration. confidential block
special.health
Health data
A person's physical or mental health, diagnoses, treatment, medication, disability or health care. restricted block
special.genetic
Genetic data
Inherited or acquired genetic characteristics, such as sequencing or test results. restricted block
personal.record_identifier
Record identifier
An organization's number for a person, such as a customer, employee, patient, member or case number. confidential pseudonymize
personal.date_of_birth
Date of birth or personal date
A date of birth, or another date tied to one person such as an admission or death date. confidential generalize

Identifiers to declare: medical record number (MRN); health insurance member ID; national health number; NPI or practitioner registration number; claim number; specimen/accession number.

Documents where they appear: discharge summary; referral letter; lab report; insurance claim; prior-authorization request; appointment reminder; clinical trial site report.

Start from the healthcare preset

Generate a draft privacy model from your own sources, on your own machines:

opp-engine generate postgresql://readonly@db/main ./exports \
    --name acme --org "Acme" --industry 622110 -o acme.opp.yaml --report review.md

Then add what makes your organization different, for example:

concepts:
  - id: org.clinical_trial_notes
    label: Clinical trial notes
    extends: special.health
    cues: [trial arm, adverse event, enrolment log]

identifiers:
  - {id: mrn, label: Medical record number, class: personal.record_identifier, pattern: "MRN-[0-9]{8}"}

Agents then call check before they share, and receive a verdict, the reasons and a safe version to send. See Connecting agents.

Other industries

Financial services · Legal · HR and staffing · Software and technology · Manufacturing · Energy and utilities · Public sector · Retail and consumer · Telecom and media · Education · Transport and logistics · Real estate and construction · Agriculture and natural resources · Every organization