diff OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 2007:655489d9165d

DicomMap::ParseDicomMetaInformation()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 Jun 2016 15:46:33 +0200
parents 9b61701c35f2
children a0bd8cd55da7
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp	Thu Jun 09 14:48:40 2016 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp	Thu Jun 09 15:46:33 2016 +0200
@@ -97,7 +97,7 @@
     for (size_t i = 0; i < members.size(); i++)
     {
       DicomTag t = FromDcmtkBridge::ParseTag(members[i]);
-      result.SetValue(t, query[members[i]].asString());
+      result.SetValue(t, query[members[i]].asString(), false);
     }
 
     return true;
@@ -287,7 +287,7 @@
     std::string tmp;
     if (source.GetTagValue(tmp, tag))
     {
-      target.SetValue(tag, tmp);
+      target.SetValue(tag, tmp, false);
     }
   }