NOTE: This repository is no longer updated. Please check out PHI handling in dicom-utils.
Check DICOM files for confidential information and optionally overwrite the files with anonymized copies.
First create a Python virtual environment and run all necessary setup with the following commad:
$ make init
Then run the tool with the help menu flag -h
to see detailed information for using the tool:
$ env/bin/python3 -m dicom_phi_check -h
If anonymization is enabled, fields defined in this script are anonymized with the exception of fields which are affected by additional rules located here.