मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी5.8k · #14686

configuring-privacy-policies

यह क्या करती है

यह स्किल क्लिनिकल टेक्स्ट के डी-आइडेंटिफ़िकेशन में इस्तेमाल होने वाली प्राइवेसी प्रोफ़ाइल चुनने और उसे अनुकूलित करने में मदद करती है, जैसे HIPAA Safe Harbor, GDPR प्सूडोनिमाइज़ेशन या रिसर्च डेटासेट। यह उन टीमों के लिए है जिन्हें अपने नियामक संदर्भ के हिसाब से सही स्तर की सुरक्षा चाहिए।

कब इस्तेमाल करें

  • ✓जब आपको HIPAA Safe Harbor, GDPR, PIPEDA या रिसर्च डेटासेट के लिए प्राइवेसी प्रोफ़ाइल चुननी हो।
  • ✓जब रिसर्च कार्य में तारीखें और स्थान रखने हों और प्रत्यक्ष पहचानकर्ता हटाने हों।
  • ✓जब आपको कस्टम सरोगेट फ़ॉर्मैट चाहिए, जैसे अपना रिकॉर्ड नंबर पैटर्न।

Skill का लिंक

https://github.com/maziyarpanahi/openmed/blob/master/skills/configuring-privacy-policies/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/maziyarpanahi/openmed/blob/master/skills/configuring-privacy-policies/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“रिसर्च डेटासेट के लिए कौन-सी डी-आइडेंटिफ़िकेशन प्रोफ़ाइल इस्तेमाल करूँ, जिसमें अब भी तारीखें और ZIP कोड चाहिए?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपके नियामक संदर्भ को सात बंडल्ड प्रोफ़ाइल में से एक से मिलाता है, बताता है कि वह क्या बदलती है, और ज़रूरत हो तो रिसर्च या कस्टम फ़ॉर्मैट के लिए सेटिंग्स समायोजित करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Configuring privacy policies

A policy profile is a named bundle of de-identification decisions: which action (mask/redact/replace/keep) applies to each label, how aggressively detectors arbitrate, whether the mandatory safety sweep runs, and whether a reversible mapping is produced. OpenMed ships seven profiles. Pass one by name to deidentify(policy=...) and you get a compliance-aligned default without hand-wiring 50+ per-label actions. Everything runs on-device.

When to use this skill

Use it to pick the right policy= for a regulatory context, to understand what a profile actually changes, or to go beyond the bundle — keeping quasi- identifiers for research, or registering a custom surrogate generator (e.g. your own MRN format).

Quick start

import openmed

note = "Jane Roe, DOB 1979-04-11, lives in Cambridge MA 02139. SSN 123-45-6789."

# HIPAA Safe Harbor: mask every identifier class.
safe = openmed.deidentify(note, policy="hipaa_safe_harbor")

# GDPR pseudonymization: replace with fakes AND keep a reversible mapping.
gdpr = openmed.deidentify(note, policy="gdpr_pseudonymization")
mapping = gdpr.mapping          # present because the profile sets keep_mapping=True

# Research limited dataset: mask direct identifiers, KEEP quasi-identifiers
# (dates, age, ZIP, geography) so the data stays analytically useful.
lds = openmed.deidentify(note, policy="research_limited_dataset")

The seven bundled profiles

Each profile lives in openmed/core/policies/<name>.json. Summary of what each actually configures:

Profile Default action Quasi-identifiers Mapping Safety sweep Use case
hipaa_safe_harbor mask all masked none mandatory HIPAA §164.514(b)(2) Safe Harbor — strip all 18 identifier classes
hipaa_expert_review_assist redact redacted; clinical concepts kept none optional Assist Expert Determination (§164.514(b)(1)); keeps microbiology/clinical terms for a statistician to assess residual risk
gdpr_pseudonymization replace replaced; clinical kept kept + reversible mandatory GDPR Art. 4(5) pseudonymization — reversible under controlled key
canada_pipeda replace (IDs masked) replaced kept + reversible mandatory PIPEDA-aligned; like GDPR but masks ID_NUM/SSN outright
research_limited_dataset mask direct ids keeps dates, age, ZIP, geography, org, job none mandatory HIPAA Limited Data Set (§164.514(e)) — usable for research with a DUA
clinical_minimal_redaction mask direct ids keeps quasi-identifiers none optional Internal clinical use where readability matters; lighter cascade
strict_no_leak mask everything masked; even clinical concepts masked none mandatory Maximum-recall, union arbitration, all cascade tiers — zero-leakage posture

