diff OrthancServer/OrthancFindRequestHandler.cpp @ 1982:b5d4f9c156ad

Modification of instances can now replace PixelData
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Apr 2016 10:28:55 +0200
parents b1291df2f780
children 6301bbcbcaed
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Fri Apr 22 09:05:06 2016 +0200
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Fri Apr 22 10:28:55 2016 +0200
@@ -393,7 +393,7 @@
             content.append(item);
           }
 
-          dicom.Replace(*tag, content, false);
+          dicom.Replace(*tag, content, false, DicomReplaceMode_InsertIfAbsent);
         }
       }