PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r4@0.2601.0
    http://health-samurai.io/fhir/core/StructureDefinition/AidboxWorkflow
description: null
package_name: io.health-samurai.core.r4
derivation: specialization
name: AidboxWorkflow
type: AidboxWorkflow
elements:
  definition: {type: string, short: Workflow definition identifier., index: 0}
  executeAt: {type: string, short: Scheduled time for workflow execution., index: 2}
  params: {short: Parameters required for workflow execution., index: 3}
  retryCount: {type: decimal, short: Number of times the workflow has been retried., index: 4}
  outcome:
    type: string
    short: Final outcome of the workflow execution.
    constraint:
      enum-154: {human: 'Outcome must be one of: succeeded, failed, canceled', severity: error, expression: '%context.subsetOf(''succeeded'' | ''failed'' | ''canceled'')'}
    index: 5
  requester:
    type: BackboneElement
    short: Entity that requested the workflow.
    index: 6
    elements:
      id: {type: string, short: Identifier of the requester., index: 7}
      resourceType: {type: string, short: Type of resource that made the request., index: 8}
      display: {type: string, short: Human-readable display name of the requester., index: 9}
      service: {type: string, short: Service that initiated the request., index: 10}
      rule: {type: string, short: Rule that authorized the request., index: 11}
  status:
    type: string
    short: Current status of the workflow.
    constraint:
      enum-155: {human: 'Status must be one of: created, in-progress, done', severity: error, expression: '%context.subsetOf(''created'' | ''in-progress'' | ''done'')'}
    index: 1
  result: {short: Result data produced by successful workflow execution., index: 12}
  execId: {type: string, short: Unique execution identifier., index: 13}
  label: {type: string, short: Human-readable label for the workflow., index: 14}
  error: {short: Error details if workflow failed., index: 15}
  outcomeReason:
    type: BackboneElement
    short: Detailed reason for the workflow outcome.
    index: 16
    elements:
      type:
        type: string
        short: Type of outcome reason.
        constraint:
          enum-156: {human: 'Type must be one of: awf.workflow/failed-by-executor, awf.executor/unknown-error', severity: error, expression: '%context.subsetOf(''awf.workflow/failed-by-executor'' | ''awf.executor/unknown-error'')'}
        index: 17
      message: {type: string, short: Human-readable explanation of the outcome., index: 18}
      data: {short: Additional data related to the outcome., index: 19}
    required: [message, type]
package_version: 0.2601.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/core/StructureDefinition/AidboxWorkflow
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2601.0
required: [status, definition]