{
"description": null,
"_filename": "StructureDefinition-BulkImportStatus.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "BulkImportStatus",
"abstract": false,
"type": "BulkImportStatus",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "2b2312b5-da06-4537-a9a0-5bb3c4b43cfc",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/BulkImportStatus",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "BulkImportStatus",
"max": "*",
"min": 0,
"path": "BulkImportStatus"
}, {
"id": "BulkImportStatus._source",
"max": "1",
"min": 0,
"path": "BulkImportStatus._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "BulkImportStatus.status",
"max": "1",
"min": 0,
"path": "BulkImportStatus.status",
"type": [ {
"code": "string"
} ],
"short": "Current status of the import operation.",
"constraint": [ {
"key": "enum-17",
"human": "Status must be one of: active, failed, cancelled, finished",
"severity": "error",
"expression": "%context.subsetOf('active' | 'failed' | 'cancelled' | 'finished')"
} ]
}, {
"id": "BulkImportStatus.contentEncoding",
"max": "1",
"min": 0,
"path": "BulkImportStatus.contentEncoding",
"type": [ {
"code": "string"
} ],
"short": "Encoding of the imported content (gzip or plain).",
"constraint": [ {
"key": "enum-13",
"human": "Content encoding must be one of: gzip, plain",
"severity": "error",
"expression": "%context.subsetOf('gzip' | 'plain')"
} ]
}, {
"id": "BulkImportStatus.mode",
"max": "1",
"min": 0,
"path": "BulkImportStatus.mode",
"type": [ {
"code": "string"
} ],
"short": "Mode of import operation (bulk or transaction).",
"constraint": [ {
"key": "enum-14",
"human": "Mode must be one of: bulk, transaction",
"severity": "error",
"expression": "%context.subsetOf('bulk' | 'transaction')"
} ]
}, {
"id": "BulkImportStatus.type",
"max": "1",
"min": 0,
"path": "BulkImportStatus.type",
"type": [ {
"code": "string"
} ],
"short": "Type of data being imported (aidbox or fhir).",
"constraint": [ {
"key": "enum-15",
"human": "Type must be one of: aidbox, fhir",
"severity": "error",
"expression": "%context.subsetOf('aidbox' | 'fhir')"
} ]
}, {
"id": "BulkImportStatus.inputFormat",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputFormat",
"type": [ {
"code": "string"
} ],
"short": "Format of the input data files.",
"constraint": [ {
"key": "enum-16",
"human": "Input format must be: application/fhir+ndjson",
"severity": "error",
"expression": "%context.subsetOf('application/fhir+ndjson')"
} ]
}, {
"id": "BulkImportStatus.update",
"max": "1",
"min": 0,
"path": "BulkImportStatus.update",
"type": [ {
"code": "boolean"
} ],
"short": "Whether to update existing resources during import."
}, {
"id": "BulkImportStatus.source",
"max": "1",
"min": 0,
"path": "BulkImportStatus.source",
"type": [ {
"code": "string"
} ],
"short": "Source location of the imported data."
}, {
"id": "BulkImportStatus.time",
"max": "1",
"min": 0,
"path": "BulkImportStatus.time",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Timing information for the import operation."
}, {
"id": "BulkImportStatus.time.start",
"max": "1",
"min": 0,
"path": "BulkImportStatus.time.start",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when the import operation started."
}, {
"id": "BulkImportStatus.time.end",
"max": "1",
"min": 0,
"path": "BulkImportStatus.time.end",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when the import operation completed."
}, {
"id": "BulkImportStatus.inputs",
"max": "*",
"min": 0,
"path": "BulkImportStatus.inputs",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Information about input files processed during import."
}, {
"id": "BulkImportStatus.inputs.resourceType",
"max": "1",
"min": 1,
"path": "BulkImportStatus.inputs.resourceType",
"type": [ {
"code": "string"
} ],
"short": "Type of resources contained in this input file."
}, {
"id": "BulkImportStatus.inputs.url",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.url",
"type": [ {
"code": "string"
} ],
"short": "URL of the imported file."
}, {
"id": "BulkImportStatus.inputs.time",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.time",
"type": [ {
"code": "integer"
} ],
"short": "Time taken to process this input file in milliseconds."
}, {
"id": "BulkImportStatus.inputs.ts",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.ts",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when the import operation completed."
}, {
"id": "BulkImportStatus.inputs.total",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.total",
"type": [ {
"code": "integer"
} ],
"short": "Total number of imported resources."
}, {
"id": "BulkImportStatus.inputs.status",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.status",
"type": [ {
"code": "string"
} ],
"short": "Import progress status."
}, {
"id": "BulkImportStatus.inputs.duration",
"max": "1",
"min": 0,
"path": "BulkImportStatus.inputs.duration",
"type": [ {
"code": "integer"
} ],
"short": "Import duration time."
}, {
"id": "BulkImportStatus.storageDetail",
"max": "1",
"min": 0,
"path": "BulkImportStatus.storageDetail",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Details about the storage used for the import."
}, {
"id": "BulkImportStatus.storageDetail.type",
"max": "1",
"min": 0,
"path": "BulkImportStatus.storageDetail.type",
"type": [ {
"code": "string"
} ],
"constraint": [ {
"key": "storagedetail-type",
"human": "Storage detail type must be one of: file, https",
"severity": "error",
"expression": "%context.subsetOf('file' | 'https')"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}