Deidentifying Clinical Text

Remove, mask, or replace PHI/PII in clinical free text on-device with OpenMed's deidentify(). Use when the user needs to de-identify medical notes, strip patient identifiers, redact PHI before sharing or analysis, anonymize discharge summaries, or pick a de-id method (mask vs remove vs replace vs hash vs shift_dates). Covers confidence_threshold for safety, consistent+seed for stable surrogates, keep_mapping for reversible de-id, policy= profiles, and the DeidentificationResult fields. Pairs with OpenMed extract_pii (detect spans), reidentify (restore), configuring-privacy-policies, and auditing-deidentification-runs.

maziyarpanahi Updated

File contents

maziyarpanahi/openmed/tree/main/skills/deidentifying-clinical-text commit d0452eb4dd

Frequently asked questions

npx skillmds@latest add maziyarpanahi/deidentifying-clinical-text