haveTags = true; } else if (isNotBlank(nextParam.getSystem())) { throw new InvalidRequestException("Invalid " + theParamName + " parameter (must supply a value/code and not just a system): " + nextParam.getValueAsQueryToken(myContext));
addParam(params, Constants.PARAM_TAG, next.getValueAsQueryToken(myContext)); addParam(params, Constants.PARAM_SECURITY, next.getValueAsQueryToken(myContext));
dataset.getPatientIds().addAll( tokenParams.stream() .map(t -> t.getValueAsQueryToken(searchParameter.getFhirContext())) .collect(Collectors.toList()));
dataset.getPatientIds().addAll( tokenParams.stream() .map(t -> t.getValueAsQueryToken(searchParameter.getFhirContext())) .collect(Collectors.toList()));
auditDataset.getPatientIds().addAll( tokenParams.stream() .map(t -> t.getValueAsQueryToken(searchParameter.getFhirContext())) .collect(Collectors.toList()));
auditDataset.getPatientIds().addAll( tokenParams.stream() .map(t -> t.getValueAsQueryToken(searchParameter.getFhirContext())) .collect(Collectors.toList()));
haveTags = true; } else if (isNotBlank(nextParam.getSystem())) { throw new InvalidRequestException("Invalid " + theParamName + " parameter (must supply a value/code and not just a system): " + nextParam.getValueAsQueryToken(myContext));
addParam(params, Constants.PARAM_TAG, next.getValueAsQueryToken(myContext)); addParam(params, Constants.PARAM_SECURITY, next.getValueAsQueryToken(myContext));