Generating Synthetic Surrogates

Replace detected PHI with realistic, type-matched fake values in OpenMed so clinical notes stay readable and parseable instead of full of [REDACTED] markers. Use when the user wants surrogate names, MRNs, addresses, or dates rather than opaque masks, needs consistent fake identities across a document, must keep notes natural for downstream NLP, or wants to register a custom surrogate generator or provider. Covers deidentify(method="replace", consistent=True, seed=..., locale=...), register_label_generator, register_clinical_provider, and Anonymizer/AnonymizerConfig. Pairs with OpenMed deidentifying-clinical-text and configuring-privacy-policies.

maziyarpanahi Updated

File contents

maziyarpanahi/openmed/tree/main/skills/generating-synthetic-surrogates commit 11cd5adb87

Frequently asked questions

npx skillmds@latest add maziyarpanahi/generating-synthetic-surrogates