diff OrthancServer/OrthancFindRequestHandler.cpp @ 2006:6301bbcbcaed

more generic support of value representations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 Jun 2016 14:48:40 +0200
parents b5d4f9c156ad
children 655489d9165d
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Wed Jun 08 12:36:21 2016 +0200
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Thu Jun 09 14:48:40 2016 +0200
@@ -610,7 +610,7 @@
 
       if (FilterQueryTag(value, level, tag, modality.GetManufacturer()))
       {
-        ValueRepresentation vr = FromDcmtkBridge::GetValueRepresentation(tag);
+        ValueRepresentation vr = FromDcmtkBridge::LookupValueRepresentation(tag);
 
         // DICOM specifies that searches must be case sensitive, except
         // for tags with a PN value representation