configuring-privacy-policies

Select and customize OpenMed de-identification policies for clinical text.

5.0k|615|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/maziyarpanahi/openmed --skill configuring-privacy-policies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configuring-privacy-policies
Source: https://github.com/maziyarpanahi/openmed/tree/main/skills/configuring-privacy-policies
Command: npx skills add https://github.com/maziyarpanahi/openmed --skill configuring-privacy-policies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you choose and customize OpenMed privacy policies so clinical text can be de-identified according to regulatory requirements, research needs, or strict no-leakage goals without sending data off-device.

Core Features & Use Cases

  • Policy Selection: Match seven bundled profiles to HIPAA Safe Harbor, Expert Determination assistance, GDPR pseudonymization, PIPEDA, research limited datasets, minimal redaction, or strict no-leakage workflows.
  • Fine-Grained Configuration: Customize per-label actions, quasi-identifier handling, safety sweeps, arbitration modes, reversible mappings, languages, locales, seeds, and consistency settings through Anonymizer and AnonymizerConfig.
  • Custom Surrogates: Register label-specific generators or custom clinical Faker providers for identifiers such as MRNs while supporting isolated per-run providers.
  • Use Case: Prepare a research cohort that masks direct identifiers but preserves dates, age, ZIP code, geography, and clinical concepts under an appropriate limited-dataset policy.

Quick Start

Ask the OpenMed skill to recommend a privacy policy for your regulatory context and provide the corresponding deidentify configuration.

Frequently Asked Questions about configuring-privacy-policies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure clinical text de-identification policies for HIPAA and GDPR compliance?

To configure clinical text de-identification for HIPAA and GDPR, you select and customize bundled OpenMed privacy profiles that align with Safe Harbor or pseudonymization requirements. This applies per-label actions, quasi-identifier controls, and AnonymizerConfig settings to ensure regulatory compliance.

Can I preserve dates and ZIP codes while masking direct identifiers in a research dataset?

Yes, you can preserve dates, age, ZIP codes, geography, and clinical concepts while masking direct identifiers. By applying a research limited-dataset policy, the configuration allows fine-grained quasi-identifier handling to maintain data utility for cohort analysis.

What is the best way to generate synthetic surrogates for clinical text without leaking PHI?

The best way to generate synthetic surrogates without leaking PHI is to use strict no-leakage privacy profiles. You can register label-specific custom clinical Faker providers and registered surrogate generators to replace identifiers with isolated, realistic synthetic values.

How do I set up reversible mappings for pseudonymized clinical data?

To set up reversible mappings for pseudonymized clinical data, you configure the Anonymizer with specific arbitration modes and consistency settings. This supports reversible transformations that allow re-identification when authorized, while maintaining GDPR-aligned pseudonymization.

Does this de-identification process work offline for internal clinical workflows?

Yes, the de-identification process works offline for internal clinical workflows. It selects and customizes OpenMed privacy policies directly on-device, ensuring clinical text is processed without sending data off-device, which is ideal for strict internal privacy requirements.

When should I use custom identifier providers instead of bundled de-identification profiles?

You should use custom identifier providers instead of bundled profiles when you need label-specific generators for identifiers like MRNs. This allows you to register isolated per-run clinical Faker providers, offering more specialized surrogate generation than standard HIPAA or PIPEDA profiles.