Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/Compatibility/GenericFind.cpp @ 5682:fd4c5e064cbe find-refactoring
started refactoring of ServerContext::Apply()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jul 2024 11:17:34 +0200 |
parents | 77875b51cf95 |
children | 89d559e67b03 |
comparison
equal
deleted
inserted
replaced
5681:77875b51cf95 | 5682:fd4c5e064cbe |
---|---|
206 request.GetOrthancIdentifiers().HasSeriesId() && | 206 request.GetOrthancIdentifiers().HasSeriesId() && |
207 !request.GetOrthancIdentifiers().HasInstanceId()) | 207 !request.GetOrthancIdentifiers().HasInstanceId()) |
208 { | 208 { |
209 GetChildrenIdentifiers(identifiers, transaction_, request.GetOrthancIdentifiers(), ResourceType_Series, request.GetLevel()); | 209 GetChildrenIdentifiers(identifiers, transaction_, request.GetOrthancIdentifiers(), ResourceType_Series, request.GetLevel()); |
210 } | 210 } |
211 else if (request.GetMetadataConstraintsCount() == 0 && | |
212 request.GetOrdering().empty()) | |
213 { | |
214 transaction_.ApplyLookupResources(identifiers, NULL /* TODO-FIND: Could the "instancesId" information be exploited? */, | |
215 request.GetDicomTagConstraints(), request.GetLevel(), request.GetLabels(), | |
216 request.GetLabelsConstraint(), request.HasLimits() ? request.GetLimitsCount() : 0); | |
217 } | |
211 else | 218 else |
212 { | 219 { |
213 printf("?????????????????????????\n"); | |
214 throw OrthancException(ErrorCode_NotImplemented); | 220 throw OrthancException(ErrorCode_NotImplemented); |
215 } | 221 } |
216 } | 222 } |
217 | 223 |
218 | 224 |