diff OrthancServer/Sources/Search/DatabaseLookup.cpp @ 5120:a6fa660ec26e

/system: added MaximumStorageMode and MaximumStorageSize
author Alain Mazy <am@osimis.io>
date Fri, 16 Dec 2022 13:10:35 +0100
parents 01934fc29d43
children 6f41d47ef994
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DatabaseLookup.cpp	Wed Dec 14 11:50:43 2022 +0100
+++ b/OrthancServer/Sources/Search/DatabaseLookup.cpp	Fri Dec 16 13:10:35 2022 +0100
@@ -113,6 +113,14 @@
                                         (*element, DicomToJsonFlags_None, 
                                          0, encoding, hasCodeExtensions, ignoreTagLength));
 
+      if (tag.getGroup() == 64 && tag.getElement() == 2)
+      {
+        constraints_[i]->IsMatch(value->GetContent());
+      }
+      if (tag.getGroup() == 64 && tag.getElement() == 3)
+      {
+        constraints_[i]->IsMatch(value->GetContent());
+      }
       // WARNING: Also modify "HierarchicalMatcher::Setup()" if modifying this code
       if (value.get() == NULL ||
           value->IsNull())