comparison 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
comparison
equal deleted inserted replaced
5035:67d98fccc850 5036:877bc3b96476
108 // DO NOT delete the returned value! 108 // DO NOT delete the returned value!
109 const DicomValue* TestAndGetValue(const DicomTag& tag) const; 109 const DicomValue* TestAndGetValue(const DicomTag& tag) const;
110 110
111 void Remove(const DicomTag& tag); 111 void Remove(const DicomTag& tag);
112 112
113 void RemoveTags(const std::set<DicomTag>& tags);
114
113 void ExtractPatientInformation(DicomMap& result) const; 115 void ExtractPatientInformation(DicomMap& result) const;
114 116
115 void ExtractStudyInformation(DicomMap& result) const; 117 void ExtractStudyInformation(DicomMap& result) const;
116 118
117 void ExtractSeriesInformation(DicomMap& result) const; 119 void ExtractSeriesInformation(DicomMap& result) const;
144 static bool HasOnlyComputedTags(const std::set<DicomTag>& tags); 146 static bool HasOnlyComputedTags(const std::set<DicomTag>& tags);
145 147
146 static bool HasComputedTags(const std::set<DicomTag>& tags, ResourceType level); 148 static bool HasComputedTags(const std::set<DicomTag>& tags, ResourceType level);
147 149
148 static bool HasComputedTags(const std::set<DicomTag>& tags); 150 static bool HasComputedTags(const std::set<DicomTag>& tags);
151
152 static void ExtractSequences(std::set<DicomTag>& sequences, const std::set<DicomTag>& tags);
149 153
150 static const std::set<DicomTag>& GetMainDicomTags(ResourceType level); 154 static const std::set<DicomTag>& GetMainDicomTags(ResourceType level);
151 155
152 // returns a string uniquely identifying the list of main dicom tags for a level 156 // returns a string uniquely identifying the list of main dicom tags for a level
153 static const std::string& GetMainDicomTagsSignature(ResourceType level); 157 static const std::string& GetMainDicomTagsSignature(ResourceType level);