
- #Create my own dicomdir file with extra tags install
- #Create my own dicomdir file with extra tags full
If you want to keep this value, then you'll have to run : python anonymizer. Note: ActionName has to be defined in actions listĮxample 1: The default behavior of the patient's ID is to be replaced by an empty or null value. This will allow you to override default rules:Įxecutable: dicom - anonymizer InputFilePath OutputFilePath - t '(0x0001, 0x0001)' ActionName - t '(0x0001, 0x0005)' ActionName2 You can manually add new rules in order to have different behaviors with certain tags.

#Create my own dicomdir file with extra tags full
OutputPath = Full path to the anonymized DICOM image or to a folder.InputPath = Full path to a single DICOM image or to a folder which contains dicom files.

The way on how the DICOM fields are anonymized can also be overrided. This package allows to anonymize a selection of DICOM field (defined or overrided). In order to use it, please refer to the next section.
#Create my own dicomdir file with extra tags install
Installing this package will also install an executable named dicom-anonymizer. This command will generate a wheel package in dist folder which can be then installed as a python package using The sources files can be packaged by using: Else, replace with a zero length value, or a non-zero length value that may be a dummy value and consistent with the VR** If it's a UID, then all numbers are randomly replaced.

Same UID will have the same replaced value Replace all UID's number with a random one in order to keep consistent. Replace with a zero length value, or a non-zero length value that may be a dummy value and consistent with the VR** Replace with a non-zero length value that may be a dummy value and consistent with the VR** Each groups will be anonymized in a different way. The default behaviour of this package is to anonymize DICOM fields referenced in dicomfields.ĭicom fields are separated into different groups. More information about dicom fields for anonymization can be found here. The anonymization answer to the standard.
