Mercurial > hg > orthanc
comparison OrthancServer/Search/HierarchicalMatcher.cpp @ 2200:af60b784d2b8
Ignore "Group Length" tags in C-FIND queries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Dec 2016 14:40:34 +0100 |
parents | 655489d9165d |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2194:3b40ca7470cc | 2200:af60b784d2b8 |
---|---|
84 { | 84 { |
85 throw OrthancException(ErrorCode_InternalError); | 85 throw OrthancException(ErrorCode_InternalError); |
86 } | 86 } |
87 | 87 |
88 DicomTag tag(FromDcmtkBridge::Convert(element->getTag())); | 88 DicomTag tag(FromDcmtkBridge::Convert(element->getTag())); |
89 if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET) | 89 if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET || // Ignore encoding |
90 { | 90 tag.GetElement() == 0x0000) // Ignore all "Group Length" tags |
91 // Ignore this specific tag | 91 { |
92 continue; | 92 continue; |
93 } | 93 } |
94 | 94 |
95 ValueRepresentation vr = FromDcmtkBridge::LookupValueRepresentation(tag); | 95 ValueRepresentation vr = FromDcmtkBridge::LookupValueRepresentation(tag); |
96 | 96 |