diff OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 2311:78dcb3ddea9f issue-46-anonymization

implementation of clearings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2017 15:11:36 +0200
parents b7fba68747f6
children d19e716b79fa
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Wed Jul 12 14:00:00 2017 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Wed Jul 12 15:11:36 2017 +0200
@@ -185,7 +185,10 @@
       return false;
     }
 
-    DicomVersion version = DicomVersion_2008;  // TODO Switch to 2017c
+    // 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;
     if (request.isMember("DicomVersion"))
     {
       if (request["DicomVersion"].type() != Json::stringValue)