By · Last updated 2026-04-30

Bumalik sa BlogHealthcare

Custom MRN Detection Nang Walang Code para sa HIPAA

Ang mga Medical Record Number ay partikular sa ospital -- bawat healthcare system ay gumagamit ng iba't ibang format. Inaatasan ng HIPAA Safe Harbor ang pag-alis ng MRN.

April 30, 20268 min basahin
custom MRN detectionHIPAA pipeline configurationno-code regexAI pattern helperhospital identifier de-identification

Ang Problema sa Format ng MRN

Ang US ay may humigit-kumulang 6,100 ospital. Bawat isa ay nagpapatakbo ng sariling EHR system. Bawat isa ay gumagamit ng sariling format ng Medical Record Number. Walang national na pamantayan. Inaatasan ng Joint Commission ang mga ospital na makilala ang mga pasyente -- ngunit walang itinakdang mga patakaran sa format.

Malawak ang pagkakaiba ng mga format. May 7-digit na integer ang iba. May 8-digit na integer ang iba pa. May mga prefix code tulad ng HOSP-, MRN-, o PT- ang ilan. May mga institution code tulad ng SVHS- o CHOP- ang iba. May mga nag-embed ng taon ng enrollment sa numero.

Inililista ng HIPAA Safe Harbor ang mga patient record number bilang uri ng identifier na 8 sa 18. (45 CFR §164.514(b)(2)) Lahat ng 18 ay dapat alisin. Hindi nililimitahan ng patakaran ito sa anumang isang format. Kung gumagamit ang inyong ospital ng custom na format, kailangan ninyong tukuyin ito. Ang tool na nagpapalagpas nito ay nabigo sa Safe Harbor -- kahit na inalis nito ang lahat ng iba pang 17 uri.

Bakit Nabibigo ang Diskarte sa Code

Ang karaniwang paraan ng pagdaragdag ng custom na format ng record number sa de-identification pipeline ay ang pagpapahaba ng Microsoft Presidio. Nangangahulugan iyon ng pagsulat ng Python.

Lumilikha ang developer ng class na nagpapahaba ng EntityRecognizer. Sinusulat nila ang regex, ini-wire ito sa registry ng Presidio, sinusubukan ito, at pinapanatili ito. Para sa mga koponan ng pagsunod -- na bihirang mag-code -- ito ay isang mahirap na hadlang. Bawat pagbabago ng format ay nangangailangan ng isang inhinyero.

Abala ang mga healthcare engineer. Nakatuon sila sa EHR integration at clinical system. Bihirang maging pangunahing priyoridad ang compliance tooling para sa kanila.

Ang Workflow ng No-Code Pattern

Ang guided pattern approach ay nag-aalis ng hakbang sa coding.

Binubuksan ng compliance officer ang Custom Entity Creator sa web app. Ini-paste nila ang limang sample na numero mula sa kanilang sistema -- halimbawa:

SVHS-0012345
SVHS-0987654
SVHS-1122334
SVHS-4455667
SVHS-8899001

Ni-click nila ang Generate Pattern. Binabasa ng AI ang istraktura at ibinabalik:

  • Pattern: SVHS-\d{7}
  • Kumpiyansa: mataas
  • Mungkahing pangalan: HOSPITAL-MRN
  • Mungkahing kapalit: [MRN]

Nag-paste ang officer ng limang sample pa. Pumasa ang pattern. I-save nila ito sa HIPAA preset.

Mula sa puntong iyon, bawat session -- web app, Office Add-in, Desktop App, at API -- ay natutukoy ang format na ito sa standard na PHI pass. Hindi na kailangan ng code.

Tala sa GDPR Research

Ang GDPR Article 89 ay nangangailangan ng pseudonymization para sa mga research dataset. Inilalagay ng custom entity ang mga institution-specific identifier sa saklaw -- isinasara ang agwat na iniwan ng mga generic na tool.

Ano ang Makukuha Ninyo

Isang hapon lang ang kailangan ng workflow na ito. Ilang linggo ang kailangan ng custom na code.

Tinutukoy ng compliance officer ang pattern, sinusubukan ito, at ini-deploy ito. Walang tiket. Walang paghihintay. Hawak ng preset ang custom entity sa tabi ng standard na 17 Safe Harbor identifier.

Kapag tatakbo ang susunod na batch ng clinical notes, saklaw ang lahat ng 18 uri ng identifier. Kumpleto na ang Safe Harbor.

Tingnan ang HIPAA Safe Harbor de-identification para sa healthcare research para sa kung paano gumagana ang Safe Harbor sa praktis. Para sa mga pattern ng pagtukoy na partikular sa ospital, tingnan ang pagtukoy ng mga hospital-specific na format ng MRN nang walang engineering.

Mga Mapagkukunan

Handa nang protektahan ang iyong data?

Simulan ang anonymization ng PII gamit ang 285+ uri ng entidad sa 48 wika.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.