Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp Wed Oct 28 11:31:58 2015 +0100 +++ b/OrthancServer/OrthancFindRequestHandler.cpp Wed Oct 28 12:02:15 2015 +0100 @@ -307,17 +307,7 @@ } #if USE_LOOKUP_RESOURCE == 1 - if (tag == DICOM_TAG_MODALITIES_IN_STUDY) - { - // TODO SetModalitiesInStudy(value); - // findQuery.SetModalitiesInStudy(value); - printf("ICI\n"); - throw OrthancException(ErrorCode_NotImplemented); - } - else - { - finder.Add(tag, value, caseSensitivePN); - } + finder.AddDicomConstraint(tag, value, caseSensitivePN); #else if (tag == DICOM_TAG_MODALITIES_IN_STUDY)