By · Last updated 2026-04-30

العودة إلى المدونةالرعاية الصحية

اكتشاف أرقام السجلات الطبية دون كتابة كود للامتثال لـ HIPAA

أرقام السجلات الطبية (MRN) خاصة بكل مستشفى — كل نظام رعاية صحية يستخدم صيغة مختلفة. يستوجب معيار HIPAA Safe Harbor إزالة أرقام السجلات الطبية.

April 30, 20268 دقيقة قراءة
custom MRN detectionHIPAA pipeline configurationno-code regexAI pattern helperhospital identifier de-identification

مشكلة تنوع صيغ أرقام السجلات الطبية

يوجد في الولايات المتحدة نحو 6,100 مستشفى. كل منها يُشغّل نظام سجلات صحية إلكترونية (EHR) خاصًا به. ويستخدم كل مستشفى صيغته الخاصة لرقم السجل الطبي (MRN). لا يوجد معيار وطني موحّد. تشترط اللجنة المشتركة (The Joint Commission) قدرة المستشفيات على التعرف على المرضى — دون أن تُحدد صيغة بعينها.

تتباين الصيغ تباينًا كبيرًا. بعضها أعداد صحيحة من 7 أرقام، وأخرى من 8 أرقام. وتستخدم بعضها بادئات مثل HOSP- أو MRN- أو PT-. وتُضيف أخرى رموز مؤسسات مثل SVHS- أو CHOP-. وبعضها يُدرج سنة التسجيل ضمن الرقم.

تُدرج قائمة HIPAA Safe Harbor أرقام السجلات الطبية بوصفها المعرّف الثامن من أصل 18 (45 CFR §164.514(b)(2)). يجب إزالة جميع الـ 18 معرّفًا. لا تقتصر القاعدة على صيغة واحدة. إن كان مستشفاك يستخدم صيغة مخصصة، فيجب اكتشافها. الأداة التي تُخفق في ذلك لا تستوفي معيار Safe Harbor — حتى لو أزالت الـ 17 نوعًا الأخرى.

لماذا تفشل الطريقة البرمجية

الطريقة المعتادة لإضافة صيغة سجل طبي مخصصة إلى خط أنابيب إخفاء الهوية هي تمديد Microsoft Presidio، مما يعني كتابة كود Python.

يُنشئ المطوّر فئة ترث من EntityRecognizer، ويكتب التعبير النمطي، ويربطه بسجل Presidio، ثم يختبره ويُصادق عليه. بالنسبة لفرق الامتثال التي نادرًا ما تكتب كودًا، هذا عائق حقيقي. كل تغيير في الصيغة يستلزم مهندسًا.

مهندسو الرعاية الصحية مشغولون في تكامل السجلات الإلكترونية والأنظمة السريرية. ونادرًا ما تكون أدوات الامتثال أولويتهم القصوى.

سير عمل النمط بدون كود

يُلغي نهج النمط الموجّه خطوة الكتابة البرمجية.

يفتح مسؤول الامتثال منشئ الكيانات المخصصة في تطبيق الويب. يلصق خمسة أرقام نموذجية من نظامه — على سبيل المثال:

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

ينقر على توليد النمط. يقرأ الذكاء الاصطناعي الهيكل ويُعيد:

  • النمط: SVHS-\d{7}
  • الثقة: عالية
  • الاسم المقترح: HOSPITAL-MRN
  • الاستبدال المقترح: [MRN]

يلصق المسؤول خمسة نماذج إضافية. يجتاز النمط الاختبار. يُحفظ في إعداد HIPAA المحدد مسبقًا.

منذ تلك اللحظة، يكتشف كل جلسة — سواء في تطبيق الويب أو الإضافة للمكتب أو تطبيق سطح المكتب أو واجهة API — هذه الصيغة ضمن المسح الاعتيادي للبيانات الصحية المحمية. لا حاجة لكتابة كود.

ملاحظة حول GDPR والبحث العلمي

تُوجب المادة 89 من GDPR إخفاء الهوية لمجموعات البيانات البحثية. تُدخل الكيانات المخصصة المعرّفات الخاصة بكل مؤسسة في نطاق التغطية — وتُغلق الفجوة التي تتركها الأدوات الاعتيادية.

ما ستحصل عليه

يستغرق هذا سير العمل يومًا واحدًا. أما الكود المخصص فيستغرق أسابيع.

يُعرّف مسؤول الامتثال النمط ويختبره ونشره. لا تذكرة. لا انتظار. يحمل الإعداد المحدد مسبقًا الكيان المخصص إلى جانب الـ 17 معرّف Safe Harbor القياسي.

عند تشغيل الدفعة التالية من الملاحظات السريرية، تكون جميع الـ 18 نوعًا من المعرّفات مشمولة بالتغطية. ويكتمل معيار Safe Harbor.

اطلع على إخفاء هوية HIPAA Safe Harbor لأبحاث الرعاية الصحية لمعرفة آلية عمل Safe Harbor عمليًا. وللاطلاع على أنماط الاكتشاف الخاصة بكل مستشفى، راجع اكتشاف صيغ MRN الخاصة بالمستشفيات دون تدخل هندسي.

المصادر

هل أنت مستعد لحماية بياناتك؟

ابدأ بإخفاء المعلومات الشخصية مع أكثر من 285 نوع كيان عبر 48 لغة.

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.