KitwareMedical / KitwareMedical/dicom-anonymizer

PatientName and PatientID not getting properly replaced

Open
#46 4 comments 0 reactions 1 assignee Claimed by @pchoisel View on GitHub
Dominant language
Python
Stars
144
Forks
58
Avg merge
1d 20h
Merged PRs (30d)
2

Description

I used the following JSON file:
{
"(0x0010, 0x0010)": {
"action": "regexp",
"find": ".*",
"replace": "ID001^ID002"
},
"(0x0010, 0x0020)": {
"action": "regexp",
"find": ".*",
"replace": "ID003"
},
}
In the anonymized DICOM files, the PatientID tag gets set to ID003ID003 (i.e. it is duplicated).
The PatientName tag is similarly duplicated and set to ID001^ID002ID001^ID002

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.