FastPII Docs
GDPR

GDPR Article 9 Detection

Handle rodné číslo findings that may reveal special category data under GDPR Article 9.

GDPR Article 9 Detection

In Czech data processing, rodné číslo can reveal biological sex. That matters because it can move a record closer to GDPR Article 9 risk, especially in healthcare, employment, education, or other sensitive contexts.

Why rodné číslo matters

Rodné číslo is not just an identifier. In some workflows, it can also expose information that has heightened regulatory sensitivity. That means detection should trigger more than simple masking.

Metadata-driven review

from fastpii import PrivacyGuard

guard = PrivacyGuard(regions=["cz"])
result = guard.detect("Rodné číslo: 850101/1234")

for finding in result.findings:
    metadata = finding.metadata
    if metadata and metadata.get("article_9"):
        print("Route this record to compliance review")

If your application surfaces extracted metadata, metadata.article_9 is the flag to watch for when building stricter workflows.

Gender extraction in compliance workflows

If your compliance process derives gender-related sensitivity from a rodné číslo finding, treat that as a high-control path:

  1. Detect the identifier.
  2. Mark the record for restricted handling.
  3. Redact before external processing.
  4. Limit access to the original source document.
from fastpii import PrivacyGuard

guard = PrivacyGuard(regions=["cz"])


def sanitize_sensitive_record(text: str) -> str:
    return guard.redact(text)

Practical compliance workflow

  • Run detect() during ingestion.
  • Check for Article 9-related metadata.
  • Escalate flagged records to legal or privacy review.
  • Use redact() or remove() before analytics, AI, or sharing.

Regulatory note

For Czech organizations, align your internal interpretation and control design with guidance from ÚOOÚ and your legal counsel.

On this page