# HG changeset patch # User amazy # Date 1500544927 -7200 # Node ID eaec5029ef01b6818e484fad8ddae257a960c858 # Parent 1d32a7f3d144e567f97883896c726f2e14ac4755 DicomVersion diff -r 1d32a7f3d144 -r eaec5029ef01 Sphinx/source/users/anonymization.rst --- a/Sphinx/source/users/anonymization.rst Thu Jul 20 09:13:22 2017 +0200 +++ b/Sphinx/source/users/anonymization.rst Thu Jul 20 12:02:07 2017 +0200 @@ -18,14 +18,14 @@ Orthanc allows to anonymize a single DICOM instance and to download the resulting anonymized DICOM file. Anonymization consists in erasing all the tags that are specified in Table E.1-1 from PS 3.15 of the -DICOM standard 2008. Example:: +DICOM standard 2008 or 2017c (default). Example:: $ curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{}' > Anonymized.dcm It is possible to control how anonymization is achieved by specifying a JSON body:: - $ curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{"Replace":{"PatientName":"hello","0010-0020":"world"},"Keep":["StudyDescription", "SeriesDescription"],"KeepPrivateTags": null}' > Anonymized.dcm + $ curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{"Replace":{"PatientName":"hello","0010-0020":"world"},"Keep":["StudyDescription", "SeriesDescription"],"KeepPrivateTags": null, "DicomVersion" : "2017c"}' > Anonymized.dcm Explanations: @@ -44,6 +44,10 @@ (i.e. manufacturer-specific tags) are also removed. This is the default behavior, as such tags can contain patient-specific information. +* ``DicomVersion`` specifies which version of the DICOM standard shall be used + for anonymization. Allowed values are ``2008`` and ``2017c`` (default value + if the parameter is absent). This parameter has been introduced in Orthanc + 1.3.0. In earlier version, the ``2008`` standard was used. Modification of a Single Instance