Class 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 Detail

      • FhirSearch

        public FhirSearch​(ca.uhn.fhir.rest.client.api.IGenericClient client)
    • 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 - see ExtraParameters for a full list of parameters that can be passed, may be NULL
        Returns:
        the IBaseBundle