description: Archive configuration resource for Aidbox data archival. package_name: io.health-samurai.core.r5 derivation: specialization name: AidboxArchive type: AidboxArchive elements: serviceAccount: type: BackboneElement short: Service account credentials for accessing storage. index: 10 elements: id: {type: string, short: Identifier for the service account., index: 11} resourceType: {type: string, short: Type of resource that contains service account credentials., index: 12} display: {type: string, short: Human-readable name for the service account., index: 13} secret-key: {type: string, short: Secret key for service account authentication., index: 14} storageBackend: type: string short: Type of storage backend to use. constraint: enum-519: {human: 'Storage backend must be one of: gcp, aws, local', severity: error, expression: '%context.subsetOf(''gcp'' | ''aws'' | ''local'')'} index: 0 history: {type: boolean, short: Whether to include resource history in the archive., index: 9} archiveFile: {type: string, short: Name of the archive file., index: 7} period: type: BackboneElement short: Time period for the resources to archive. index: 4 elements: start: {type: dateTime, short: Start date/time for the archive period., index: 5} end: {type: dateTime, short: End date/time for the archive period., index: 6} targetResourceType: {type: string, short: Resource type to be archived., index: 2} criteriaPaths: {type: string, short: Paths to use for filtering resources to archive., array: true, min: 1, index: 3} archivedResourcesCount: {type: number, short: Count of resources that have been archived., index: 8} bucket: {type: string, short: Storage bucket where archives are stored., index: 1} package_version: 0.2601.0 class: resource kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/AidboxArchive base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 0.2601.0 required: [bucket, criteriaPaths, storageBackend, period, targetResourceType]