Class ExportImportImpl
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.processor.impl.ExportImportImpl
-
- All Implemented Interfaces:
ExportImportBulkData
public class ExportImportImpl extends java.lang.Object implements ExportImportBulkData
Import from or export to IBM Cloud Object Storage (COS) or similar S3-compatible object stores
-
-
Constructor Summary
Constructors Constructor Description ExportImportImpl(java.lang.String bulkdataSource, java.lang.String outcomeSource, java.lang.String baseUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters
delete(java.lang.String job, FHIROperationContext operationContext)
deletes the export/import jobParameters
export(java.lang.String logicalId, OperationConstants.ExportType exportType, javax.ws.rs.core.MediaType outputFormat, Instant since, java.util.Set<java.lang.String> types, java.util.List<java.lang.String> typeFilters, FHIROperationContext operationContext)
Pattern: GET [Base]/$export Pattern: GET [Base]/Patient/$export Pattern: GET [Base]/Group/[id]/$export Internally, call - GET [base]/Patient?_has:Group:member:_id=GroupIdParameters
importBulkData(java.lang.String inputFormat, java.lang.String inputSource, java.util.List<Input> inputs, StorageDetail storageDetail, FHIROperationContext operationContext)
Pattern: POST [Base]/$importParameters
status(java.lang.String job, FHIROperationContext operationContext)
checks the status of the export/import job
-
-
-
Method Detail
-
export
public Parameters export(java.lang.String logicalId, OperationConstants.ExportType exportType, javax.ws.rs.core.MediaType outputFormat, Instant since, java.util.Set<java.lang.String> types, java.util.List<java.lang.String> typeFilters, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
Pattern: GET [Base]/$export Pattern: GET [Base]/Patient/$export Pattern: GET [Base]/Group/[id]/$export Internally, call - GET [base]/Patient?_has:Group:member:_id=GroupId- Specified by:
export
in interfaceExportImportBulkData
operationContext
- used to signal a non-standard response- Returns:
- Throws:
FHIROperationException
-
status
public Parameters status(java.lang.String job, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
checks the status of the export/import job- Specified by:
status
in interfaceExportImportBulkData
operationContext
- used to signal a non-standard response- Returns:
- Throws:
FHIROperationException
-
delete
public Parameters delete(java.lang.String job, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
deletes the export/import job- Specified by:
delete
in interfaceExportImportBulkData
operationContext
- used to signal a non-standard response- Returns:
- Throws:
FHIROperationException
-
importBulkData
public Parameters importBulkData(java.lang.String inputFormat, java.lang.String inputSource, java.util.List<Input> inputs, StorageDetail storageDetail, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
Pattern: POST [Base]/$import- Specified by:
importBulkData
in interfaceExportImportBulkData
operationContext
- used to signal a non-standard response- Returns:
- Throws:
FHIROperationException
-
-