Key dimensions to reason about:

  • default_action — mask ([NAME]), redact, replace (fake value), or keep. Set per label in the profile's actions map.
  • policy_label_actions — coarse action by class: DIRECT_IDENTIFIER / QUASI_IDENTIFIER / CLINICAL_CONCEPT. Research and minimal-redaction profiles keep quasi-identifiers; strict-no-leak masks even clinical concepts.
  • keep_mapping / reversible_id — only GDPR and PIPEDA produce a reversible mapping. Treat that mapping as PHI.
  • safety_sweep_mandatory — deterministic structured-ID sweep (SSN, MRN- like, emails) that runs regardless of model confidence. Off only for the two "minimal/assist" profiles.
  • arbitration_mode / forced_cascade_tiers — strict_no_leak uses high_recall_union across tiers R0–R3 (most aggressive); minimal redaction uses only R0–R1.

Choosing: map regulation → profile

  • Publish or share data with no DUA, US → hipaa_safe_harbor.
  • Statistician will certify low risk (keep clinical signal) → hipaa_expert_review_assist, then human Expert Determination.
  • EU subjects, need reversibility under a key → gdpr_pseudonymization.
  • Canadian subjects → canada_pipeda.
  • Research cohort needing dates/age/geography → research_limited_dataset (requires a Data Use Agreement).
  • Internal clinical workflow, readability first → clinical_minimal_redaction.
  • Adversarial / zero-tolerance leakage → strict_no_leak.

Customizing beyond the bundle

When a profile is close but not

अक्सर पूछे जाने वाले सवाल

कितनी प्रोफ़ाइल हैं?

OpenMed में सात बंडल्ड प्राइवेसी प्रोफ़ाइल हैं, और हर एक डी-आइडेंटिफ़िकेशन फ़ैसलों का एक नामित सेट है।

क्या टेक्स्ट मेरे कंप्यूटर से बाहर जाता है?

नहीं। प्रोफ़ाइल डिवाइस पर चलती हैं, इसलिए टेक्स्ट वहीं रहता है।

क्या मैं अपना जनरेटर बना सकता हूँ?

हाँ। स्किल कस्टम सरोगेट जनरेटर रजिस्टर करना कवर करती है, जैसे MRN फ़ॉर्मैट के लिए।

जानकारी

लेखक का मूल विवरण

Select and customize OpenMed's seven bundled privacy policy profiles for de-identification, and build custom surrogate generators. Use when the user asks which policy fits HIPAA Safe Harbor vs Expert Determination vs GDPR vs PIPEDA vs a research limited dataset vs strict no-leak, wants to pass policy= to deidentify(), needs to keep quasi-identifiers for research, or must register a custom MRN/name/address surrogate provider. Covers the profile-to-use-case map, AnonymizerConfig/Anonymizer for fine control, and register_clinical_provider / register_label_generator. Pairs with OpenMed deidentifyi

repo: maziyarpanahi/openmed

लोकप्रियता

GitHub स्टार
5.8k
रैंकिंग में स्थान
#14686
लाइसेंस
Apache-2.0
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

annotating-variants

5.8k

आपके एजेंट को मुफ़्त सार्वजनिक एनोटेटर से जेनेटिक वेरिएंट का असर बताने, HGVS नामों को जीनोम पोज़िशन में बदलने और जनसंख्या आवृत्ति जोड़ने में मदद करती है।

डेटाएनालिसिस और स्प्रेडशीट

ask-openmed

5.8k

आपके एजेंट को क्लिनिकल टेक्स्ट अनुरोध के लिए सही OpenMed वर्कफ़्लो चुनने में मदद करती है, जहाँ मरीज़ का डेटा हो सकता है वहाँ पहले गोपनीयता जाँच से शुरू करके।

अन्यविविध

assembling-fhir-bundles

5.8k

कई FHIR स्वास्थ्य रिकॉर्ड को एक ट्रांज़ैक्शन Bundle में पैक करती है, जो EHR को भेजने के लिए तैयार हो और आंतरिक संदर्भ सही जुड़े हों।

डेटाडेटाबेस

auditing-deid-leakage

5.8k

डी-आइडेंटिफ़ाइड क्लिनिकल टेक्स्ट में बचे पहचानकर्ता जैसे SSN, कार्ड नंबर, ईमेल और तारीखें खोजती है, और कुछ बचा हो तो रिलीज़ रोक देती है।

कोडिंगसिक्योरिटी

मिलती-जुलती skills