comparison OrthancServer/ServerIndex.cpp @ 3030:25afa7b8cb51 db-changes

SQLiteDatabaseWrapper::ApplyLookupResources()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Dec 2018 11:18:39 +0100
parents ea653ec47f31
children 18a2d196414b
comparison
equal deleted inserted replaced
3029:ea653ec47f31 3030:25afa7b8cb51
2572 2572
2573 ResourceType tagLevel; 2573 ResourceType tagLevel;
2574 DicomTagType tagType; 2574 DicomTagType tagType;
2575 mainDicomTagsRegistry_->LookupTag(tagLevel, tagType, constraint.GetTag()); 2575 mainDicomTagsRegistry_->LookupTag(tagLevel, tagType, constraint.GetTag());
2576 2576
2577 if (IsResourceLevelAboveOrEqual(tagLevel, queryLevel) && 2577 if (//IsResourceLevelAboveOrEqual(tagLevel, queryLevel) &&
2578 (tagType == DicomTagType_Identifier || 2578 (tagType == DicomTagType_Identifier ||
2579 tagType == DicomTagType_Main)) 2579 tagType == DicomTagType_Main))
2580 { 2580 {
2581 // Use the fact that patient-level tags are copied at the study level 2581 // Use the fact that patient-level tags are copied at the study level
2582 if (queryLevel != ResourceType_Patient && 2582 if (queryLevel != ResourceType_Patient &&