Documents

Redact patient records for research without removing what the recipient needs.

A practical guide to redact patient records for research: where the data hides, what to remove, and how to verify the output before it leaves your hands.

Redact patient records for research: a practical checklist

Patient Records shared for research needs a redaction that matches the purpose. Too little and the recipient gets data they do not need; too much and the document no longer proves what it was meant to prove.

What the recipient needs

A researcher or lawyer needs the clinical content and the outcome, not the identity. The identifiers and the dates may need to be removed depending on the standard.

The researcher needs de-identified content for analysis.

What to remove

What to keep

Where it hides

Headers and footers, signatures, comments, tracked changes, metadata, attachments, scans and the OCR layer. The body is only one of the places where personal data lives.

A worked example

A retrospective study needs outcomes. Remove names, MRNs and full dates; keep the diagnosis, treatment and outcome, and check that a rare condition plus a date does not re-identify the patient.

Remove names, MRNs and full dates; keep the diagnosis, the treatment and the outcome.

The common mistake

Leaving a rare diagnosis with a full date and a clinic name, which can re-identify the patient.

A workflow

  1. Confirm the recipient’s requirements.
  2. Write the policy: remove, keep, review.
  3. Detect across the whole document, including attachments.
  4. Review the list and the doubtful spans.
  5. Replace the values, then verify with copy/paste.
  6. Keep the removal report.

How Veilbrook fits

Veilbrook finds personal data across PDF, Word, email and scanned documents, replaces it, and produces a reviewable list. A second pass looks for what remains; uncertain cases are flagged. Cloud or on-premise.

Before you start

Write down the purpose, the recipient, the fields you will remove and the fields you will keep. A short policy note prevents an argument later and makes the review faster. Check whether the recipient has a prescribed form or a minimum set of pages.

How to verify the output

  1. Reopen the exported file in a different viewer.
  2. Select each masked area and paste it into a text editor.
  3. Search for every value you removed.
  4. Check headers, footers, comments and attachments.
  5. Compare the output with the removal list.

When to stop and ask

Stop when the recipient’s requirements are unclear, when the document contains data outside your policy, or when a scan cannot be read reliably. Guessing is how leaks happen. If the document is part of a legal or regulatory process, ask the reviewer before you remove a field the process may need.

What a research dataset needs

A research dataset needs clinical variables that can be analyzed, not a file that has been stripped until the variable of interest disappears. The redaction should follow the chosen standard: the HIPAA Safe Harbor list of 18 identifiers, or an expert-determination method that documents the re-identification risk.

Under Safe Harbor, remove names, geographic subdivisions smaller than a state, dates except the year, ages over 89, phone and fax numbers, email, SSN, medical record numbers, health-plan numbers, account numbers, certificate and license numbers, vehicle identifiers, device identifiers, URLs, IP addresses, biometric identifiers, full-face photos and any other unique code. Keep the diagnosis, the treatment, the lab values, the outcome and the cohort context that is not identifying.

Safe Harbor is not automatic: a rare diagnosis, a small clinic and a full date can still identify a person when combined. Document the method, keep the code-to-subject mapping outside the dataset, and have the privacy officer or the IRB review the release. This page is general information, not a legal opinion.

Limits

No tool catches everything. OCR is imperfect on handwriting and poor scans. Masking is not anonymization, and the legal basis for sharing remains your decision. This page is general information, not legal advice.

  1. Check the recipient’s rules.
  2. List what to remove and what to keep.
  3. Check headers, footers and signatures.
  4. Check attachments and metadata.
  5. Test copy/paste on the masked areas.
  6. Keep the removal report.

Questions

What should I redact in a patient records?

Start with the recipient’s purpose. Remove direct identifiers and data outside the purpose; keep the facts the recipient needs to verify the document. For research, The researcher needs de-identified content for analysis.

Can I redact a scanned patient records?

Yes, with OCR first. Poor scans and handwriting are flagged for review; check the OCR layer as well as the image.

Is a black box enough for a patient records?

No. A rectangle over copyable text is not a redaction. Replace the value, export a new file and test copy/paste.

What is the common mistake with a patient records?

Leaving a rare diagnosis with a full date and a clinic name, which can re-identify the patient.