By · Last updated 2026-04-30

Späť na blogZdravotná Starostlivosť

Detekcia vlastneho MRN bez kodu pre HIPAA

Cisla zdravotnych zaznamov su specificke pre nemocnice -- kazdy zdravotnicky system pouziva iny format. HIPAA Safe Harbor vyzaduje ich odstranenie.

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

Problem s formatom MRN

USA ma okolo 6 100 nemocnic. Kazda prevadzkuje vlastny system EHR. Kazda pouziva vlastny format cisla zdravotneho zaznamu (Medical Record Number). Ziadny narodny standard neexistuje. The Joint Commission vyzaduje, aby nemocnice dokazzali identifikovat pacientov -- ale neustanovuje ziadne pravidla formatu.

Formaty sa vyrazne lisia. Niektore su 7-miestne cele cisla. Ine su 8-miestne cele cisla. Niektore pouzivaju prefixne kody ako HOSP-, MRN- alebo PT-. Ine pridavaju institucionalne kody ako SVHS- alebo CHOP-. Niektore zahrnuju do cisla rok registracie.

HIPAA Safe Harbor uvadza cisla zaznamov pacientov ako identifikator typu 8 z 18. (45 CFR §164.514(b)(2)) Vsetkych 18 musi byt odstranenych. Pravidlo toto neobmedzuje na ziadny jeden format. Ak vasa nemocnica pouziva vlastny format, musiate ho detegovat. Nastroj, ktory ho presklbne, nespina Safe Harbor -- aj keby odstranil vsetkych 17 ostatnych typov.

Preco pristup pomocou kodu zlyha

Standardnym sposobom prida vlastny format cisla zaznamu do pipeline de-identifikacie je rozsirenie Microsoft Presidio. To znamena pisanie v Pythone.

Vyvojar vytvori triedu rozsirujucu EntityRecognizer. Napise regularny vyraz, zapoji ho do registra Presidio, otestuje ho a udrzuje ho. Pre compliance timy -- ktore zriedkavo koduju -- je to tazka prekazka. Kazda zmena formatu si vyzaduje inziniera.

Zdravotnicti inzinieri su zaneprazdneni. Zameriavaju sa na integraciu EHR a klinicke systemy. Nastroje na suhlas su zriedkakedy ich top prioritou.

Pracovny postup so vzormi bez kodu

Riadeny pristup vzoru odstranuje krok kodovania.

Osoba zodpovedna za suhlas otvorita Creator vlastnych entit vo webovej aplikacii. Vlozi pat vzorkovych cisel zo svojho systemu -- napriklad:

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

Klikne na Generovat vzor. AI precita strukturu a vrati:

  • Vzor: SVHS-\d{7}
  • Spolahlivos: vysoka
  • Navrhnuty nazov: HOSPITAL-MRN
  • Navrhnuty nahrada: [MRN]

Osoba vlozi dalsich pat vzoriek. Vzor prechodzi. Ulozi ho do HIPAA prednastavenia.

Od toho momentu kazda relaciia -- webova aplikacia, Office Add-in, Desktop App a API -- deteguje tento format v standardnom prechode PHI. Ziadny kod nie je potrebny.

Poznamka k vyskumu GDPR

GDPR Clanok 89 vyzaduje pseudonymizaciu pre vyskumne datasety. Vlastne entity stavaju institucionalne specificke identifikatory do rozsahu -- uzatvarajuci medzeru, ktoru genericke nastroje nechavaju otvorenu.

Co ziskate

Tento pracovny postup trva jedno popoludnie. Vlastny kod trva tydne.

Osoba zodpovedna za suhlas definuje vzor, otestuje ho a nasadi ho. Bez tiketu. Bez cakania. Prednastavenie drzi vlastnu entitu vedla standardnych 17 identifikatorov Safe Harbor.

Ked bezi dalsia davka klinickych poznamok, vsetkych 18 typov identifikatorov je pokrytych. Safe Harbor je kompletny.

Viac o fungovani Safe Harbor v praxi najdete v HIPAA Safe Harbor de-identifikacia pre zdravotnicke vyskumy. Pre vzory detekcie specificke pre nemocnice pozrite detekcia formatov MRN specificke pre nemocnice bez inzinierstva.

Zdroje

Pripravení chrániť vaše údaje?

Začnite anonymizovať PII s 285+ typmi entít v 48 jazykoch.

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.