Mercurial > hg > orthanc
changeset 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 | 3b40ca7470cc |
children | 307365d0991a |
files | NEWS OrthancServer/Search/HierarchicalMatcher.cpp |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri Dec 02 16:58:35 2016 +0100 +++ b/NEWS Tue Dec 06 14:40:34 2016 +0100 @@ -38,6 +38,7 @@ * Improved robustness against files with no PatientID * Upgrade to curl 7.50.3 for static and Windows builds * Content-Type for JSON documents is now "application/json; charset=utf-8" +* Ignore "Group Length" tags in C-FIND queries Version 1.1.0 (2016/06/27)
--- a/OrthancServer/Search/HierarchicalMatcher.cpp Fri Dec 02 16:58:35 2016 +0100 +++ b/OrthancServer/Search/HierarchicalMatcher.cpp Tue Dec 06 14:40:34 2016 +0100 @@ -86,9 +86,9 @@ } DicomTag tag(FromDcmtkBridge::Convert(element->getTag())); - if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET) + if (tag == DICOM_TAG_SPECIFIC_CHARACTER_SET || // Ignore encoding + tag.GetElement() == 0x0000) // Ignore all "Group Length" tags { - // Ignore this specific tag continue; }