Frequently Asked Questions

Find answers to common questions about using DelPHI for clinical document de-identification.

Getting Started
3 questions

What is DelPHI and how does it work?

DelPHI (Deidentify and Label PHI) is a purpose-built de-identification platform for clinical documents. It runs a three-stage pipeline — a clinical NER transformer detects candidate PHI, a proprietary clinical-code shield removes false positives, and a redactor rewrites the surviving spans — so the residual text can feed downstream NLP, coding, and analytics without exposing patient identity.

What file formats are supported?

PDF (with OCR for scanned documents), DOCX, and TXT. DelPHI extracts the text from each file automatically, deciding page by page whether to use the digital text layer or OCR. If a scanned page comes back with low OCR confidence it is flagged for review, and the Results step opens on a Review tab showing that page beside its editable text — correct it and re-run detection. Layout and embedded images are dropped at extraction time (in-place redaction is on the roadmap).

How do I process my first document?

DelPHI is a three-step wizard: Upload & Mode → Process → Results. Drop a file (or click "Try sample note"), choose a redaction mode, optionally narrow the PHI types, then click "De-identify". When processing finishes you land on the Results step with a side-by-side comparison. See the How-To Guide for a step-by-step walkthrough.

The De-identification Engine
4 questions

What engine does DelPHI use?

One engine with a choice of two detection models, both wrapped in the same clinical safeguards. OpenMed 44M, an OpenMed-PII clinical NER transformer, is the default. Stanford deidentifier-base is the alternative you can pick under "Detection model".

Which model should I pick?

Leave OpenMed 44M selected unless you are comparing. It is the default and covers every identifier type. Stanford deidentifier-base often finds more names in charts but may blank more ordinary text, and it only covers names, dates, IDs, phones and organisations; the other types still come from DelPHI’s own pattern checks. To compare, run a file with one model, then start over and run it with the other. The Results header says which model produced each result, and the choice resets to OpenMed when you reload the page.

What is the clinical-code shield?

It is DelPHI’s proprietary value-add: a post-filter that knows what a generic NER model does not. It recognises clinical codes (ICD-10-CM, HCC, CPT, NDC) and medical terms, so an MRN-shaped diagnosis code or a medication name is not mistaken for PHI and scrubbed.

How accurate is the PHI detection?

The transformer benchmarks at 95.8% overall recall on a 17-category synthetic clinical-note set, with 14 of 17 categories at 100% and one known weak spot (device identifiers at ~32%). Every detected span carries a confidence score, and the Analysis view summarises how many cleared the high-confidence (≥90%) bar.

PHI Detection & Privacy
4 questions

What types of PHI can DelPHI detect?

All 17 HIPAA Safe Harbor identifiers — names, dates, ages, addresses, ZIP, phone, fax, email, SSN, MRN, health-plan ID, account, license, URL, IP, device ID, organization — plus a catch-all "Other ID". You choose which types to enable per run from the PHI-types checklist.

What are the redaction modes?

Three: Anonymise replaces each span with a category token (John Doe → [PERSON]); Pseudonymise swaps in a realistic synthetic equivalent (John Doe → "Mark Reed"); Delete removes the span entirely. The same detected-span data is returned either way for audit and review.

Is DelPHI HIPAA-compliant, and is my data safe?

DelPHI is an assistive tool, not a compliance tool: it does not make anything HIPAA-compliant, a qualified person must check every output, and accuracy figures are test results, not promises. Pair it with a human QA checkpoint or a second independent scan for Safe Harbor sign-off. The model runs inside the DelPHI service on Google Cloud under a signed BAA; no text is sent to an outside model provider. The public demo is still for synthetic data only.

What happens to false positives?

The clinical-code shield removes the most common medical false positives before redaction. Beyond that, every span and its confidence are surfaced on the Results step, so you can review before exporting — and you can narrow the enabled PHI types or add custom always-redact terms to tune behaviour.

Reviewing Results
4 questions

How do I see what was changed?

The Results step offers six views of the same document: Text (plain side-by-side), Highlighted (color-coded PHI spans), Diff (a unified diff of exactly what changed), Reflowed (readable prose), Document (your original file in its native format), and Analysis (a stats dashboard). Panes can be maximized, scrolled in sync, and copied.

What is in the Analysis view?

Detection-quality meters (average confidence and the share of spans ≥90% confidence), a row of metric tiles (PHI entities, entity types, medical terms preserved, processing time, throughput, text length), and a "PHI removed by type" breakdown you can read as a Chart, a flat List of every span, or raw JSON.

What happens if a scanned page is too blurry to read?

Each page is OCR’d on its own and scored. A page that comes back weak is escalated to a second, stronger OCR engine (Google Document AI, inside the same cloud agreement as the rest of your data), and the better result wins. If the second pass still cannot read it, the page is flagged and the Results step opens on a Review tab showing the scan beside its text so you can correct it and re-run. The important case is a page that recovers only a fraction of its content while still looking confident — that is flagged too, because silently returning a page with most of its text missing is the worst outcome for a redaction tool.

How do I interpret the confidence scores?

Confidence runs 0–100% per span. Above ~90% is reliable, 70–90% may warrant a glance, and below 70% is worth manual verification. The Analysis view’s high-confidence meter (e.g. 19 / 26) is a fast signal for how much manual review a document needs.

Span Review & Redacted PDF
7 questions

Why do I have to review before sharing?

