diff OrthancServer/Sources/OrthancConfiguration.cpp @ 5036:877bc3b96476

Handle Dicom sequences in ExtraMainDicomTags and save them in the 'MainDicomSequences' metadata
author Alain Mazy <am@osimis.io>
date Fri, 24 Jun 2022 15:47:10 +0200
parents f377d5643538
children f2dcdbe05884
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp	Wed Jun 22 15:37:08 2022 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp	Fri Jun 24 15:47:10 2022 +0200
@@ -1126,9 +1126,9 @@
 
 
   void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target,
-                                                       DcmDataset& dicom)
+                                                       DcmDataset& dicom,
+                                                       const std::set<DicomTag>& ignoreTagLength)
   {
-    std::set<DicomTag> ignoreTagLength;
     FromDcmtkBridge::ExtractDicomAsJson(target, dicom, DicomToJsonFormat_Full, DicomToJsonFlags_Default, 
                                         ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength);    
   }