comparison OrthancServer/ServerContext.cpp @ 2894:a27b0e9a3fd9 db-changes

refactoring DicomInstanceToStore
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Oct 2018 10:35:09 +0200
parents ae8e72009e64
children e5e3253a1164
comparison
equal deleted inserted replaced
2893:1723cbba55c7 2894:a27b0e9a3fd9
314 { 314 {
315 try 315 try
316 { 316 {
317 StorageAccessor accessor(area_); 317 StorageAccessor accessor(area_);
318 318
319 DicomInstanceHasher hasher(dicom.GetSummary()); 319 {
320 resultPublicId = hasher.HashInstance(); 320 DicomInstanceHasher hasher(dicom.GetSummary());
321 resultPublicId = hasher.HashInstance();
322 }
321 323
322 Json::Value simplifiedTags; 324 Json::Value simplifiedTags;
323 ServerToolbox::SimplifyTags(simplifiedTags, dicom.GetJson(), DicomToJsonFormat_Human); 325 ServerToolbox::SimplifyTags(simplifiedTags, dicom.GetJson(), DicomToJsonFormat_Human);
324 326
325 // Test if the instance must be filtered out 327 // Test if the instance must be filtered out