By · Last updated 2026-04-30

Zurück zum BlogGesundheitswesen

Benutzerdefinierte MRN-Erkennung ohne Code...

Medizinische Aktennummern sind krankenhaus-spezifisch – jedes Gesundheitssystem verwendet ein anderes Format.

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

Das MRN-Format-Problem

Die USA haben rund 6.100 Krankenhäuser. Jedes betreibt sein eigenes EHR-System. Jedes nutzt sein eigenes Format für Patientennummern (Medical Record Number). Es gibt keinen nationalen Standard. Die Joint Commission verlangt nur, dass Systeme Patienten eindeutig identifizieren können — nicht wie.

Die Formate variieren stark. Manche sind 7-stellige Zahlen. Andere sind 8-stellige Zahlen. Manche nutzen Präfix-Codes wie HOSP-, MRN- oder PT-. Andere fügen Institutionscodes wie SVHS- oder CHOP- hinzu. Manche betten das Aufnahmejahr in die Nummer ein.

HIPAA Safe Harbor listet Patientennummern als Identifikatortyp 8 von 18 auf. (45 CFR §164.514(b)(2)) Alle 18 müssen entfernt werden. Die Regel schränkt kein Format ein. Wenn Ihr Krankenhaus ein eigenes Format verwendet, muss es erkannt werden. Ein Tool, das es übersieht, erfüllt Safe Harbor nicht — auch wenn es alle anderen 17 Typen entfernt.

Warum der Code-Ansatz scheitert

Der übliche Weg, ein benutzerdefiniertes Nummernformat zu einer Anonymisierungspipeline hinzuzufügen, ist die Erweiterung von Microsoft Presidio. Das bedeutet Python-Code schreiben.

Ein Entwickler erstellt eine Klasse, die EntityRecognizer erweitert. Er schreibt das Regex, bindet es in Presidios Registry ein, testet es und pflegt es. Für Compliance-Teams — die selten programmieren — ist das eine harte Blockade. Jede Formatänderung braucht einen Entwickler.

Healthcare-Entwicklerteams sind ausgelastet. Sie betreuen EHR-Integration und klinische Systeme. Compliance-Tools haben selten Priorität.

Der No-Code-Workflow

Der geführte Musteransatz entfernt den Coding-Schritt.

Ein Compliance-Beauftragter öffnet den Custom Entity Creator in der Web-App. Er fügt fünf Beispielnummern aus seinem System ein — zum Beispiel:

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

Er klickt Muster generieren. Die KI liest die Struktur und gibt zurück:

  • Muster: SVHS-\d{7}
  • Konfidenz: hoch
  • Vorgeschlagener Name: HOSPITAL-MRN
  • Vorgeschlagener Ersatz: [MRN]

Der Beauftragte fügt fünf weitere Beispiele ein. Das Muster besteht. Er speichert es im HIPAA-Preset.

Von da an erkennt jede Sitzung — Web-App, Office-Add-in, Desktop-App und API — dieses Format im Standard-PHI-Durchlauf. Kein Code nötig.

DSGVO-Hinweis für Forschungsdaten

Art. 89 DSGVO fordert Pseudonymisierung für Forschungsdatensätze. Benutzerdefinierte Entitäten stellen sicher, dass institutionsspezifische Identifikatoren erfasst werden — und schließen die Lücke, die generische Tools für proprietäre Formate offen lassen.

Was Sie erhalten

Dieser Workflow dauert einen Nachmittag. Benutzerdefinierter Code braucht Wochen.

Der Compliance-Beauftragte definiert das Muster, testet es und setzt es ein. Kein Ticket. Kein Warten. Das Preset enthält die benutzerdefinierte Entität neben den standardmäßigen 17 Safe-Harbor-Identifikatoren.

Beim nächsten Stapellauf klinischer Notizen sind alle 18 Identifikatortypen abgedeckt. Safe Harbor ist erfüllt.

Siehe HIPAA Safe Harbor De-Identifikation für die Gesundheitsforschung. Zu krankenhausspezifischen Erkennungsmustern: krankenhausspezifische MRN-Formate ohne Programmierung.

Quellen

Bereit, Ihre Daten zu schützen?

Beginnen Sie mit der Anonymisierung von PII mit über 285 Entitätstypen in 48 Sprachen.

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.