finds.dev← search

// the find

microsoft/Tools-for-Health-Data-Anonymization

★ 303 · C# · MIT · updated Sep 2025

Set of tools for helping with data (in FHIR format) anonymization.

A Microsoft-maintained C# toolkit for anonymizing healthcare data in FHIR (R4/STU3) and DICOM formats, targeting HIPAA Safe Harbor compliance. It ships as both a CLI tool and an Azure Data Factory pipeline activity, so you can run it locally or wire it into a cloud ETL. The target audience is health IT teams who need to strip PHI before sharing data with researchers or analytics systems.

The anonymization method set is genuinely useful: date shifting (with consistent offsets per patient so temporal relationships survive), crypto-hashing (pseudonymization that lets you re-link if needed), AES encryption, perturbation for numeric values, and hard redaction — not just a single 'delete everything' mode. The config-driven rule engine targeting FHIR paths and DICOM tags means you can be surgical about what you touch without writing code. The Azure Data Factory integration with Blob Storage pipelines is a real operational win for teams already in that stack. Test coverage is solid — unit tests per processor and functional tests with real FHIR sample files.

303 stars for a 5-year-old Microsoft repo is a signal that adoption is thin, which makes the community troubleshooting surface small. FHIR R4 and STU3 are supported but R5 (released 2023) is absent, and there's no sign it's coming — healthcare orgs moving to R5 are on their own. The date-shift approach uses a fixed offset per patient derived from a secret key, which is correct, but the documentation on choosing and protecting that key is thin enough that you could easily misconfigure it and think you're pseudonymized when you're not. No streaming support for the CLI: if you need to process tens of millions of FHIR resources, you're loading them in batches yourself.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →