comparison OrthancServer/ServerContext.cpp @ 1668:de1413733c97 db-changes

reconstructing main dicom tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2015 17:18:39 +0200
parents eb8fbcf008b5
children 4aaaecae5803
comparison
equal deleted inserted replaced
1667:9e875db36aef 1668:de1413733c97
187 187
188 DicomInstanceHasher hasher(dicom.GetSummary()); 188 DicomInstanceHasher hasher(dicom.GetSummary());
189 resultPublicId = hasher.HashInstance(); 189 resultPublicId = hasher.HashInstance();
190 190
191 Json::Value simplifiedTags; 191 Json::Value simplifiedTags;
192 SimplifyTags(simplifiedTags, dicom.GetJson()); 192 Toolbox::SimplifyTags(simplifiedTags, dicom.GetJson());
193 193
194 // Test if the instance must be filtered out 194 // Test if the instance must be filtered out
195 bool accepted = true; 195 bool accepted = true;
196 196
197 { 197 {
297 } 297 }
298 catch (OrthancException& e) 298 catch (OrthancException& e)
299 { 299 {
300 if (e.GetErrorCode() == ErrorCode_InexistentTag) 300 if (e.GetErrorCode() == ErrorCode_InexistentTag)
301 { 301 {
302 LogMissingRequiredTag(dicom.GetSummary()); 302 Toolbox::LogMissingRequiredTag(dicom.GetSummary());
303 } 303 }
304 304
305 throw; 305 throw;
306 } 306 }
307 } 307 }