diff OrthancServer/DicomInstanceToStore.cpp @ 2128:9329ba17a069

Possibility to DELETE "dicom-as-json" attachments to reconstruct them
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 15:13:16 +0100
parents 03b065778fc3
children bb199bccdc45
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.cpp	Mon Nov 07 13:59:36 2016 +0100
+++ b/OrthancServer/DicomInstanceToStore.cpp	Mon Nov 07 15:13:16 2016 +0100
@@ -112,10 +112,7 @@
     {
       json_.Allocate();
       FromDcmtkBridge::ExtractDicomAsJson(json_.GetContent(), 
-                                          *parsed_.GetContent().GetDcmtkObject().getDataset(),
-                                          DicomToJsonFormat_Full, 
-                                          DicomToJsonFlags_Default,
-                                          ORTHANC_MAXIMUM_TAG_LENGTH);
+                                          *parsed_.GetContent().GetDcmtkObject().getDataset());
     }
   }