public class FhirLoadPage extends Object
Constructor and Description |
---|
FhirLoadPage(ca.uhn.fhir.rest.client.api.IGenericClient client) |
Modifier and Type | Method and Description |
---|---|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
byUrl(String url,
Class<T> returnType,
Map<ExtraParameters,Object> extraParameters)
Load a page of results using the given URL and bundle type and return a DSTU1 Atom bundle
|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
next(T bundle,
Map<ExtraParameters,Object> extraParameters)
Load the next page of results using the link with relation "next" in the bundle.
|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
previous(T bundle,
Map<ExtraParameters,Object> extraParameters)
Load the previous page of results using the link with relation "prev" in the bundle.
|
public FhirLoadPage(ca.uhn.fhir.rest.client.api.IGenericClient client)
public <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T next(T bundle, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseBundle
bundle
- the IBaseBundle
extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseBundle
public <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T previous(T bundle, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseBundle
bundle
- the IBaseBundle
extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseBundle
public <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T byUrl(String url, Class<T> returnType, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseBundle
extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLurl
- the search urlreturnType
- the return typeIBaseBundle
pageApache Camel