comparison OrthancServer/Sources/ResourceFinder.cpp @ 5668:bd1352bd9d82 find-refactoring

configuring requests for ModalitiesInStudy and SOPClassesInStudy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jul 2024 21:57:39 +0200
parents 93dff1fccf36
children e300f22a46f0
comparison
equal deleted inserted replaced
5667:93dff1fccf36 5668:bd1352bd9d82
535 } 535 }
536 else if (tag == DICOM_TAG_NUMBER_OF_SERIES_RELATED_INSTANCES) 536 else if (tag == DICOM_TAG_NUMBER_OF_SERIES_RELATED_INSTANCES)
537 { 537 {
538 ConfigureChildrenCountComputedTag(tag, ResourceType_Series, ResourceType_Instance); 538 ConfigureChildrenCountComputedTag(tag, ResourceType_Series, ResourceType_Instance);
539 } 539 }
540 else if (tag == DICOM_TAG_SOP_CLASSES_IN_STUDY)
541 {
542 requestedComputedTags_.insert(tag);
543 hasRequestedTags_ = true;
544 request_.GetChildrenRetrieveSpecification(ResourceType_Instance).AddMetadata(MetadataType_Instance_SopClassUid);
545 }
546 else if (tag == DICOM_TAG_MODALITIES_IN_STUDY)
547 {
548 requestedComputedTags_.insert(tag);
549 hasRequestedTags_ = true;
550 request_.GetChildrenRetrieveSpecification(ResourceType_Series).AddMainDicomTag(DICOM_TAG_MODALITY);
551 }
540 else if (tag == DICOM_TAG_INSTANCE_AVAILABILITY) 552 else if (tag == DICOM_TAG_INSTANCE_AVAILABILITY)
541 { 553 {
542 requestedComputedTags_.insert(tag); 554 requestedComputedTags_.insert(tag);
543 hasRequestedTags_ = true; 555 hasRequestedTags_ = true;
544 } 556 }