Skip to content

Commit

Permalink
feat: copy the RSNA anonymizer protocol
Browse files Browse the repository at this point in the history
Processing directives from the 2022-03-08 version of the
RSNA anonymizer software http://mirc.rsna.org/download/Anonymizer-installer.jar

The jar file was unzipped, the unzipped jar has a file
dicom-anonymizer.script with xml deidentification directives
all `@remove` and `@empty` commands were extracted from the file
using `grep`, and transformed into the corresponding REMOVE and
BLANK lines using `sed`.

Further, lines with @hashdate, @round, and @integer were extracted
these correspond to dates and uids. The tags were REMOVEd and a
ADD tag func: lookup was added for processing dates and UIDs.

@ALL directives correspond to key identifiers, those were REMOVEd
then ADDed as var: lookup.

The Anonymizer code is distributed under the RSNA public license
http://mirc.rsna.org/rsnapubliclicense.pdf which is I believe to be
compatible with the MIT license used in deid. So this derivative
work should satisfy the terms of that license to be included in
deid.
  • Loading branch information
cfhammill committed Apr 11, 2022
1 parent 2718b7e commit c2e831f
Showing 1 changed file with 3,270 additions and 0 deletions.
Loading

0 comments on commit c2e831f

Please sign in to comment.