diff OrthancServer/FromDcmtkBridge.cpp @ 1360:0649c5aef34a

DicomFindQuery
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 May 2015 15:34:32 +0200
parents 1c8dfedefefe
children b22ba8c5edbe
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp	Fri May 15 13:17:37 2015 +0200
+++ b/OrthancServer/FromDcmtkBridge.cpp	Fri May 15 15:34:32 2015 +0200
@@ -721,4 +721,12 @@
       return false;
     }
   }
+
+
+  bool FromDcmtkBridge::IsPNValueRepresentation(const DicomTag& tag)
+  {
+    DcmTag t(tag.GetGroup(), tag.GetElement());
+    return t.getEVR() == EVR_PN;
+  }
+
 }