Package ca.cdr.test.app.clients
Class CdrFhirClient
java.lang.Object
ca.cdr.test.app.clients.CdrFhirClient
- All Implemented Interfaces:
IExtendedGenericClient,IGenericClient,IRestfulClient
-
Constructor Summary
ConstructorsConstructorDescriptionCdrFhirClient(IGenericClient theDelegate, Function<String, ca.uhn.fhir.test.utilities.HttpTestRequest> thePathRequests, Function<String, ca.uhn.fhir.test.utilities.HttpTestRequest> theServerUrlRequests) -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.jpa.bulk.export.model.BulkExportResponseJsonawaitBulkExport(String thePollUrl) ca.uhn.fhir.jpa.bulk.export.model.BulkExportResponseJsonawaitBulkExport(String thePollUrl, Duration theTimeout, Duration thePollInterval) create()delete()Deprecated, for removal: This API element is subject to removal in a future version.<T extends IBaseResource>
TfetchResourceFromUrl(Class<T> theResourceType, String theUrl) voidhistory()loadPage()meta()patch()read()Deprecated.<T extends IBaseResource>
TDeprecated.<T extends IBaseResource>
TDeprecated.voidregisterInterceptor(Object theInterceptor) <T extends IBaseBundle>
IUntypedQuery<T> search()voidsetEncoding(EncodingEnum theEncoding) voidsetFormatParamStyle(RequestFormatParamStyleEnum theRequestFormatParamStyle) voidsetInterceptorService(IInterceptorService theInterceptorService) voidsetLogRequestAndResponse(boolean theLogRequestAndResponse) Deprecated.voidsetPrettyPrint(Boolean thePrettyPrint) voidsetSummary(SummaryEnum theSummary) startBulkExport(BulkExportJobParameters theParameters) voidunregisterInterceptor(Object theInterceptor) update()update(IdDt theId, IBaseResource theResource) Deprecated.update(String theId, IBaseResource theResource) Deprecated.validate()validate(IBaseResource theResource) Deprecated.<T extends IBaseResource>
TDeprecated.<T extends IBaseResource>
TDeprecated.
-
Constructor Details
-
CdrFhirClient
public CdrFhirClient(@Nonnull IGenericClient theDelegate, @Nonnull Function<String, ca.uhn.fhir.test.utilities.HttpTestRequest> thePathRequests, @Nonnull Function<String, ca.uhn.fhir.test.utilities.HttpTestRequest> theServerUrlRequests)
-
-
Method Details
-
getSmartConfiguration
- Specified by:
getSmartConfigurationin interfaceIExtendedGenericClient
-
startBulkExport
- Specified by:
startBulkExportin interfaceIExtendedGenericClient
-
awaitBulkExport
@Nonnull public ca.uhn.fhir.jpa.bulk.export.model.BulkExportResponseJson awaitBulkExport(@Nonnull String thePollUrl) - Specified by:
awaitBulkExportin interfaceIExtendedGenericClient
-
awaitBulkExport
@Nonnull public ca.uhn.fhir.jpa.bulk.export.model.BulkExportResponseJson awaitBulkExport(@Nonnull String thePollUrl, @Nonnull Duration theTimeout, @Nonnull Duration thePollInterval) - Specified by:
awaitBulkExportin interfaceIExtendedGenericClient
-
capabilities
- Specified by:
capabilitiesin interfaceIGenericClient
-
create
- Specified by:
createin interfaceIGenericClient
-
delete
- Specified by:
deletein interfaceIGenericClient
-
fetchConformance
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
fetchConformancein interfaceIGenericClient
-
forceConformanceCheck
- Specified by:
forceConformanceCheckin interfaceIGenericClient- Throws:
FhirClientConnectionException
-
history
- Specified by:
historyin interfaceIGenericClient
-
loadPage
- Specified by:
loadPagein interfaceIGenericClient
-
meta
- Specified by:
metain interfaceIGenericClient
-
operation
- Specified by:
operationin interfaceIGenericClient
-
patch
- Specified by:
patchin interfaceIGenericClient
-
read
- Specified by:
readin interfaceIGenericClient
-
rawHttpRequest
- Specified by:
rawHttpRequestin interfaceIGenericClient
-
read
Deprecated.- Specified by:
readin interfaceIGenericClient
-
read
Deprecated.- Specified by:
readin interfaceIGenericClient
-
read
Deprecated.- Specified by:
readin interfaceIGenericClient
-
registerInterceptor
- Specified by:
registerInterceptorin interfaceIGenericClient- Specified by:
registerInterceptorin interfaceIRestfulClient
-
search
- Specified by:
searchin interfaceIGenericClient
-
setLogRequestAndResponse
Deprecated.- Specified by:
setLogRequestAndResponsein interfaceIGenericClient
-
transaction
- Specified by:
transactionin interfaceIGenericClient
-
unregisterInterceptor
- Specified by:
unregisterInterceptorin interfaceIGenericClient- Specified by:
unregisterInterceptorin interfaceIRestfulClient
-
update
- Specified by:
updatein interfaceIGenericClient
-
update
Deprecated.- Specified by:
updatein interfaceIGenericClient
-
update
Deprecated.- Specified by:
updatein interfaceIGenericClient
-
validate
- Specified by:
validatein interfaceIGenericClient
-
validate
Deprecated.- Specified by:
validatein interfaceIGenericClient
-
vread
Deprecated.- Specified by:
vreadin interfaceIGenericClient
-
vread
@Deprecated public <T extends IBaseResource> T vread(Class<T> theType, String theId, String theVersionId) Deprecated.- Specified by:
vreadin interfaceIGenericClient
-
getInterceptorService
- Specified by:
getInterceptorServicein interfaceIRestfulClient
-
setInterceptorService
- Specified by:
setInterceptorServicein interfaceIRestfulClient
-
fetchResourceFromUrl
- Specified by:
fetchResourceFromUrlin interfaceIRestfulClient
-
getEncoding
- Specified by:
getEncodingin interfaceIRestfulClient
-
setEncoding
- Specified by:
setEncodingin interfaceIRestfulClient
-
getFhirContext
- Specified by:
getFhirContextin interfaceIRestfulClient
-
getHttpClient
- Specified by:
getHttpClientin interfaceIRestfulClient
-
getServerBase
- Specified by:
getServerBasein interfaceIRestfulClient
-
setPrettyPrint
- Specified by:
setPrettyPrintin interfaceIRestfulClient
-
setSummary
- Specified by:
setSummaryin interfaceIRestfulClient
-
setFormatParamStyle
- Specified by:
setFormatParamStylein interfaceIRestfulClient
-