diff OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4055:9214e3a7b0a2 framework

moving FromDcmtkTests.cpp from OrthancServer to OrthancFramework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 12:52:09 +0200
parents 05b8fd21089c
children d6362b2c4b61
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Thu Jun 11 12:24:38 2020 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Thu Jun 11 12:52:09 2020 +0200
@@ -74,7 +74,7 @@
     if (mode != DicomToJsonFormat_Full)
     {
       Json::Value simplified;
-      ServerToolbox::SimplifyTags(simplified, dicom, mode);
+      Toolbox::SimplifyDicomAsJson(simplified, dicom, mode);
       call.GetOutput().AnswerJson(simplified);
     }
     else
@@ -1905,7 +1905,7 @@
       if (format != DicomToJsonFormat_Full)
       {
         Json::Value simplified;
-        ServerToolbox::SimplifyTags(simplified, full, format);
+        Toolbox::SimplifyDicomAsJson(simplified, full, format);
         result[*it] = simplified;
       }
       else