Resources for configuration and management Aidbox Bulk operations.

Overview

Bulk module includes the following resource types:

  • BulkExportStatus
  • BulkImportStatus
  • DisabledIndex
  • LoaderFile

BulkExportStatus

Path Card. Type Description
error0..*BackboneElementInformation about errors that occurred during export.
error.type0..1stringType of the resource that caused the error.
error.url0..1stringURL with detailed error information.
error.count0..1integerNumber of resources that encountered errors.
extension0..1Additional information about the export.
output0..*Information about the exported data files.
output.type0..1stringFHIR resource type for this output file.
output.url0..1stringURL where the client can download this output file.
output.count0..1integerNumber of resources in this output file.
params0..1BackboneElementParameters specified for the bulk export request.
params.since0..1dateTimeExport only resources modified after this date.
params.requester0..1ReferenceReference to the user or client that requested the export.
params.output-format0..1stringFormat of the exported data files.

Allowed values: application/fhir+ndjson | application/ndjson+fhir | application/ndjson | ndjson | application/fhir+ndjson+gzip | application/fhir+gzip+ndjson | application/ndjson+fhir+gzip | application/ndjson+gzip+fhir | application/gzip+fhir+ndjson | application/gzip+ndjson+fhir

params.storage0..1BackboneElementStorage configuration for exported files.
params.storage.type0..1stringType of storage backend to use.

Allowed values: test-delay | test-cloud | aidbox | gcp | aws | azure

params.storage.bucket0..1stringName of the storage bucket to use.
params.storage.account0..1ReferenceReference to account with credentials for accessing the storage.
params.output-file-ext0..1stringFile extension for the exported files.

Allowed values: .ndjson | .ndjson.gz

params.fhir?0..1booleanWhether to export in FHIR format.
params.types0..*stringList of resource types to include in the export.
params.tenant0..1stringTenant identifier for multi-tenant environments.
params.patient-ids0..*stringList of patient IDs to export data for.
params.export-level0..1stringLevel at which to perform the export (patient, group, or system).

Allowed values: patient | group | system

params.gzip?0..1booleanWhether to compress the exported files using gzip.
params.group-id0..1stringID of the group to export data for, when export-level is 'group'.
request0..1stringOriginal request that initiated this export.
requester0..1ReferenceReference to the user or client that requested the export.
requiresAccessToken0..1booleanWhether an access token is required to download the exported files.
status0..1stringCurrent status of the bulk export operation.

Allowed values: accepted | in-progress | completed | error | cancelled

transactionTime0..1dateTimeTime when the bulk export was initiated.
url0..1stringURL where the client can check the export status.

BulkImportStatus

Path Card. Type Description
_source0..1stringSystem Property. DO NOT USE IT.
contentEncoding0..1stringEncoding of the imported content (gzip or plain).

Allowed values: gzip | plain

inputFormat0..1stringFormat of the input data files.

Allowed values: application/fhir+ndjson

inputs0..*BackboneElementInformation about input files processed during import.
inputs.time0..1integerTime taken to process this input file in milliseconds.
inputs.resourceType1..1stringType of resources contained in this input file.
inputs.url0..1stringUrl of imported file.
inputs.ts0..1dateTimeTime when the import operation completed.
inputs.total0..1integerTotal number of imported resources
inputs.status0..1stringImport progress status
inputs.duration0..1integerImport duration time
mode0..1stringMode of import operation (bulk or transaction).

Allowed values: bulk | transaction

source0..1stringSource location of the imported data.
status0..1stringCurrent status of the import operation.

Allowed values: active | failed | cancelled | finished

storageDetail0..1BackboneElementDetails about the storage used for the import.
storageDetail.type0..1string

Allowed values: file | https

time0..1BackboneElementTiming information for the import operation.
time.end0..1dateTimeTime when the import operation completed.
time.start0..1dateTimeTime when the import operation started.
type0..1stringType of data being imported (aidbox or fhir).

Allowed values: aidbox | fhir

update0..1booleanWhether to update existing resources during import.

DisabledIndex

Path Card. Type Description
indexdef0..1stringSQL definition of the index.
indexname0..1stringName of the database index that has been disabled.
restore0..1BackboneElementInformation about the index restoration process.
restore.start0..1dateTimeTime when the index restoration started.
restore.end0..1dateTimeTime when the index restoration completed.
restore.duration0..1integerDuration of the index restoration in milliseconds.
schemaname0..1stringName of the database schema containing the index.
status0..1stringCurrent status of the index (restored or disabled).

Allowed values: restored | disabled

tablename0..1stringName of the table associated with this index.
tablespace0..1stringTablespace where the index is stored.

LoaderFile

Path Card. Type Description
bucket0..1stringStorage bucket where the file is located.
end0..1dateTimeTime when the file loading process completed.
error0..1BackboneElementInformation about errors encountered during file loading.
error.source0..1stringSource of the error.

Allowed values: postgres | aws | aidbox

error.code0..1stringError code or identifier.
file0..1stringPath or name of the file being loaded.
last-modified0..1stringLast modification timestamp of the file.
loaded0..1integerNumber of resources successfully loaded from this file.
message0..1stringStatus or error message related to the file loading process.
size0..1numberSize of the file in bytes.
start0..1dateTimeTime when the file loading process started.
status0..1stringCurrent status of the file loading process.

Allowed values: pending | in-progress | done | error | skiped

type0..1stringType of the file or contained resources.

Last updated 2025-05-06T09:17:20Z