diff OrthancServer/Sources/ResourceFinder.cpp @ 5793:a8055aebc6cb find-refactoring

added standard MainDicomTags that are used in QIDO-RS
author Alain Mazy <am@orthanc.team>
date Wed, 18 Sep 2024 12:30:49 +0200
parents a3d283f61304
children 44eef6975662
line wrap: on
line diff
--- a/OrthancServer/Sources/ResourceFinder.cpp	Wed Sep 18 10:38:42 2024 +0200
+++ b/OrthancServer/Sources/ResourceFinder.cpp	Wed Sep 18 12:30:49 2024 +0200
@@ -1008,7 +1008,8 @@
         InjectRequestedTags(outRequestedTags, remainingRequestedTags, resource, ResourceType_Series);
         InjectRequestedTags(outRequestedTags, remainingRequestedTags, resource, ResourceType_Instance);
 
-        if (!remainingRequestedTags.empty())
+        if (!remainingRequestedTags.empty() && 
+            !DicomMap::HasOnlyComputedTags(remainingRequestedTags)) // if the only remaining tags are computed tags, it is worthless to read them from disk
         {
           if (!allowStorageAccess_)
           {