diff OrthancServer/Sources/ServerContext.cpp @ 5040:1c08cd68250a

removed the 'name' of MainDicomTags to simplify code -> DicomMap::ParseMainDicomTags has been deprecated and one should use DicomMap::FromDicomAsJson on 'full' formatted tags
author Alain Mazy <am@osimis.io>
date Mon, 27 Jun 2022 12:39:51 +0200
parents 28db9663fc2d
children ec5c203a97ea
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp	Mon Jun 27 10:48:46 2022 +0200
+++ b/OrthancServer/Sources/ServerContext.cpp	Mon Jun 27 12:39:51 2022 +0200
@@ -2083,6 +2083,12 @@
     target[MAIN_DICOM_TAGS] = Json::objectValue;
     FromDcmtkBridge::ToJson(target[MAIN_DICOM_TAGS], mainDicomTags, format);
     
+    {// TODO add the sequences to the main dicom tags
+      // const std::set<DicomTag>& mainDicomTags = DicomMap::MainDicomTagsConfiguration::GetInstance().GetMainDicomTagsByLevel(resource.type_);
+      // mainDicomTags.
+      // resource.sequences_.ToJson(target[MAIN_DICOM_TAGS], format);
+    }
+
     if (resource.type_ == ResourceType_Study)
     {
       DicomMap patientMainDicomTags;