Closed finnlennartsson closed 1 year ago
Should anonymize these TAGs
PatientName
PatientBirthDate
PatientID
Have implemented this in the workflow in shell/bids_dicomdir2sourcedata.sh
This calls the Python-script python/anonymize_dicoms.py
which performs the anynomization.
This scripts is run from the folder which contains all the DCMs to be anonymized. Anonymized files are written locally and added the prefix ANONYMIZED_
Can be done within or after https://github.com/finnlennartsson/kpum_noddi/blob/fcb31888c15ebe662da77da914419c8e4464b464/scripts/bids_dicomdir2sourcedata.sh#L63