public class FhirHistory extends Object
| Constructor and Description |
|---|
FhirHistory(ca.uhn.fhir.rest.client.api.IGenericClient client) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
onInstance(org.hl7.fhir.instance.model.api.IIdType id,
Class<T> returnType,
Integer count,
Date cutoff,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff,
Map<ExtraParameters,Object> extraParameters)
Perform the operation across all versions of a specific resource (by ID and type) on the server.
|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
onServer(Class<T> returnType,
Integer count,
Date cutoff,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff,
Map<ExtraParameters,Object> extraParameters)
Perform the operation across all versions of all resources of all types on the server
|
<T extends org.hl7.fhir.instance.model.api.IBaseBundle> |
onType(Class<org.hl7.fhir.instance.model.api.IBaseResource> resourceType,
Class<T> returnType,
Integer count,
Date cutoff,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff,
Map<ExtraParameters,Object> extraParameters)
Perform the operation across all versions of all resources of the given type on the server
|
public FhirHistory(ca.uhn.fhir.rest.client.api.IGenericClient client)
public <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T onServer(Class<T> returnType, Integer count, Date cutoff, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff, Map<ExtraParameters,Object> extraParameters)
T - extends IBaseBundlereturnType - Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle).
Use this method if you are accessing a DSTU2+ server.count - Request that the server return only up to theCount number of resources, may be NULLcutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLiCutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseBundlepublic <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T onType(Class<org.hl7.fhir.instance.model.api.IBaseResource> resourceType, Class<T> returnType, Integer count, Date cutoff, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff, Map<ExtraParameters,Object> extraParameters)
T - extends IBaseBundleresourceType - The resource type to search forreturnType - Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle).
Use this method if you are accessing a DSTU2+ server.count - Request that the server return only up to theCount number of resources, may be NULLcutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLiCutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseBundlepublic <T extends org.hl7.fhir.instance.model.api.IBaseBundle> T onInstance(org.hl7.fhir.instance.model.api.IIdType id,
Class<T> returnType,
Integer count,
Date cutoff,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> iCutoff,
Map<ExtraParameters,Object> extraParameters)
theId must be populated with both a resource type and a resource ID at
a minimum.T - extends IBaseBundleid - the IIdType which must be populated with both a resource type and a resource ID atreturnType - Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle).
Use this method if you are accessing a DSTU2+ server.count - Request that the server return only up to theCount number of resources, may be NULLcutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLiCutoff - Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULLextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseBundleIllegalArgumentException - If id does not contain at least a resource type and IDApache Camel