Mercurial > hg > orthanc
diff Resources/Samples/Python/AnonymizeAllPatients.py @ 353:61e4c62b8c35
samples of anonymization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 Jan 2013 16:58:07 +0100 |
parents | cc9eddbf07d3 |
children | 44382c8bcd15 |
line wrap: on
line diff
--- a/Resources/Samples/Python/AnonymizeAllPatients.py Mon Jan 28 16:43:49 2013 +0100 +++ b/Resources/Samples/Python/AnonymizeAllPatients.py Mon Jan 28 16:58:07 2013 +0100 @@ -22,4 +22,6 @@ if not name.startswith('anonymized'): # Trigger the anonymization - RestToolbox.DoPost('%s/patients/%s/anonymize' % (URL, patient)) + RestToolbox.DoPost('%s/patients/%s/anonymize' % (URL, patient), + { 'Keep' : [ 'SeriesDescription', + 'StudyDescription' ] })