diff OrthancServer/ServerEnumerations.h @ 2892:ce310baccda6 db-changes

DicomTagConstraint and DatabaseLookup
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Oct 2018 18:00:05 +0200
parents 5bdd19c85d9f
children 2e751f615e03
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Fri Oct 12 15:18:10 2018 +0200
+++ b/OrthancServer/ServerEnumerations.h	Tue Oct 16 18:00:05 2018 +0200
@@ -64,6 +64,22 @@
     IdentifierConstraintType_Wildcard        /* Case sensitive, "*" or "?" are the only allowed wildcards */
   };
 
+  enum DicomTagType
+  {
+    DicomTagType_Identifier,   // Tag that whose value is stored and indexed in the DB
+    DicomTagType_Main,         // Tag that is stored in the DB (but not indexed)
+    DicomTagType_Generic       // Tag that is only stored in the JSON files
+  };
+
+  enum ConstraintType
+  {
+    ConstraintType_Equal,
+    ConstraintType_SmallerOrEqual,
+    ConstraintType_GreaterOrEqual,
+    ConstraintType_Wildcard,
+    ConstraintType_List
+  };
+
 
   /**
    * WARNING: Do not change the explicit values in the enumerations