diff OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 788:7ebe4bf87196

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 05 May 2014 18:39:36 +0200
parents ac18946afa74
children 381f90e2b69d
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Mon May 05 15:52:14 2014 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Mon May 05 18:39:36 2014 +0200
@@ -335,7 +335,7 @@
   {
     DicomModification modification;
 
-    // TODO : modification.SetLevel(DicomRootLevel_Series); ?????
+    // TODO : modification.SetLevel(ResourceType_Series); ?????
 
     if (ParseModifyRequest(modification, call))
     {
@@ -364,15 +364,15 @@
     switch (resourceType)
     {
       case ResourceType_Series:
-        modification.SetLevel(DicomRootLevel_Series);
+        modification.SetLevel(ResourceType_Series);
         break;
 
       case ResourceType_Study:
-        modification.SetLevel(DicomRootLevel_Study);
+        modification.SetLevel(ResourceType_Study);
         break;
 
       case ResourceType_Patient:
-        modification.SetLevel(DicomRootLevel_Patient);
+        modification.SetLevel(ResourceType_Patient);
         break;
 
       default: