{
"description": null,
"_filename": "StructureDefinition-LoaderFile.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "LoaderFile",
"abstract": false,
"type": "LoaderFile",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "2c3cf261-e003-4a58-817c-81607bee9bcc",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/LoaderFile",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "LoaderFile",
"max": "*",
"min": 0,
"path": "LoaderFile"
}, {
"id": "LoaderFile.file",
"max": "1",
"min": 0,
"path": "LoaderFile.file",
"type": [ {
"code": "string"
} ],
"short": "Path or name of the file being loaded."
}, {
"id": "LoaderFile.type",
"max": "1",
"min": 0,
"path": "LoaderFile.type",
"type": [ {
"code": "string"
} ],
"short": "Type of the file or contained resources."
}, {
"id": "LoaderFile.bucket",
"max": "1",
"min": 0,
"path": "LoaderFile.bucket",
"type": [ {
"code": "string"
} ],
"short": "Storage bucket where the file is located."
}, {
"id": "LoaderFile.status",
"max": "1",
"min": 0,
"path": "LoaderFile.status",
"type": [ {
"code": "string"
} ],
"short": "Current status of the file loading process.",
"constraint": [ {
"key": "enum-7",
"human": "Status must be one of: pending, in-progress, done, error, skiped",
"severity": "error",
"expression": "%context.subsetOf('pending' | 'in-progress' | 'done' | 'error' | 'skiped')"
} ]
}, {
"id": "LoaderFile.message",
"max": "1",
"min": 0,
"path": "LoaderFile.message",
"type": [ {
"code": "string"
} ],
"short": "Status or error message related to the file loading process."
}, {
"id": "LoaderFile.loaded",
"max": "1",
"min": 0,
"path": "LoaderFile.loaded",
"type": [ {
"code": "integer"
} ],
"short": "Number of resources successfully loaded from this file."
}, {
"id": "LoaderFile.size",
"max": "1",
"min": 0,
"path": "LoaderFile.size",
"type": [ {
"code": "decimal"
} ],
"short": "Size of the file in bytes."
}, {
"id": "LoaderFile.last-modified",
"max": "1",
"min": 0,
"path": "LoaderFile.last-modified",
"type": [ {
"code": "string"
} ],
"short": "Last modification timestamp of the file."
}, {
"id": "LoaderFile.start",
"max": "1",
"min": 0,
"path": "LoaderFile.start",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when the file loading process started."
}, {
"id": "LoaderFile.end",
"max": "1",
"min": 0,
"path": "LoaderFile.end",
"type": [ {
"code": "dateTime"
} ],
"short": "Time when the file loading process completed."
}, {
"id": "LoaderFile.error",
"max": "1",
"min": 0,
"path": "LoaderFile.error",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Information about errors encountered during file loading."
}, {
"id": "LoaderFile.error.source",
"max": "1",
"min": 0,
"path": "LoaderFile.error.source",
"type": [ {
"code": "string"
} ],
"short": "Source of the error.",
"constraint": [ {
"key": "enum-8",
"human": "Error source must be one of: postgres, aws, aidbox",
"severity": "error",
"expression": "%context.subsetOf('postgres' | 'aws' | 'aidbox')"
} ]
}, {
"id": "LoaderFile.error.code",
"max": "1",
"min": 0,
"path": "LoaderFile.error.code",
"type": [ {
"code": "string"
} ],
"short": "Error code or identifier."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}