diff OrthancFramework/Sources/DicomFormat/DicomMap.h @ 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 304514ce84ee
children f8bea9c1c0fc
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomMap.h	Wed Jun 22 15:37:08 2022 +0200
+++ b/OrthancFramework/Sources/DicomFormat/DicomMap.h	Fri Jun 24 15:47:10 2022 +0200
@@ -110,6 +110,8 @@
 
     void Remove(const DicomTag& tag);
 
+    void RemoveTags(const std::set<DicomTag>& tags);
+
     void ExtractPatientInformation(DicomMap& result) const;
 
     void ExtractStudyInformation(DicomMap& result) const;
@@ -147,6 +149,8 @@
 
     static bool HasComputedTags(const std::set<DicomTag>& tags);
 
+    static void ExtractSequences(std::set<DicomTag>& sequences, const std::set<DicomTag>& tags);
+
     static const std::set<DicomTag>& GetMainDicomTags(ResourceType level);
 
     // returns a string uniquely identifying the list of main dicom tags for a level