comparison OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.h @ 4935:acd3f72e2a21 more-tags

split ExpandResource in 2: read from DB and serialize to json. This will allow us to merge requested tags from both the DB and the file system
author Alain Mazy <am@osimis.io>
date Thu, 10 Mar 2022 19:00:43 +0100
parents 43e613a7756b
children 8422e4f99a18
comparison
equal deleted inserted replaced
4934:94a7b681b340 4935:acd3f72e2a21
173 173
174 static DicomTag ParseTag(const char* name); 174 static DicomTag ParseTag(const char* name);
175 175
176 static DicomTag ParseTag(const std::string& name); 176 static DicomTag ParseTag(const std::string& name);
177 177
178 // parses a list like "0010,0010;PatientBirthDate;0020,0020"
179 static void ParseListOfTags(std::set<DicomTag>& result, const std::string& source);
180
178 static bool HasTag(const DicomMap& fields, 181 static bool HasTag(const DicomMap& fields,
179 const std::string& tagName); 182 const std::string& tagName);
180 183
181 static const DicomValue& GetValue(const DicomMap& fields, 184 static const DicomValue& GetValue(const DicomMap& fields,
182 const std::string& tagName); 185 const std::string& tagName);