diff OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 1859:4e7c318a3f69

C-FIND SCP will return tags with sequence value representation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Dec 2015 11:22:05 +0100
parents 559956d5ceb2
children c7d70f659190
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Tue Dec 01 16:57:03 2015 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp	Wed Dec 02 11:22:05 2015 +0100
@@ -209,7 +209,7 @@
       context.ReadJson(full, publicId);
 
       Json::Value simplified;
-      Toolbox::SimplifyTags(simplified, full);
+      Toolbox::SimplifyTags(simplified, full, DicomToJsonFormat_Simple);
       call.GetOutput().AnswerJson(simplified);
     }
     else
@@ -928,7 +928,7 @@
       if (simplify)
       {
         Json::Value simplified;
-        Toolbox::SimplifyTags(simplified, sharedTags);
+        Toolbox::SimplifyTags(simplified, sharedTags, DicomToJsonFormat_Simple);
         call.GetOutput().AnswerJson(simplified);
       }
       else
@@ -995,7 +995,7 @@
     if (simplify)
     {
       Json::Value simplified;
-      Toolbox::SimplifyTags(simplified, result);
+      Toolbox::SimplifyTags(simplified, result, DicomToJsonFormat_Simple);
       call.GetOutput().AnswerJson(simplified);
     }
     else
@@ -1201,7 +1201,7 @@
       if (simplify)
       {
         Json::Value simplified;
-        Toolbox::SimplifyTags(simplified, full);
+        Toolbox::SimplifyTags(simplified, full, DicomToJsonFormat_Simple);
         result[*it] = simplified;
       }
       else
@@ -1295,7 +1295,7 @@
     if (simplify)
     {
       Json::Value simplified;
-      Toolbox::SimplifyTags(simplified, header);
+      Toolbox::SimplifyTags(simplified, header, DicomToJsonFormat_Simple);
       call.GetOutput().AnswerJson(simplified);
     }
     else