Mercurial > hg > orthanc
diff OrthancServer/ServerToolbox.cpp @ 3033:5da6d1063d8f db-changes
effectively replacing LookupResource by DatabaseLookup in searches
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Dec 2018 13:58:28 +0100 |
parents | bbfd95a0c429 |
children | ce272138f15e |
line wrap: on
line diff
--- a/OrthancServer/ServerToolbox.cpp Wed Dec 19 13:10:48 2018 +0100 +++ b/OrthancServer/ServerToolbox.cpp Wed Dec 19 13:58:28 2018 +0100 @@ -170,6 +170,9 @@ for (size_t i = 0; i < size; i++) { + // The identifiers tags are a subset of the main DICOM tags + assert(DicomMap::IsMainDicomTag(tags[i])); + const DicomValue* value = map.TestAndGetValue(tags[i]); if (value != NULL && !value->IsNull() &&