Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added opportunity to use DICOM tag values as prefix in @hashuid #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jvsoest
Copy link

@jvsoest jvsoest commented Apr 1, 2015

Dear John,

I've got a suggestion for the anonymizer in CTP. Maybe good to first explain our use case.
Based on the patient ID, we want to determine the root UID of a data set. Therefore, we've created an extra anonymizer which adds a private dicom tag using the @lookup function.
Afterwards, a second anonymizer will perform the regular anonymization, using the value of this private dicom tag to hash the UIDs (using @hashuid(PrivateUidTag, this)).

In this change, I've extended the functionality for the first input parameter (prefix) of @hashuid. Although it's not perfect, it worked in our situation. I'm sending this pull request as you might be interested to implement some similar functionality.

Kind regards,
Johan van Soest
MAASTRO Clinic, Maastricht, The Netherlands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant