description: null package_name: io.health-samurai.core.r4 derivation: specialization name: AidboxTask type: AidboxTask elements: inProgressTimeout: {type: decimal, short: Maximum duration in seconds that a task can remain in in-progress status before timing out., index: 3} concurrencyPath: {array: true, index: 4} definition: {type: string, short: Identifier for the task definition., index: 0} executeAt: {type: dateTime, short: Scheduled time for task execution., index: 5} params: {short: Parameters required for task execution., index: 1} retryCount: {type: decimal, short: Number of times the task has been retried., index: 6} requestedToStartTimeout: {type: decimal, short: Maximum duration in seconds that a task can remain in requested status before timing out., index: 7} outcome: type: string short: Final outcome of the task execution. constraint: enum-30: {human: 'Outcome must be one of: succeeded, failed, canceled', severity: error, expression: '%context.subsetOf(''succeeded'' | ''failed'' | ''canceled'')'} index: 8 workflow-definition: {type: string, short: Reference to the workflow definition for this task., index: 9} concurrencyLimit: {type: decimal, short: Maximum number of concurrent tasks allowed., index: 10} retryDelay: {type: decimal, short: Delay in seconds before retrying a failed task., index: 11} requester: type: BackboneElement short: Entity that requested the task. index: 12 elements: id: {type: string, short: Identifier of the requester., index: 13} resourceType: {type: string, short: Type of resource that made the request., index: 14} display: {type: string, short: Human-readable display name of the requester., index: 15} service: {type: string, short: Service that initiated the request., index: 16} rule: {type: string, short: Rule that authorized the request., index: 17} status: type: string short: Current status of the task. constraint: enum-31: {human: 'Status must be one of: created, ready, requested, in-progress, done, waiting', severity: error, expression: '%context.subsetOf(''created'' | ''ready'' | ''requested'' | ''in-progress'' | ''done'' | ''waiting'')'} index: 2 result: {short: Result data produced by successful task execution., index: 18} execId: {type: string, short: Unique execution identifier., index: 19} label: {type: string, short: Label for the task., index: 20} error: {short: Error details if task failed., index: 21} outcomeReason: type: BackboneElement short: Detailed reason for the task outcome. index: 22 elements: type: type: string short: Type of outcome reason. constraint: enum-32: {human: 'Type must be one of: awf.task/failed-due-to-in-progress-timeout, awf.task/failed-by-executor, awf.executor/unknown-error', severity: error, expression: '%context.subsetOf(''awf.task/failed-due-to-in-progress-timeout'' | ''awf.task/failed-by-executor'' | ''awf.executor/unknown-error'')'} index: 23 message: {type: string, short: Human-readable explanation of the outcome., index: 24} data: {short: Additional data related to the outcome., index: 25} required: [message, type] allowedRetryCount: {type: integer, short: Maximum number of retries allowed for this task., index: 26} package_version: 0.2601.0 class: resource kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/AidboxTask base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 0.2601.0 required: [params, status, definition]