Search in sources :

Example 1 with UriOrListParam

use of ca.uhn.fhir.rest.param.UriOrListParam in project cqf-ruler by DBCG.

the class Searches method byUrls.

// TODO: versioned version
public static SearchParameterMap byUrls(List<String> theUrls) {
    checkNotNull(theUrls);
    UriOrListParam params = new UriOrListParam();
    theUrls.forEach(theUrl -> {
        checkNotNull(theUrl);
        params.addOr(new UriParam(theUrl));
    });
    return sync().add(ID_SP, params);
}
Also used : UriOrListParam(ca.uhn.fhir.rest.param.UriOrListParam) UriParam(ca.uhn.fhir.rest.param.UriParam)

Aggregations

UriOrListParam (ca.uhn.fhir.rest.param.UriOrListParam)1 UriParam (ca.uhn.fhir.rest.param.UriParam)1