changeset 1853:b7d3d3b182cf

two patches for manufacturers Efilm and Vitrea
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Dec 2015 15:06:06 +0100
parents efbc3afd6cd3
children e2c3d752ee1a
files OrthancServer/OrthancFindRequestHandler.cpp
diffstat 1 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Tue Dec 01 14:59:14 2015 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Tue Dec 01 15:06:06 2015 +0100
@@ -94,6 +94,32 @@
                                                  const DicomTag& tag,
                                                  ModalityManufacturer manufacturer)
   {
+    switch (manufacturer)
+    {
+      case ModalityManufacturer_Efilm:
+        // Following Denis Nesterov's mail on 2015-11-30
+        if (tag == DicomTag(0x0008, 0x0000) ||  // "GenericGroupLength"
+            tag == DicomTag(0x0010, 0x0000) ||  // "GenericGroupLength"
+            tag == DicomTag(0x0020, 0x0000))    // "GenericGroupLength"
+        {
+          return false;
+        }
+
+        break;
+
+      case ModalityManufacturer_Vitrea:
+        // Following Denis Nesterov's mail on 2015-11-30
+        if (tag == DicomTag(0x5653, 0x0010))  // "PrivateCreator = Vital Images SW 3.4"
+        {
+          return false;
+        }
+
+        break;
+
+      default:
+        break;
+    }
+
     return true;
   }