Class FhirSearch
- java.lang.Object
-
- org.apache.camel.component.fhir.api.FhirSearch
-
public class FhirSearch extends Object
API to search for resources matching a given set of criteria. Searching is a very powerful feature in FHIR with many features for specifying exactly what should be searched for and how it should be returned. See the specification on search for more information.
-
-
Constructor Summary
Constructors Constructor Description FhirSearch(ca.uhn.fhir.rest.client.api.IGenericClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hl7.fhir.instance.model.api.IBaseBundlesearchByUrl(String url, Map<ExtraParameters,Object> extraParameters)Perform a search directly by URL.
-
-
-
Method Detail
-
searchByUrl
public org.hl7.fhir.instance.model.api.IBaseBundle searchByUrl(String url, Map<ExtraParameters,Object> extraParameters)
Perform a search directly by URL.- Parameters:
url- The URL to search for. Note that this URL may be complete (e.g. "http://example.com/base/Patient?name=foo") in which case the client's base URL will be ignored. Or it can be relative (e.g. "Patient?name=foo") in which case the client's base URL will be used.extraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL- Returns:
- the
IBaseBundle
-
-