Mercurial > hg > orthanc
diff OrthancServer/Search/HierarchicalMatcher.cpp @ 2409:e4045b3c9772
ignore-length argument if retrieving DICOM tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 27 Sep 2017 17:36:13 +0200 |
parents | 7284093111b0 |
children | 878b59270859 |
line wrap: on
line diff
--- a/OrthancServer/Search/HierarchicalMatcher.cpp Mon Sep 25 14:50:13 2017 +0200 +++ b/OrthancServer/Search/HierarchicalMatcher.cpp Wed Sep 27 17:36:13 2017 +0200 @@ -122,9 +122,10 @@ } else { + std::set<DicomTag> ignoreTagLength; std::auto_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement (*element, DicomToJsonFlags_None, - ORTHANC_MAXIMUM_TAG_LENGTH, encoding)); + ORTHANC_MAXIMUM_TAG_LENGTH, encoding, ignoreTagLength)); if (value->IsBinary()) { @@ -222,9 +223,10 @@ return false; } + std::set<DicomTag> ignoreTagLength; std::auto_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement (*element, DicomToJsonFlags_None, - ORTHANC_MAXIMUM_TAG_LENGTH, encoding)); + ORTHANC_MAXIMUM_TAG_LENGTH, encoding, ignoreTagLength)); if (value->IsNull() || value->IsBinary() ||