diff OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 2313:d19e716b79fa issue-46-anonymization

switch to anonymization according to DICOM 2017c
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2017 22:07:07 +0200
parents 78dcb3ddea9f
children 53df86a17e99
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Wed Jul 12 16:44:33 2017 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Wed Jul 12 22:07:07 2017 +0200
@@ -186,9 +186,8 @@
     }
 
     // As of Orthanc 1.2.1, the default anonymization is done
-    // according to PS 3.15-2011 Table E.1-1
-    // TODO Switch to 2017c
-    DicomVersion version = DicomVersion_2011;
+    // according to PS 3.15-2017c Table E.1-1 (basic profile)
+    DicomVersion version = DicomVersion_2017c;
     if (request.isMember("DicomVersion"))
     {
       if (request["DicomVersion"].type() != Json::stringValue)