Because the detector misses some identifiers. On our synthetic 15-page home-health packet, about 3 in every 100 identifier occurrences were still in the output when the reviewer added nothing, mostly phone numbers, device IDs, account numbers and an MRN. The Review tab is where you catch them. Render stays off until every span is decided and you have entered a Reviewer ID.

How do I add an identifier the engine missed?

On the Review tab, select the text in the document. In the "Add as PHI" box pick a Type, keep "Apply to every occurrence" ticked, and click "Add span". Near misses are also listed under Candidates; click "Add" on any that are real.

Do I lose my review if I Render or switch tabs?

No. Decisions are kept when you switch results tabs and when you Render; after Render a note says how many decisions were kept, and anything that no longer matches a span goes back to To decide. They are held in memory only (never in browser storage), so reloading the page or closing the tab starts the review over.

Is the redacted PDF safe to share?

Only after a careful review. In the redacted PDF the identifier text is removed from the page (not just covered) and a label is printed in its place; metadata, form fields and annotations are cleared. But it redacts only your final list: anything you did not accept or add stays readable. Today, tables are redacted word by word, and scanned pages depend on OCR quality. Open the PDF and check every page before it leaves your team.

Is the redacted PDF different in DelPHI Lite (the desktop app)?

Yes, in one way. DelPHI Lite saves each page of the redacted PDF as a picture, so the file has no selectable or searchable text, and it is larger than the web version’s. The page layout is the same. Scanned pages are read by OCR on your computer; nothing is sent over the network.

What happens to my original file?

It is not changed. Your browser keeps it in memory to show the Original view and to send it again when you click Render. The service processes it and returns the result without saving it; the redacted PDF is a new file you download.

What does the Reviewer ID do?

It names who signed off. Each Render writes one audit line with the Reviewer ID, exactly as typed, and how many spans were accepted, rejected and added, by type. The span text and your reasons are not logged. Enter your staff ID or name. Never put patient details in Reviewer ID; it is written to the audit log. Your browser remembers the ID for next time.

Controlled Reveal (payer demo)
6 questions

Is a pseudonymised note still PHI?

Yes. The original values can be recovered with the key, so this is pseudonymisation, not de-identification (HIPAA, 45 CFR 164.514(c)). Store, share and protect pseudonymised notes as PHI.

What is the difference between tokens and pseudonyms?

A token names the type and a number, like [[NAME_1]]. A pseudonym (surrogate) is a realistic fake value, like a made-up name or phone number. Both can be reversed by an allowed reveal. The same member gets the same pseudonym in every document.

Where are the real values kept?

In the mapping blob: an encrypted package returned with the pseudonymised text. Only the deployment’s key opens it. In the demo it lives only in the page’s memory.

Who can reveal, and why was I denied?

A policy decides by role and purpose; the first matching rule wins and no match means no. In the demo, Care manager sees masked values (initials, the last 4 digits, the year only), Supervisor must step up first, Auditor sees full values for purpose "audit", and Guest has no rule, so is denied. A rule must also cover every identifier type in the note; if it does not, the request is denied.

What is step-up?

An extra sign-in check, usually MFA (multi-factor authentication), right before a sensitive action. In the demo the "MFA required" box stands in for it: click "Complete MFA and retry". In production, MFA will come from your identity provider through verified OIDC sign-in; that is not built yet.

Where is the audit log?

On the server. Every reveal attempt, allowed or not, writes one audit line: who asked, when, the rule, the effect and counts by type. Reveal audit lines carry no revealed values, no text, no justification and no mapping blob; case IDs are hashed; purpose and stage appear only when the policy names them. The "Audit trail" card on the demo page shows only this browser session’s attempts.

Batch & Export
3 questions

How many files can I process at once?

Use the Batch or Folder upload tab to queue many files under one shared mode and PHI-type configuration; they process in parallel. On the Process step a progress bar and per-file status let you Pause, Resume, or Cancel, and a "Retry N failed" button re-runs only the files that failed.

How do I navigate batch results?

When more than one file is processed, the Results step shows a row of file tabs. Click any tab to switch documents; the stat tiles, the PHI inspector, and all six views follow your selection.

What export formats are available?

Four: .txt (plain de-identified text), .doc (Word), PDF (print-ready), and a JSON report (a full audit trail of every span with type, position, and confidence). Exports use opaque <hash>.<mode>.<ext> filenames so the same source in different modes shares a hash prefix; only the JSON report carries the original filename.

Troubleshooting
3 questions

Why are my results showing no changes?

Either no PHI was detected in the text, or the backend could not reach the NER endpoint. The Process step translates known backend errors into a plain-English headline and fix (for example "Delphi-OM is not configured" → set DELPHI_NER_ENDPOINT and DELPHI_NER_TOKEN, or "Cannot reach the API" → confirm the backend URL).

The first request is slow — is that normal?

Yes. The inference endpoint scales to zero when idle, so the first request after a quiet period can take ~30–60s to warm up; subsequent requests are fast. Very large documents also take proportionally longer. If a file times out on a cold start, use "Retry failed".

I’m getting upload errors — how do I fix this?

Make sure the file is a supported format (PDF, DOCX, or TXT) and within the size limit. The wizard validates files as they are added; if a file is rejected, check its type and try re-adding it, or use the sample note to confirm the rest of the flow works.

Still have questions?

Can't find the answer you're looking for? Check our How-To Guide or contact our support team.