FHIR IG analytics| Package | io.health-samurai.core.r4b |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-AidboxTask.json |
| FHIR Version | R4B |
| Source | https://simplifier.net/resolve?scope=io.health-samurai.core.r4b@0.2601.0&canonical=http://health-samurai.io/fhir/core/StructureDefinition/AidboxTask |
| URL | http://health-samurai.io/fhir/core/StructureDefinition/AidboxTask |
| Version | 0.2601.0 |
| Status | active |
| Name | AidboxTask |
| Type | AidboxTask |
| Kind | resource |
No resources found
No resources found
No narrative content found in resource
{
"derivation": "specialization",
"fhirVersion": "4.3.0",
"name": "AidboxTask",
"abstract": false,
"type": "AidboxTask",
"resourceType": "StructureDefinition",
"status": "active",
"id": "AidboxTask",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxTask",
"version": "0.2601.0",
"differential": {
"element": [
{
"id": "AidboxTask",
"path": "AidboxTask",
"min": 0,
"max": "*"
},
{
"id": "AidboxTask.definition",
"path": "AidboxTask.definition",
"short": "Identifier for the task definition.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.params",
"path": "AidboxTask.params",
"short": "Parameters required for task execution.",
"min": 1,
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
}
]
},
{
"id": "AidboxTask.status",
"path": "AidboxTask.status",
"short": "Current status of the task.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "enum-31",
"severity": "error",
"human": "Status must be one of: created, ready, requested, in-progress, done, waiting",
"expression": "%context.subsetOf('created' | 'ready' | 'requested' | 'in-progress' | 'done' | 'waiting')"
}
]
},
{
"id": "AidboxTask.inProgressTimeout",
"path": "AidboxTask.inProgressTimeout",
"short": "Maximum duration in seconds that a task can remain in in-progress status before timing out.",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "AidboxTask.concurrencyPath",
"path": "AidboxTask.concurrencyPath",
"min": 0,
"max": "*",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "string"
}
]
},
{
"id": "AidboxTask.executeAt",
"path": "AidboxTask.executeAt",
"short": "Scheduled time for task execution.",
"min": 0,
"max": "1",
"type": [
{
"code": "dateTime"
}
]
},
{
"id": "AidboxTask.retryCount",
"path": "AidboxTask.retryCount",
"short": "Number of times the task has been retried.",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "AidboxTask.requestedToStartTimeout",
"path": "AidboxTask.requestedToStartTimeout",
"short": "Maximum duration in seconds that a task can remain in requested status before timing out.",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "AidboxTask.outcome",
"path": "AidboxTask.outcome",
"short": "Final outcome of the task execution.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "enum-30",
"severity": "error",
"human": "Outcome must be one of: succeeded, failed, canceled",
"expression": "%context.subsetOf('succeeded' | 'failed' | 'canceled')"
}
]
},
{
"id": "AidboxTask.workflow-definition",
"path": "AidboxTask.workflow-definition",
"short": "Reference to the workflow definition for this task.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.concurrencyLimit",
"path": "AidboxTask.concurrencyLimit",
"short": "Maximum number of concurrent tasks allowed.",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "AidboxTask.retryDelay",
"path": "AidboxTask.retryDelay",
"short": "Delay in seconds before retrying a failed task.",
"min": 0,
"max": "1",
"type": [
{
"code": "decimal"
}
]
},
{
"id": "AidboxTask.requester",
"path": "AidboxTask.requester",
"short": "Entity that requested the task.",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "AidboxTask.requester.id",
"path": "AidboxTask.requester.id",
"short": "Identifier of the requester.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.requester.resourceType",
"path": "AidboxTask.requester.resourceType",
"short": "Type of resource that made the request.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.requester.display",
"path": "AidboxTask.requester.display",
"short": "Human-readable display name of the requester.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.requester.service",
"path": "AidboxTask.requester.service",
"short": "Service that initiated the request.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.requester.rule",
"path": "AidboxTask.requester.rule",
"short": "Rule that authorized the request.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.result",
"path": "AidboxTask.result",
"short": "Result data produced by successful task execution.",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
}
]
},
{
"id": "AidboxTask.execId",
"path": "AidboxTask.execId",
"short": "Unique execution identifier.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.label",
"path": "AidboxTask.label",
"short": "Label for the task.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.error",
"path": "AidboxTask.error",
"short": "Error details if task failed.",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
}
]
},
{
"id": "AidboxTask.outcomeReason",
"path": "AidboxTask.outcomeReason",
"short": "Detailed reason for the task outcome.",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "AidboxTask.outcomeReason.type",
"path": "AidboxTask.outcomeReason.type",
"short": "Type of outcome reason.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
],
"constraint": [
{
"key": "enum-32",
"severity": "error",
"human": "Type must be one of: awf.task/failed-due-to-in-progress-timeout, awf.task/failed-by-executor, awf.executor/unknown-error",
"expression": "%context.subsetOf('awf.task/failed-due-to-in-progress-timeout' | 'awf.task/failed-by-executor' | 'awf.executor/unknown-error')"
}
]
},
{
"id": "AidboxTask.outcomeReason.message",
"path": "AidboxTask.outcomeReason.message",
"short": "Human-readable explanation of the outcome.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "AidboxTask.outcomeReason.data",
"path": "AidboxTask.outcomeReason.data",
"short": "Additional data related to the outcome.",
"extension": [
{
"url": "http://health-samurai.io/fhir/core/StructureDefinition/custom-type",
"valueCode": "any"
}
]
},
{
"id": "AidboxTask.allowedRetryCount",
"path": "AidboxTask.allowedRetryCount",
"short": "Maximum number of retries allowed for this task.",
"min": 0,
"max": "1",
"type": [
{
"code": "integer"
}
]
}
]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}