anonym.legal

By · Last updated 2026-04-30

กลับไปที่บล็อกการดูแลสุขภาพ

ตรวจจับ MRN แบบกำหนดเองสำหรับ HIPAA โดยไม่ต้องเขียนโค้ด

หมายเลขเวชระเบียน (MRN) เป็นรูปแบบเฉพาะของแต่ละโรงพยาบาล — ทุกระบบสุขภาพใช้รูปแบบที่แตกต่างกัน HIPAA Safe Harbor กำหนดให้ต้องลบ MRN ออก

April 30, 20268 อ่านประมาณ
custom MRN detectionHIPAA pipeline configurationno-code regexAI pattern helperhospital identifier de-identification

ปัญหารูปแบบ MRN

สหรัฐฯ มีโรงพยาบาลประมาณ 6,100 แห่ง แต่ละแห่งใช้ระบบ EHR ของตัวเอง และแต่ละแห่งใช้รูปแบบหมายเลขเวชระเบียน (MRN) ของตัวเอง ไม่มีมาตรฐานระดับชาติ The Joint Commission กำหนดให้โรงพยาบาลสามารถระบุตัวตนผู้ป่วยได้ แต่ไม่ได้กำหนดกฎรูปแบบ

รูปแบบมีความหลากหลายมาก บางแห่งใช้จำนวนเต็ม 7 หลัก บางแห่งใช้ 8 หลัก บางแห่งใช้รหัสนำหน้าอย่าง HOSP-, MRN- หรือ PT- บางแห่งเพิ่มรหัสสถาบันอย่าง SVHS- หรือ CHOP- บางแห่งฝังปีการลงทะเบียนในหมายเลข

HIPAA Safe Harbor ระบุหมายเลขเวชระเบียนผู้ป่วยเป็นประเภทรหัสประจำตัว 8 จาก 18 ประเภท (45 CFR §164.514(b)(2)) ทั้ง 18 ประเภทต้องถูกลบออก กฎไม่ได้จำกัดเฉพาะรูปแบบใดรูปแบบหนึ่ง หากโรงพยาบาลของคุณใช้รูปแบบกำหนดเอง คุณต้องตรวจจับมัน เครื่องมือที่พลาดมันจะล้มเหลว Safe Harbor — แม้จะลบอีก 17 ประเภทที่เหลือได้ครบก็ตาม

ทำไมวิธีการใช้โค้ดจึงล้มเหลว

วิธีมาตรฐานในการเพิ่มรูปแบบหมายเลขเวชระเบียนกำหนดเองลงใน pipeline การระบุตัวตนคือการขยาย Microsoft Presidio ซึ่งหมายความว่าต้องเขียน Python

นักพัฒนาต้องสร้างคลาสที่ขยาย EntityRecognizer เขียน regex เชื่อมต่อกับ registry ของ Presidio ทดสอบ และดูแลรักษา สำหรับทีมปฏิบัติตาม — ซึ่งมักไม่ได้เขียนโค้ด — นี่คืออุปสรรคสำคัญ ทุกการเปลี่ยนแปลงรูปแบบต้องใช้วิศวกร

วิศวกรด้านสุขภาพมีงานยุ่ง พวกเขาเน้นที่การเชื่อมต่อ EHR และระบบคลินิก เครื่องมือการปฏิบัติตามมักไม่ใช่ลำดับความสำคัญสูงสุดของพวกเขา

กระบวนการสร้างรูปแบบโดยไม่ต้องเขียนโค้ด

แนวทางสร้างรูปแบบแบบนำทางช่วยขจัดขั้นตอนการเขียนโค้ด

เจ้าหน้าที่ปฏิบัติตามเปิด Custom Entity Creator ในแอปเว็บ พวกเขาวางตัวอย่างหมายเลข 5 ตัวอย่างจากระบบของตนเอง — เช่น:

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

พวกเขาคลิก Generate Pattern AI อ่านโครงสร้างและส่งคืน:

  • Pattern: SVHS-\d{7}
  • ความเชื่อมั่น: สูง
  • ชื่อที่แนะนำ: HOSPITAL-MRN
  • การแทนที่ที่แนะนำ: [MRN]

เจ้าหน้าที่วางตัวอย่างอีก 5 ตัวอย่าง รูปแบบผ่านการตรวจสอบ พวกเขาบันทึกลงใน HIPAA preset

จากนั้นทุกการเซสชัน — แอปเว็บ, Office Add-in, Desktop App และ API — จะตรวจจับรูปแบบนี้ในการตรวจสอบ PHI มาตรฐาน ไม่ต้องเขียนโค้ด

หมายเหตุการวิจัย GDPR

GDPR Article 89 กำหนดให้ใช้การทำ pseudonymization สำหรับชุดข้อมูลวิจัย รหัสประจำตัวแบบกำหนดเองนำรหัสเฉพาะสถาบันเข้าสู่ขอบเขต — ปิดช่องโหว่ที่เครื่องมือทั่วไปทิ้งไว้

สิ่งที่คุณได้รับ

gระบวนการทำงานนี้ใช้เวลาเพียงหนึ่งบ่าย โค้ดกำหนดเองใช้เวลาหลายสัปดาห์

เจ้าหน้าที่ปฏิบัติตามกำหนดรูปแบบ ทดสอบ และติดตั้ง ไม่ต้องส่ง ticket ไม่ต้องรอ Preset ถือรหัสประจำตัวกำหนดเองไว้ข้างๆ รหัส Safe Harbor มาตรฐาน 17 ประเภท

เมื่อชุดบันทึกคลินิกถัดไปถูกประมวลผล ประเภทรหัสประจำตัวทั้ง 18 ประเภทจะครบ Safe Harbor สมบูรณ์

ดู การระบุตัวตน HIPAA Safe Harbor สำหรับการวิจัยทางการแพทย์ สำหรับวิธีการทำงานของ Safe Harbor ในทางปฏิบัติ สำหรับรูปแบบการตรวจจับเฉพาะโรงพยาบาล ดู การตรวจจับรูปแบบ MRN เฉพาะโรงพยาบาลโดยไม่ต้องใช้วิศวกร

แหล่งข้อมูล

พร้อมที่จะปกป้องข้อมูลของคุณหรือยัง?

เริ่มทำให้ PII เป็นนิรนามด้วยประเภทเอนทิตีมากกว่า 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.