comparison OrthancServer/DicomProtocol/DicomUserConnection.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 9e021b2b348b
children 655489d9165d
comparison
equal deleted inserted replaced
2005:9e021b2b348b 2006:6301bbcbcaed
494 std::set<DicomTag> tags; 494 std::set<DicomTag> tags;
495 fix->GetTags(tags); 495 fix->GetTags(tags);
496 496
497 for (std::set<DicomTag>::const_iterator it = tags.begin(); it != tags.end(); ++it) 497 for (std::set<DicomTag>::const_iterator it = tags.begin(); it != tags.end(); ++it)
498 { 498 {
499 if (FromDcmtkBridge::GetValueRepresentation(*it) == ValueRepresentation_Date) 499 if (FromDcmtkBridge::LookupValueRepresentation(*it) == ValueRepresentation_Date)
500 { 500 {
501 // Replace a "*" query by an empty query ("") for "date" 501 // Replace a "*" query by an empty query ("") for "date"
502 // value representations. Necessary to search over dates 502 // value representations. Necessary to search over dates
503 // in Syngo.Via. 503 // in Syngo.Via.
504 const DicomValue* value = fix->TestAndGetValue(*it); 504 const DicomValue* value = fix->TestAndGetValue(*it);