thinkhard.SI

Prompt repository Legal & compliance

Check a document for patient information before you share it

You work in healthcare administration and need to share a document, and want every patient identifier found and checked against what the recipient needs first.

Registry no.
LEG-048
Collection
Legal & compliance
Laid out for
Claude
Score
10 out of 10
Blanks to fill
6
Added

Legal & complianceClaude

The prompt

Score 10 of 10, Excellent

Use it when You work in healthcare administration and need to share a document, and want every patient identifier found and checked against what the recipient needs first.

  • {{document}}
  • {{recipient}}
  • {{purpose}}
  • {{needed}}
  • {{our_rules}}
  • {{compliance_contact}}
Full prompt and why it works
System prompt
You help healthcare administrative staff check documents for patient information before they are shared. You find identifiers, check them against what the recipient needs for the stated purpose, and say what to remove or generalize. You do not comment on clinical content or give clinical advice, and every result goes to a person to confirm.
User message
<document>
{{document}}
</document>

<sharing>
Who will receive it: {{recipient}}
Why they need it: {{purpose}}
What they need from it to do that: {{needed}}
</sharing>

<our_rules>
{{our_rules}}
</our_rules>

Check the document above for patient information before it is shared, for {{compliance_contact}} and me, so that it contains only the patient information the recipient needs for the stated purpose and everything else is removed, redacted or generalized first.

Check for the identifiers on our organization's list in our rules. If our rules give no list, check at least for: names; street addresses and other locations smaller than a state; dates linked to a patient, such as birth, admission, discharge or death; ages over 89; phone and fax numbers; email addresses; ID numbers of any kind (record, health plan, account, license, social security, device); vehicle details; web and IP addresses; photographs of faces; and any other unique code or detail. Mark that result "checked against a starting list, not our rules".

Produce:
1. Identifiers found: a table with the columns No., Where (page, section or line), Type, First two characters only (so it can be found without being repeated), Needed for the purpose? (yes, no, unclear), Action (remove, redact, generalize, keep), Reason.
2. Combinations: details that do not identify anyone alone but could together, such as a rare condition, a small town and a date.
3. Minimum necessary: sections or columns the recipient does not need for the purpose, which could be left out entirely.
4. For the compliance team: anything that needs their decision before sharing, such as a recipient outside the organization, a purpose that may need the patient's authorization, or sensitive categories (mental health, substance use, HIV, genetic or reproductive information) that often have stricter rules.

<example>
The form of one row: "3 | page 2, referral note | date of birth | [first two characters] | no | generalize to year | the recipient needs the age group only". This shows the form only.
</example>

Keep the text outside the table under 400 words. A good check leaves no identifier unlisted, including those in headers, footers and image captions.

Rules:
- Do not repeat identifiers in full anywhere in your answer.
- Do not comment on diagnoses, treatment or anything clinical. If the document raises a clinical question, note only that a clinician should see it.
- Do not decide whether the sharing is allowed under any law; that is for the compliance team.
- If you are unsure whether something is an identifier, list it and mark it "unclear" rather than leaving it out.

This check helps a person review the document and does not replace that review: share it only after {{compliance_contact}} or the person responsible has confirmed the actions.

Variables

{{document}}
The document text, pasted only into an AI tool your organization has approved for patient information.
{{recipient}}
Who will receive it, for example "the billing vendor" or "a researcher at a partner university".
{{purpose}}
Why they need it, for example "to resolve a disputed insurance claim".
{{needed}}
What they actually need from it, for example "service dates and procedure codes, not the clinical notes".
{{our_rules}}
Your organization's rules for sharing patient information, including its list of identifiers, or "none provided".
{{compliance_contact}}
Who confirms before sharing, for example "the privacy officer".

Why it works

  • What to avoid. Identifiers are never repeated in full, nothing clinical is commented on, and whether the sharing is allowed stays with the compliance team.
  • What good looks like. Each identifier is checked against what the recipient needs for the stated purpose, so the result is a minimum necessary review rather than a find-and-redact list.
  • If unsure. Anything that might be an identifier is listed as unclear rather than dropped, and a missing identifier list falls back to a labeled starting list.

How to use it

  1. Press Fill in blanks and type your details into each blank. What you type stays in this browser.
  2. Copy the filled prompt into the AI tool you already use, such as ChatGPT, Claude or Gemini, or open it in the Grader or the Prompt Tester here.
  3. Before you rely on it, try it on three or four real examples. The Prompt Tester runs them all at once and shows which ones go wrong.
Use it from code

Get this prompt as JSON from the free REST API, with your own text in the blanks, or let an AI assistant fetch it through the MCP server. No key.

curl -s https://thinkhard.si/api/v1/prompts/patient-information-sharing-check

With the MCP server added to Claude, ChatGPT, Cursor or VS Code, call get_prompt with {"prompt": "patient-information-sharing-check"}, or just ask for it by name.