comparison OrthancServer/OrthancFindRequestHandler.cpp @ 1755:39c37a994b2f db-changes

handling of DICOM_TAG_MODALITIES_IN_STUDY
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Oct 2015 12:02:15 +0100
parents faf2ecab3472
children 98abb8d7f905
comparison
equal deleted inserted replaced
1754:3a4f7dc00f49 1755:39c37a994b2f
305 // An empty string corresponds to a "*" wildcard constraint, so we ignore it 305 // An empty string corresponds to a "*" wildcard constraint, so we ignore it
306 continue; 306 continue;
307 } 307 }
308 308
309 #if USE_LOOKUP_RESOURCE == 1 309 #if USE_LOOKUP_RESOURCE == 1
310 if (tag == DICOM_TAG_MODALITIES_IN_STUDY) 310 finder.AddDicomConstraint(tag, value, caseSensitivePN);
311 {
312 // TODO SetModalitiesInStudy(value);
313 // findQuery.SetModalitiesInStudy(value);
314 printf("ICI\n");
315 throw OrthancException(ErrorCode_NotImplemented);
316 }
317 else
318 {
319 finder.Add(tag, value, caseSensitivePN);
320 }
321 #else 311 #else
322 312
323 if (tag == DICOM_TAG_MODALITIES_IN_STUDY) 313 if (tag == DICOM_TAG_MODALITIES_IN_STUDY)
324 { 314 {
325 findQuery.SetModalitiesInStudy(value); 315 findQuery.SetModalitiesInStudy(value);