deidentifying-multilingual-text

De-identify non-English clinical text by detecting and replacing personally identifiable information on-device.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes personally identifiable information from non-English clinical text while keeping sensitive data on the device and preserving language-appropriate formatting.

Core Features & Use Cases

  • Multilingual PII detection: Identify sensitive information in Spanish, German, French, Italian, Portuguese, Dutch, Hindi, Telugu, Arabic, Japanese, Turkish, and other supported languages.
  • Locale-aware replacement: Generate realistic surrogate names, dates, phone numbers, and national identifiers for the source language and regional locale.
  • Language-specific validation: Detect structured identifiers such as DNI, NIR, Steuer-ID, codice fiscale, BSN, CPF, TCKN, and Aadhaar using language-aware patterns and validators.
  • Use Case: De-identify a German medical note with a German PII model, validate and replace a Steuer-ID, and generate consistent German-looking surrogates without sending the note to a cloud service.

Quick Start

Use the OpenMed de-identification skill with the appropriate language code and locale to replace personally identifiable information in the provided multilingual clinical note with consistent, native-looking surrogates.

Frequently Asked Questions about deidentifying-multilingual-text

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

FAQPage Schema
How do I de-identify multilingual clinical text without sending data to the cloud?

You can de-identify multilingual clinical text by detecting and replacing personally identifiable information on-device. This process preserves privacy by using language-specific PII models and locale-aware surrogates without any external data transmission.

What national identifiers can be validated during non-English medical text de-identification?

De-identification validates structured national identifiers like DNI, NIR, Steuer-ID, codice fiscale, BSN, CPF, TCKN, and Aadhaar. It uses language-aware patterns and validators to detect and replace these identifiers with locale-appropriate surrogates.

Can I generate realistic replacement names and dates for specific regional locales?

Yes, you can generate locale-aware replacement data for specific regional locales. The process creates realistic surrogate names, dates, phone numbers, and national identifiers that match the source language's formatting and regional characteristics.

Does on-device PII detection support languages like German, Spanish, and Japanese?

On-device PII detection supports multiple languages including German, Spanish, French, Italian, Portuguese, Dutch, Hindi, Telugu, Arabic, Japanese, and Turkish. It applies language-specific models to accurately identify sensitive information in clinical text.

What is the best way to handle accent normalization when de-identifying medical notes?

The best way to handle accent normalization is through the de-identification process itself, which applies accent normalization alongside language-specific PII detection. This ensures consistent text processing while replacing sensitive information with native-looking surrogates.

Do I need to specify a language code to de-identify clinical text?

Yes, you need to select a supported language and optionally a regional locale to de-identify clinical text. This requirement ensures the system applies the correct language-specific PII models, national identifier validation, and locale-aware surrogate generation.