{
"description": "Archive configuration resource for Aidbox data archival.",
"_filename": "StructureDefinition-aidbox-archive.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "AidboxArchive",
"abstract": false,
"type": "AidboxArchive",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "0898e47e-cfbc-4b62-aad1-d4f0bd055d65",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxArchive",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "AidboxArchive",
"max": "*",
"min": 0,
"path": "AidboxArchive"
}, {
"id": "AidboxArchive.storageBackend",
"max": "1",
"min": 1,
"path": "AidboxArchive.storageBackend",
"type": [ {
"code": "string"
} ],
"short": "Type of storage backend to use.",
"constraint": [ {
"key": "enum-519",
"human": "Storage backend must be one of: gcp, aws, local",
"severity": "error",
"expression": "%context.subsetOf('gcp' | 'aws' | 'local')"
} ]
}, {
"id": "AidboxArchive.bucket",
"max": "1",
"min": 1,
"path": "AidboxArchive.bucket",
"type": [ {
"code": "string"
} ],
"short": "Storage bucket where archives are stored."
}, {
"id": "AidboxArchive.targetResourceType",
"max": "1",
"min": 1,
"path": "AidboxArchive.targetResourceType",
"type": [ {
"code": "string"
} ],
"short": "Resource type to be archived."
}, {
"id": "AidboxArchive.criteriaPaths",
"max": "*",
"min": 1,
"path": "AidboxArchive.criteriaPaths",
"type": [ {
"code": "string"
} ],
"short": "Paths to use for filtering resources to archive."
}, {
"id": "AidboxArchive.period",
"max": "1",
"min": 1,
"path": "AidboxArchive.period",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Time period for the resources to archive."
}, {
"id": "AidboxArchive.period.start",
"max": "1",
"min": 0,
"path": "AidboxArchive.period.start",
"type": [ {
"code": "dateTime"
} ],
"short": "Start date/time for the archive period."
}, {
"id": "AidboxArchive.period.end",
"max": "1",
"min": 0,
"path": "AidboxArchive.period.end",
"type": [ {
"code": "dateTime"
} ],
"short": "End date/time for the archive period."
}, {
"id": "AidboxArchive.archiveFile",
"max": "1",
"min": 0,
"path": "AidboxArchive.archiveFile",
"type": [ {
"code": "string"
} ],
"short": "Name of the archive file."
}, {
"id": "AidboxArchive.archivedResourcesCount",
"max": "1",
"min": 0,
"path": "AidboxArchive.archivedResourcesCount",
"type": [ {
"code": "number"
} ],
"short": "Count of resources that have been archived."
}, {
"id": "AidboxArchive.history",
"max": "1",
"min": 0,
"path": "AidboxArchive.history",
"type": [ {
"code": "boolean"
} ],
"short": "Whether to include resource history in the archive."
}, {
"id": "AidboxArchive.serviceAccount",
"max": "1",
"min": 0,
"path": "AidboxArchive.serviceAccount",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Service account credentials for accessing storage."
}, {
"id": "AidboxArchive.serviceAccount.id",
"max": "1",
"min": 0,
"path": "AidboxArchive.serviceAccount.id",
"type": [ {
"code": "string"
} ],
"short": "Identifier for the service account."
}, {
"id": "AidboxArchive.serviceAccount.resourceType",
"max": "1",
"min": 0,
"path": "AidboxArchive.serviceAccount.resourceType",
"type": [ {
"code": "string"
} ],
"short": "Type of resource that contains service account credentials."
}, {
"id": "AidboxArchive.serviceAccount.display",
"max": "1",
"min": 0,
"path": "AidboxArchive.serviceAccount.display",
"type": [ {
"code": "string"
} ],
"short": "Human-readable name for the service account."
}, {
"id": "AidboxArchive.serviceAccount.secret-key",
"max": "1",
"min": 0,
"path": "AidboxArchive.serviceAccount.secret-key",
"type": [ {
"code": "string"
} ],
"short": "Secret key for service account authentication."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}