Skip to content

Commit

Permalink
Issue #772 - add code comments
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
  • Loading branch information
michaelwschroeder committed Aug 20, 2021
1 parent 22ca076 commit cea252f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2654,6 +2654,9 @@ Bundle createSearchBundle(List<Resource> resources, FHIRSearchContext searchCont
List<QueryParameter> chainedSearchParameters = new ArrayList<>();
List<QueryParameter> logicalIdReferenceSearchParameters = new ArrayList<>();
for (QueryParameter queryParameter : searchContext.getSearchParameters()) {
// We do not need to look at canonical references here. They will not contain versions of the
// form '.../_history/xx' nor logical ID-only references, which is what we want to check
// these search parameters for.
if (!queryParameter.isReverseChained() && !queryParameter.isCanonical()) {
if (queryParameter.isChained()) {
chainedSearchParameters.add(queryParameter);
Expand Down

0 comments on commit cea252f

Please sign in to comment.