comparison OrthancServer/Sources/ServerContext.cpp @ 4218:8e069a7e1c11

validation against orthanc-tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2020 11:49:38 +0200
parents d962a2996637
children f9eaf14d3d19
comparison
equal deleted inserted replaced
4217:78c8b4a18619 4218:8e069a7e1c11
1276 if ((constraint.GetConstraintType() == ConstraintType_Equal && constraint.GetValue().empty()) || 1276 if ((constraint.GetConstraintType() == ConstraintType_Equal && constraint.GetValue().empty()) ||
1277 (constraint.GetConstraintType() == ConstraintType_List && constraint.GetValues().empty())) 1277 (constraint.GetConstraintType() == ConstraintType_List && constraint.GetValues().empty()))
1278 { 1278 {
1279 // Ignore universal lookup on "ModalitiesInStudy" (0008,0061), 1279 // Ignore universal lookup on "ModalitiesInStudy" (0008,0061),
1280 // this should have been handled by the caller 1280 // this should have been handled by the caller
1281 return ApplyInternal(visitor, lookup, queryLevel, since, limit); 1281 ApplyInternal(visitor, lookup, queryLevel, since, limit);
1282 return;
1282 } 1283 }
1283 else 1284 else
1284 { 1285 {
1285 DicomTagConstraint modality(constraint); 1286 DicomTagConstraint modality(constraint);
1286 modality.SetTag(DICOM_TAG_MODALITY); 1287 modality.SetTag(DICOM_TAG_MODALITY);