diff OrthancServer/DicomInstanceToStore.cpp @ 2409:e4045b3c9772

ignore-length argument if retrieving DICOM tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Sep 2017 17:36:13 +0200
parents 7284093111b0
children 878b59270859
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.cpp	Mon Sep 25 14:50:13 2017 +0200
+++ b/OrthancServer/DicomInstanceToStore.cpp	Wed Sep 27 17:36:13 2017 +0200
@@ -112,8 +112,11 @@
     if (!json_.HasContent())
     {
       json_.Allocate();
+
+      std::set<DicomTag> ignoreTagLength;
       FromDcmtkBridge::ExtractDicomAsJson(json_.GetContent(), 
-                                          *parsed_.GetContent().GetDcmtkObject().getDataset());
+                                          *parsed_.GetContent().GetDcmtkObject().getDataset(),
+                                          ignoreTagLength);
     }
   }