Twiin Workflow
0.3.0-draft - Draft – normative only when referenced by the Twiin afsprakenstelsel

This page is part of the Twiin Workflow (v0.3.0-draft: Release 1 Draft) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions

Resource Profile: Twiin Coordination Task

Official URL: https://fhir.twiin.nl/ig/workflow/StructureDefinition/twiin-coordination-task Version: 0.3.0-draft
Draft as of 2026-10-16 Computable Name: TwiinCoordinationTask

Copyright/Legal: Copyright 2026 Twiin. Licensed under CC BY-SA 4.0.

Coordination Task under TA Workflow (TA sections Summary of the profiles → Coordination Task; Coordination Task; Status of the Coordination Task; Patient context and readability; Type of work on the Task; Sharing additional content; Search parameters; Codes of this TA).

Type of work

The code for the type of work is defined by the use case, not by this IG. The slice input:typeOfWork therefore has the fixed type type-of-work and a value[x] of type CodeableConcept, but no ValueSet. A use case fixes the binding of the codes it allows on the slice typeOfWork in its own profile of this Coordination Task.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and their representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: inv-1, twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element has obligations and must be supported. 1..* Identifier Task Instance Identifier
ObligationsActorSource
SHALL:populate Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
Task.status This element is a modifier element. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element is included in summaries. 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus This element has obligations and must be supported. This element is included in summaries. 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
ObligationsActorSource
SHALL:populate-if-known Placer from Coordination Task
SHALL:handle Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
SHALL:populate-if-known Fulfiller from Coordination Task
Task.intent This element is included in summaries. 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
Task.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Task Type
Binding: TA Workflow Task Code (required)
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.authoredOn C 1..1 dateTime Task Creation Date
Task.requester This element is included in summaries. 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.requester.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.owner This element is included in summaries. 1..1 Reference(HealthcareService) Responsible individual
Task.owner.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: HealthcareService
Task.owner.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.location.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Location
Task.location.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:All Slices Content/Rules for all slices
Task.Slices for input.input:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:All Slices.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Task.Slices for input.input:All Slices.value[x] 1..1 Content to use in performing the task
Task.Slices for input.input:All Slices.value[x].valueBase64Binary base64Binary
Task.Slices for input.input:All Slices.value[x].valueBoolean boolean
Task.Slices for input.input:All Slices.value[x].valueCanonical canonical(Any)
Task.Slices for input.input:All Slices.value[x].valueCode code
Task.Slices for input.input:All Slices.value[x].valueDate date
Task.Slices for input.input:All Slices.value[x].valueDateTime dateTime
Task.Slices for input.input:All Slices.value[x].valueDecimal decimal
Task.Slices for input.input:All Slices.value[x].valueId id
Task.Slices for input.input:All Slices.value[x].valueInstant instant
Task.Slices for input.input:All Slices.value[x].valueInteger integer
Task.Slices for input.input:All Slices.value[x].valueMarkdown markdown
Task.Slices for input.input:All Slices.value[x].valueOid oid
Task.Slices for input.input:All Slices.value[x].valuePositiveInt positiveInt
Task.Slices for input.input:All Slices.value[x].valueString string
Task.Slices for input.input:All Slices.value[x].valueTime time
Task.Slices for input.input:All Slices.value[x].valueUnsignedInt unsignedInt
Task.Slices for input.input:All Slices.value[x].valueUri uri
Task.Slices for input.input:All Slices.value[x].valueUrl url
Task.Slices for input.input:All Slices.value[x].valueUuid uuid
Task.Slices for input.input:All Slices.value[x].valueAddress Address
Task.Slices for input.input:All Slices.value[x].valueAge Age
Task.Slices for input.input:All Slices.value[x].valueAnnotation Annotation
Task.Slices for input.input:All Slices.value[x].valueAttachment Attachment
Task.Slices for input.input:All Slices.value[x].valueCodeableConcept CodeableConcept
Task.Slices for input.input:All Slices.value[x].valueCoding Coding
Task.Slices for input.input:All Slices.value[x].valueContactPoint ContactPoint
Task.Slices for input.input:All Slices.value[x].valueCount Count
Task.Slices for input.input:All Slices.value[x].valueDistance Distance
Task.Slices for input.input:All Slices.value[x].valueDuration Duration
Task.Slices for input.input:All Slices.value[x].valueHumanName HumanName
Task.Slices for input.input:All Slices.value[x].valueIdentifier Identifier
Task.Slices for input.input:All Slices.value[x].valueMoney Money
Task.Slices for input.input:All Slices.value[x].valuePeriod Period
Task.Slices for input.input:All Slices.value[x].valueQuantity Quantity
Task.Slices for input.input:All Slices.value[x].valueRange Range
Task.Slices for input.input:All Slices.value[x].valueRatio Ratio
Task.Slices for input.input:All Slices.value[x].valueReference Reference(Any)
Task.Slices for input.input:All Slices.value[x].valueSampledData SampledData
Task.Slices for input.input:All Slices.value[x].valueSignature Signature
Task.Slices for input.input:All Slices.value[x].valueTiming Timing
Task.Slices for input.input:All Slices.value[x].valueContactDetail ContactDetail
Task.Slices for input.input:All Slices.value[x].valueContributor Contributor
Task.Slices for input.input:All Slices.value[x].valueDataRequirement DataRequirement
Task.Slices for input.input:All Slices.value[x].valueExpression Expression
Task.Slices for input.input:All Slices.value[x].valueParameterDefinition ParameterDefinition
Task.Slices for input.input:All Slices.value[x].valueRelatedArtifact RelatedArtifact
Task.Slices for input.input:All Slices.value[x].valueTriggerDefinition TriggerDefinition
Task.Slices for input.input:All Slices.value[x].valueUsageContext UsageContext
Task.Slices for input.input:All Slices.value[x].valueDosage Dosage
Task.Slices for input.input:All Slices.value[x].valueMeta Meta
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:typeOfWork.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:typeOfWork.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalResource.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalResource.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalQuery.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalQuery.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task

doco Documentation for this format
NameFulfillerPlacerdoco
Task
Task / identifier
Task / businessStatus
Task / Slices for input

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG
Task.requester.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.input.type Base example Not State Unknown
Task.input:typeOfWork.​type Base example Not State Unknown
Task.input:supplementalResource.​type Base example Not State Unknown
Task.input:supplementalQuery.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.statusReason 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
Task.intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
Task.focus 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.authoredOn 1..1 dateTime Task Creation Date
Task.requester 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.system 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.owner 1..1 Reference(HealthcareService) Responsible individual
Task.owner.type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: HealthcareService
Task.owner.identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.system 1..1 uri The namespace for the identifier value
Task.owner.identifier.value 1..1 string The value that is unique
Task.owner.identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.system 1..1 uri The namespace for the identifier value
Task.owner.identifier.assigner.identifier.value 1..1 string The value that is unique
Task.location 0..1 Reference(Location) Where task occurs
Task.location.type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Location
Task.location.identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.system 1..1 uri The namespace for the identifier value
Task.location.identifier.value 1..1 string The value that is unique
Task.location.identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.system 1..1 uri The namespace for the identifier value
Task.location.identifier.assigner.identifier.value 1..1 string The value that is unique
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task

doco Documentation for this format
Namedoco

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG

Constraints

Id Grade Path(s) Description Expression
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: inv-1, twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.id This element is included in summaries. 0..1 id Logical id of this artifact
Task.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Task.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Task.contained 0..* Resource Contained, inline Resources
Task.extension 0..* Extension Additional content defined by implementations
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element has obligations and must be supported. 1..* Identifier Task Instance Identifier
ObligationsActorSource
SHALL:populate Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
Task.instantiatesCanonical This element is included in summaries. 0..1 canonical(ActivityDefinition) Formal definition of task
Task.instantiatesUri This element is included in summaries. 0..1 uri Formal definition of task
Task.basedOn This element is included in summaries. 0..* Reference(Resource) Request fulfilled by this task
Task.groupIdentifier This element is included in summaries. 0..1 Identifier Requisition or grouper id
Task.partOf This element is included in summaries. 0..* Reference(Task) Composite task
Task.status This element is a modifier element. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element is included in summaries. 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus This element has obligations and must be supported. This element is included in summaries. 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
ObligationsActorSource
SHALL:populate-if-known Placer from Coordination Task
SHALL:handle Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
SHALL:populate-if-known Fulfiller from Coordination Task
Task.intent This element is included in summaries. 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
Task.priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Task Type
Binding: TA Workflow Task Code (required)
Task.description This element is included in summaries. 0..1 string Human-readable explanation of task
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.for This element is included in summaries. 0..1 Reference(Resource) Beneficiary of the Task
Task.encounter This element is included in summaries. 0..1 Reference(Encounter) Healthcare event during which this task originated
Task.executionPeriod This element is included in summaries. 0..1 Period Start and end time of execution
Task.authoredOn C 1..1 dateTime Task Creation Date
Task.lastModified This element is included in summaries. C 0..1 dateTime Task Last Modified Date
Task.requester This element is included in summaries. 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.id 0..1 string Unique id for inter-element referencing
Task.requester.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.requester.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.requester.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.requester.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.id 0..1 string Unique id for inter-element referencing
Task.requester.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.requester.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.requester.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.requester.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.requester.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Task.requester.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.requester.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.requester.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element is included in summaries. 1..1 Reference(HealthcareService) Responsible individual
Task.owner.id 0..1 string Unique id for inter-element referencing
Task.owner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.owner.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: HealthcareService
Task.owner.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.owner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.owner.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.owner.identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.owner.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.assigner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.owner.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.owner.identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.owner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.location.id 0..1 string Unique id for inter-element referencing
Task.location.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.location.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Location
Task.location.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.location.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.location.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.location.identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.location.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.assigner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.location.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.location.identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.location.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.reasonCode 0..1 CodeableConcept Why task is needed
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
Task.reasonReference 0..1 Reference(Resource) Why task is needed
Task.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Task.note 0..* Annotation Comments made about the task
Task.relevantHistory 0..* Reference(Provenance) Key events in history of the Task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.id 0..1 string Unique id for inter-element referencing
Task.restriction.extension 0..* Extension Additional content defined by implementations
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.repetitions 0..1 positiveInt How many times to repeat
Task.restriction.period 0..1 Period When fulfillment sought
Task.restriction.recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:All Slices Content/Rules for all slices
Task.Slices for input.input:All Slices.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:All Slices.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:All Slices.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Task.Slices for input.input:All Slices.value[x] 1..1 Content to use in performing the task
Task.Slices for input.input:All Slices.value[x].valueBase64Binary base64Binary
Task.Slices for input.input:All Slices.value[x].valueBoolean boolean
Task.Slices for input.input:All Slices.value[x].valueCanonical canonical(Any)
Task.Slices for input.input:All Slices.value[x].valueCode code
Task.Slices for input.input:All Slices.value[x].valueDate date
Task.Slices for input.input:All Slices.value[x].valueDateTime dateTime
Task.Slices for input.input:All Slices.value[x].valueDecimal decimal
Task.Slices for input.input:All Slices.value[x].valueId id
Task.Slices for input.input:All Slices.value[x].valueInstant instant
Task.Slices for input.input:All Slices.value[x].valueInteger integer
Task.Slices for input.input:All Slices.value[x].valueMarkdown markdown
Task.Slices for input.input:All Slices.value[x].valueOid oid
Task.Slices for input.input:All Slices.value[x].valuePositiveInt positiveInt
Task.Slices for input.input:All Slices.value[x].valueString string
Task.Slices for input.input:All Slices.value[x].valueTime time
Task.Slices for input.input:All Slices.value[x].valueUnsignedInt unsignedInt
Task.Slices for input.input:All Slices.value[x].valueUri uri
Task.Slices for input.input:All Slices.value[x].valueUrl url
Task.Slices for input.input:All Slices.value[x].valueUuid uuid
Task.Slices for input.input:All Slices.value[x].valueAddress Address
Task.Slices for input.input:All Slices.value[x].valueAge Age
Task.Slices for input.input:All Slices.value[x].valueAnnotation Annotation
Task.Slices for input.input:All Slices.value[x].valueAttachment Attachment
Task.Slices for input.input:All Slices.value[x].valueCodeableConcept CodeableConcept
Task.Slices for input.input:All Slices.value[x].valueCoding Coding
Task.Slices for input.input:All Slices.value[x].valueContactPoint ContactPoint
Task.Slices for input.input:All Slices.value[x].valueCount Count
Task.Slices for input.input:All Slices.value[x].valueDistance Distance
Task.Slices for input.input:All Slices.value[x].valueDuration Duration
Task.Slices for input.input:All Slices.value[x].valueHumanName HumanName
Task.Slices for input.input:All Slices.value[x].valueIdentifier Identifier
Task.Slices for input.input:All Slices.value[x].valueMoney Money
Task.Slices for input.input:All Slices.value[x].valuePeriod Period
Task.Slices for input.input:All Slices.value[x].valueQuantity Quantity
Task.Slices for input.input:All Slices.value[x].valueRange Range
Task.Slices for input.input:All Slices.value[x].valueRatio Ratio
Task.Slices for input.input:All Slices.value[x].valueReference Reference(Any)
Task.Slices for input.input:All Slices.value[x].valueSampledData SampledData
Task.Slices for input.input:All Slices.value[x].valueSignature Signature
Task.Slices for input.input:All Slices.value[x].valueTiming Timing
Task.Slices for input.input:All Slices.value[x].valueContactDetail ContactDetail
Task.Slices for input.input:All Slices.value[x].valueContributor Contributor
Task.Slices for input.input:All Slices.value[x].valueDataRequirement DataRequirement
Task.Slices for input.input:All Slices.value[x].valueExpression Expression
Task.Slices for input.input:All Slices.value[x].valueParameterDefinition ParameterDefinition
Task.Slices for input.input:All Slices.value[x].valueRelatedArtifact RelatedArtifact
Task.Slices for input.input:All Slices.value[x].valueTriggerDefinition TriggerDefinition
Task.Slices for input.input:All Slices.value[x].valueUsageContext UsageContext
Task.Slices for input.input:All Slices.value[x].valueDosage Dosage
Task.Slices for input.input:All Slices.value[x].valueMeta Meta
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:typeOfWork.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:typeOfWork.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalResource.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalResource.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalQuery.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalQuery.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task
Task.output 0..* BackboneElement Information produced as part of task
Task.output.id 0..1 string Unique id for inter-element referencing
Task.output.extension 0..* Extension Additional content defined by implementations
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
Task.output.value[x] 1..1 Result of output
Task.output.value[x].valueBase64Binary base64Binary
Task.output.value[x].valueBoolean boolean
Task.output.value[x].valueCanonical canonical(Any)
Task.output.value[x].valueCode code
Task.output.value[x].valueDate date
Task.output.value[x].valueDateTime dateTime
Task.output.value[x].valueDecimal decimal
Task.output.value[x].valueId id
Task.output.value[x].valueInstant instant
Task.output.value[x].valueInteger integer
Task.output.value[x].valueMarkdown markdown
Task.output.value[x].valueOid oid
Task.output.value[x].valuePositiveInt positiveInt
Task.output.value[x].valueString string
Task.output.value[x].valueTime time
Task.output.value[x].valueUnsignedInt unsignedInt
Task.output.value[x].valueUri uri
Task.output.value[x].valueUrl url
Task.output.value[x].valueUuid uuid
Task.output.value[x].valueAddress Address
Task.output.value[x].valueAge Age
Task.output.value[x].valueAnnotation Annotation
Task.output.value[x].valueAttachment Attachment
Task.output.value[x].valueCodeableConcept CodeableConcept
Task.output.value[x].valueCoding Coding
Task.output.value[x].valueContactPoint ContactPoint
Task.output.value[x].valueCount Count
Task.output.value[x].valueDistance Distance
Task.output.value[x].valueDuration Duration
Task.output.value[x].valueHumanName HumanName
Task.output.value[x].valueIdentifier Identifier
Task.output.value[x].valueMoney Money
Task.output.value[x].valuePeriod Period
Task.output.value[x].valueQuantity Quantity
Task.output.value[x].valueRange Range
Task.output.value[x].valueRatio Ratio
Task.output.value[x].valueReference Reference(Any)
Task.output.value[x].valueSampledData SampledData
Task.output.value[x].valueSignature Signature
Task.output.value[x].valueTiming Timing
Task.output.value[x].valueContactDetail ContactDetail
Task.output.value[x].valueContributor Contributor
Task.output.value[x].valueDataRequirement DataRequirement
Task.output.value[x].valueExpression Expression
Task.output.value[x].valueParameterDefinition ParameterDefinition
Task.output.value[x].valueRelatedArtifact RelatedArtifact
Task.output.value[x].valueTriggerDefinition TriggerDefinition
Task.output.value[x].valueUsageContext UsageContext
Task.output.value[x].valueDosage Dosage
Task.output.value[x].valueMeta Meta

doco Documentation for this format
NameFulfillerPlacerdoco
Task
Task / identifier
Task / businessStatus
Task / Slices for input

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG
Task.requester.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.requester.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.requester.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.performerType Base preferred Procedure Performer Role Codes 📦4.0.1 FHIR Std.
Task.owner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.location.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:typeOfWork.​type Base example Not State Unknown
Task.input:supplementalResource.​type Base example Not State Unknown
Task.input:supplementalQuery.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()

Summary

Mandatory: 15 elements(8 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Task.input

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: inv-1, twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element has obligations and must be supported. 1..* Identifier Task Instance Identifier
ObligationsActorSource
SHALL:populate Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
Task.status This element is a modifier element. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element is included in summaries. 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus This element has obligations and must be supported. This element is included in summaries. 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
ObligationsActorSource
SHALL:populate-if-known Placer from Coordination Task
SHALL:handle Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
SHALL:populate-if-known Fulfiller from Coordination Task
Task.intent This element is included in summaries. 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
Task.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Task Type
Binding: TA Workflow Task Code (required)
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.authoredOn C 1..1 dateTime Task Creation Date
Task.requester This element is included in summaries. 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.requester.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.owner This element is included in summaries. 1..1 Reference(HealthcareService) Responsible individual
Task.owner.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: HealthcareService
Task.owner.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.location.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Location
Task.location.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:All Slices Content/Rules for all slices
Task.Slices for input.input:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:All Slices.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Task.Slices for input.input:All Slices.value[x] 1..1 Content to use in performing the task
Task.Slices for input.input:All Slices.value[x].valueBase64Binary base64Binary
Task.Slices for input.input:All Slices.value[x].valueBoolean boolean
Task.Slices for input.input:All Slices.value[x].valueCanonical canonical(Any)
Task.Slices for input.input:All Slices.value[x].valueCode code
Task.Slices for input.input:All Slices.value[x].valueDate date
Task.Slices for input.input:All Slices.value[x].valueDateTime dateTime
Task.Slices for input.input:All Slices.value[x].valueDecimal decimal
Task.Slices for input.input:All Slices.value[x].valueId id
Task.Slices for input.input:All Slices.value[x].valueInstant instant
Task.Slices for input.input:All Slices.value[x].valueInteger integer
Task.Slices for input.input:All Slices.value[x].valueMarkdown markdown
Task.Slices for input.input:All Slices.value[x].valueOid oid
Task.Slices for input.input:All Slices.value[x].valuePositiveInt positiveInt
Task.Slices for input.input:All Slices.value[x].valueString string
Task.Slices for input.input:All Slices.value[x].valueTime time
Task.Slices for input.input:All Slices.value[x].valueUnsignedInt unsignedInt
Task.Slices for input.input:All Slices.value[x].valueUri uri
Task.Slices for input.input:All Slices.value[x].valueUrl url
Task.Slices for input.input:All Slices.value[x].valueUuid uuid
Task.Slices for input.input:All Slices.value[x].valueAddress Address
Task.Slices for input.input:All Slices.value[x].valueAge Age
Task.Slices for input.input:All Slices.value[x].valueAnnotation Annotation
Task.Slices for input.input:All Slices.value[x].valueAttachment Attachment
Task.Slices for input.input:All Slices.value[x].valueCodeableConcept CodeableConcept
Task.Slices for input.input:All Slices.value[x].valueCoding Coding
Task.Slices for input.input:All Slices.value[x].valueContactPoint ContactPoint
Task.Slices for input.input:All Slices.value[x].valueCount Count
Task.Slices for input.input:All Slices.value[x].valueDistance Distance
Task.Slices for input.input:All Slices.value[x].valueDuration Duration
Task.Slices for input.input:All Slices.value[x].valueHumanName HumanName
Task.Slices for input.input:All Slices.value[x].valueIdentifier Identifier
Task.Slices for input.input:All Slices.value[x].valueMoney Money
Task.Slices for input.input:All Slices.value[x].valuePeriod Period
Task.Slices for input.input:All Slices.value[x].valueQuantity Quantity
Task.Slices for input.input:All Slices.value[x].valueRange Range
Task.Slices for input.input:All Slices.value[x].valueRatio Ratio
Task.Slices for input.input:All Slices.value[x].valueReference Reference(Any)
Task.Slices for input.input:All Slices.value[x].valueSampledData SampledData
Task.Slices for input.input:All Slices.value[x].valueSignature Signature
Task.Slices for input.input:All Slices.value[x].valueTiming Timing
Task.Slices for input.input:All Slices.value[x].valueContactDetail ContactDetail
Task.Slices for input.input:All Slices.value[x].valueContributor Contributor
Task.Slices for input.input:All Slices.value[x].valueDataRequirement DataRequirement
Task.Slices for input.input:All Slices.value[x].valueExpression Expression
Task.Slices for input.input:All Slices.value[x].valueParameterDefinition ParameterDefinition
Task.Slices for input.input:All Slices.value[x].valueRelatedArtifact RelatedArtifact
Task.Slices for input.input:All Slices.value[x].valueTriggerDefinition TriggerDefinition
Task.Slices for input.input:All Slices.value[x].valueUsageContext UsageContext
Task.Slices for input.input:All Slices.value[x].valueDosage Dosage
Task.Slices for input.input:All Slices.value[x].valueMeta Meta
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:typeOfWork.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:typeOfWork.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalResource.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalResource.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalQuery.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalQuery.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task

doco Documentation for this format
NameFulfillerPlacerdoco
Task
Task / identifier
Task / businessStatus
Task / Slices for input

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG
Task.requester.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.input.type Base example Not State Unknown
Task.input:typeOfWork.​type Base example Not State Unknown
Task.input:supplementalResource.​type Base example Not State Unknown
Task.input:supplementalQuery.​type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.statusReason 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
Task.intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
Task.code 1..1 CodeableConcept Task Type
Binding: TA Workflow Task Code (required)
Task.focus 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.authoredOn 1..1 dateTime Task Creation Date
Task.requester 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.system 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.owner 1..1 Reference(HealthcareService) Responsible individual
Task.owner.type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: HealthcareService
Task.owner.identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.system 1..1 uri The namespace for the identifier value
Task.owner.identifier.value 1..1 string The value that is unique
Task.owner.identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.system 1..1 uri The namespace for the identifier value
Task.owner.identifier.assigner.identifier.value 1..1 string The value that is unique
Task.location 0..1 Reference(Location) Where task occurs
Task.location.type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Location
Task.location.identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.system 1..1 uri The namespace for the identifier value
Task.location.identifier.value 1..1 string The value that is unique
Task.location.identifier.assigner 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.identifier 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.system 1..1 uri The namespace for the identifier value
Task.location.identifier.assigner.identifier.value 1..1 string The value that is unique
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task

doco Documentation for this format
Namedoco

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG

Constraints

Id Grade Path(s) Description Expression
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* CoordinationTask A task to be performed
Constraints: inv-1, twiin-ct-1, twiin-ct-2, twiin-ct-3, twiin-ct-5, twiin-ct-6, twiin-ct-7, twiin-task-1
Task.id This element is included in summaries. 0..1 id Logical id of this artifact
Task.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Task.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Task.contained 0..* Resource Contained, inline Resources
Task.extension 0..* Extension Additional content defined by implementations
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element has obligations and must be supported. 1..* Identifier Task Instance Identifier
ObligationsActorSource
SHALL:populate Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
Task.instantiatesCanonical This element is included in summaries. 0..1 canonical(ActivityDefinition) Formal definition of task
Task.instantiatesUri This element is included in summaries. 0..1 uri Formal definition of task
Task.basedOn This element is included in summaries. 0..* Reference(Resource) Request fulfilled by this task
Task.groupIdentifier This element is included in summaries. 0..1 Identifier Requisition or grouper id
Task.partOf This element is included in summaries. 0..* Reference(Task) Composite task
Task.status This element is a modifier element. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element is included in summaries. 0..1 CodeableConcept Reason for current status
Binding: TA Workflow Status Reason (extensible)
Task.businessStatus This element has obligations and must be supported. This element is included in summaries. 0..1 CodeableConcept Progress within the status; selected is reserved for the Placer
Binding: TA Workflow Business Status (extensible)
ObligationsActorSource
SHALL:populate-if-known Placer from Coordination Task
SHALL:handle Placer from Coordination Task
SHALL:handle Fulfiller from Coordination Task
SHALL:populate-if-known Fulfiller from Coordination Task
Task.intent This element is included in summaries. 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.
Required Pattern: order
Task.priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element must be supported. This element is included in summaries. 1..1 CodeableConcept Task Type
Binding: TA Workflow Task Code (required)
Task.description This element is included in summaries. 0..1 string Human-readable explanation of task
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Twiin Workflow ServiceRequest) This can only reference a Request resource.
Task.for This element is included in summaries. 0..1 Reference(Resource) Beneficiary of the Task
Task.encounter This element is included in summaries. 0..1 Reference(Encounter) Healthcare event during which this task originated
Task.executionPeriod This element is included in summaries. 0..1 Period Start and end time of execution
Task.authoredOn C 1..1 dateTime Task Creation Date
Task.lastModified This element is included in summaries. C 0..1 dateTime Task Last Modified Date
Task.requester This element is included in summaries. 1..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.requester.id 0..1 string Unique id for inter-element referencing
Task.requester.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.requester.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.requester.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.requester.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.requester.identifier.id 0..1 string Unique id for inter-element referencing
Task.requester.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.requester.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.requester.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.requester.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: http://fhir.nl/fhir/NamingSystem/ura
Task.requester.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
Task.requester.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.requester.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.requester.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element is included in summaries. 1..1 Reference(HealthcareService) Responsible individual
Task.owner.id 0..1 string Unique id for inter-element referencing
Task.owner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.owner.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: HealthcareService
Task.owner.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.owner.identifier.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.owner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.owner.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.owner.identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.owner.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.owner.identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Task.owner.identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.owner.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.owner.identifier.assigner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.owner.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.owner.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.owner.identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.owner.identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.owner.identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.owner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.location.id 0..1 string Unique id for inter-element referencing
Task.location.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.location.type This element is included in summaries. 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Location
Task.location.identifier This element is included in summaries. C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: twiin-aid-1
Task.location.identifier.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.location.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.location.identifier.assigner This element is included in summaries. 1..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.assigner.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.assigner.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.location.identifier.assigner.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Task.location.identifier.assigner.identifier This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Task.location.identifier.assigner.identifier.id 0..1 string Unique id for inter-element referencing
Task.location.identifier.assigner.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.location.identifier.assigner.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Task.location.identifier.assigner.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Task.location.identifier.assigner.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Task.location.identifier.assigner.identifier.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Task.location.identifier.assigner.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Task.location.identifier.assigner.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Task.location.identifier.assigner.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.location.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.reasonCode 0..1 CodeableConcept Why task is needed
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
Task.reasonReference 0..1 Reference(Resource) Why task is needed
Task.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Task.note 0..* Annotation Comments made about the task
Task.relevantHistory 0..* Reference(Provenance) Key events in history of the Task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.id 0..1 string Unique id for inter-element referencing
Task.restriction.extension 0..* Extension Additional content defined by implementations
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.repetitions 0..1 positiveInt How many times to repeat
Task.restriction.period 0..1 Period When fulfillment sought
Task.restriction.recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
Task.Slices for input 1..* BackboneElement Information used to perform task
Slice: Unordered, Open by pattern:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Task.Slices for input.input:All Slices Content/Rules for all slices
Task.Slices for input.input:All Slices.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:All Slices.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:All Slices.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Task.Slices for input.input:All Slices.value[x] 1..1 Content to use in performing the task
Task.Slices for input.input:All Slices.value[x].valueBase64Binary base64Binary
Task.Slices for input.input:All Slices.value[x].valueBoolean boolean
Task.Slices for input.input:All Slices.value[x].valueCanonical canonical(Any)
Task.Slices for input.input:All Slices.value[x].valueCode code
Task.Slices for input.input:All Slices.value[x].valueDate date
Task.Slices for input.input:All Slices.value[x].valueDateTime dateTime
Task.Slices for input.input:All Slices.value[x].valueDecimal decimal
Task.Slices for input.input:All Slices.value[x].valueId id
Task.Slices for input.input:All Slices.value[x].valueInstant instant
Task.Slices for input.input:All Slices.value[x].valueInteger integer
Task.Slices for input.input:All Slices.value[x].valueMarkdown markdown
Task.Slices for input.input:All Slices.value[x].valueOid oid
Task.Slices for input.input:All Slices.value[x].valuePositiveInt positiveInt
Task.Slices for input.input:All Slices.value[x].valueString string
Task.Slices for input.input:All Slices.value[x].valueTime time
Task.Slices for input.input:All Slices.value[x].valueUnsignedInt unsignedInt
Task.Slices for input.input:All Slices.value[x].valueUri uri
Task.Slices for input.input:All Slices.value[x].valueUrl url
Task.Slices for input.input:All Slices.value[x].valueUuid uuid
Task.Slices for input.input:All Slices.value[x].valueAddress Address
Task.Slices for input.input:All Slices.value[x].valueAge Age
Task.Slices for input.input:All Slices.value[x].valueAnnotation Annotation
Task.Slices for input.input:All Slices.value[x].valueAttachment Attachment
Task.Slices for input.input:All Slices.value[x].valueCodeableConcept CodeableConcept
Task.Slices for input.input:All Slices.value[x].valueCoding Coding
Task.Slices for input.input:All Slices.value[x].valueContactPoint ContactPoint
Task.Slices for input.input:All Slices.value[x].valueCount Count
Task.Slices for input.input:All Slices.value[x].valueDistance Distance
Task.Slices for input.input:All Slices.value[x].valueDuration Duration
Task.Slices for input.input:All Slices.value[x].valueHumanName HumanName
Task.Slices for input.input:All Slices.value[x].valueIdentifier Identifier
Task.Slices for input.input:All Slices.value[x].valueMoney Money
Task.Slices for input.input:All Slices.value[x].valuePeriod Period
Task.Slices for input.input:All Slices.value[x].valueQuantity Quantity
Task.Slices for input.input:All Slices.value[x].valueRange Range
Task.Slices for input.input:All Slices.value[x].valueRatio Ratio
Task.Slices for input.input:All Slices.value[x].valueReference Reference(Any)
Task.Slices for input.input:All Slices.value[x].valueSampledData SampledData
Task.Slices for input.input:All Slices.value[x].valueSignature Signature
Task.Slices for input.input:All Slices.value[x].valueTiming Timing
Task.Slices for input.input:All Slices.value[x].valueContactDetail ContactDetail
Task.Slices for input.input:All Slices.value[x].valueContributor Contributor
Task.Slices for input.input:All Slices.value[x].valueDataRequirement DataRequirement
Task.Slices for input.input:All Slices.value[x].valueExpression Expression
Task.Slices for input.input:All Slices.value[x].valueParameterDefinition ParameterDefinition
Task.Slices for input.input:All Slices.value[x].valueRelatedArtifact RelatedArtifact
Task.Slices for input.input:All Slices.value[x].valueTriggerDefinition TriggerDefinition
Task.Slices for input.input:All Slices.value[x].valueUsageContext UsageContext
Task.Slices for input.input:All Slices.value[x].valueDosage Dosage
Task.Slices for input.input:All Slices.value[x].valueMeta Meta
Task.Slices for input.input:typeOfWork 1..1 BackboneElement Information used to perform task
Task.Slices for input.input:typeOfWork.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:typeOfWork.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:typeOfWork.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:typeOfWork.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:typeOfWork.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:typeOfWork.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:typeOfWork.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:typeOfWork.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: type-of-work
Task.Slices for input.input:typeOfWork.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:typeOfWork.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:typeOfWork.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:typeOfWork.value[x] 1..1 CodeableConcept Content to use in performing the task
Task.Slices for input.input:supplementalResource 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalResource.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalResource.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalResource.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalResource.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalResource.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalResource.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalResource.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalResource.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-resource
Task.Slices for input.input:supplementalResource.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalResource.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalResource.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalResource.value[x] 1..1 Reference() Content to use in performing the task
Task.Slices for input.input:supplementalQuery 0..* BackboneElement Information used to perform task
Task.Slices for input.input:supplementalQuery.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.Slices for input.input:supplementalQuery.type 1..1 CodeableConcept Label for the input
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
Required Pattern: At least the following
Task.Slices for input.input:supplementalQuery.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Task.Slices for input.input:supplementalQuery.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:supplementalQuery.type.coding.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:supplementalQuery.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow
Task.Slices for input.input:supplementalQuery.type.coding.version 0..1 string Version of the system - if relevant
Task.Slices for input.input:supplementalQuery.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: supplemental-query
Task.Slices for input.input:supplementalQuery.type.coding.display 0..1 string Representation defined by the system
Task.Slices for input.input:supplementalQuery.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:supplementalQuery.type.text 0..1 string Plain text representation of the concept
Task.Slices for input.input:supplementalQuery.value[x] 1..1 string Content to use in performing the task
Task.output 0..* BackboneElement Information produced as part of task
Task.output.id 0..1 string Unique id for inter-element referencing
Task.output.extension 0..* Extension Additional content defined by implementations
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
Task.output.value[x] 1..1 Result of output
Task.output.value[x].valueBase64Binary base64Binary
Task.output.value[x].valueBoolean boolean
Task.output.value[x].valueCanonical canonical(Any)
Task.output.value[x].valueCode code
Task.output.value[x].valueDate date
Task.output.value[x].valueDateTime dateTime
Task.output.value[x].valueDecimal decimal
Task.output.value[x].valueId id
Task.output.value[x].valueInstant instant
Task.output.value[x].valueInteger integer
Task.output.value[x].valueMarkdown markdown
Task.output.value[x].valueOid oid
Task.output.value[x].valuePositiveInt positiveInt
Task.output.value[x].valueString string
Task.output.value[x].valueTime time
Task.output.value[x].valueUnsignedInt unsignedInt
Task.output.value[x].valueUri uri
Task.output.value[x].valueUrl url
Task.output.value[x].valueUuid uuid
Task.output.value[x].valueAddress Address
Task.output.value[x].valueAge Age
Task.output.value[x].valueAnnotation Annotation
Task.output.value[x].valueAttachment Attachment
Task.output.value[x].valueCodeableConcept CodeableConcept
Task.output.value[x].valueCoding Coding
Task.output.value[x].valueContactPoint ContactPoint
Task.output.value[x].valueCount Count
Task.output.value[x].valueDistance Distance
Task.output.value[x].valueDuration Duration
Task.output.value[x].valueHumanName HumanName
Task.output.value[x].valueIdentifier Identifier
Task.output.value[x].valueMoney Money
Task.output.value[x].valuePeriod Period
Task.output.value[x].valueQuantity Quantity
Task.output.value[x].valueRange Range
Task.output.value[x].valueRatio Ratio
Task.output.value[x].valueReference Reference(Any)
Task.output.value[x].valueSampledData SampledData
Task.output.value[x].valueSignature Signature
Task.output.value[x].valueTiming Timing
Task.output.value[x].valueContactDetail ContactDetail
Task.output.value[x].valueContributor Contributor
Task.output.value[x].valueDataRequirement DataRequirement
Task.output.value[x].valueExpression Expression
Task.output.value[x].valueParameterDefinition ParameterDefinition
Task.output.value[x].valueRelatedArtifact RelatedArtifact
Task.output.value[x].valueTriggerDefinition TriggerDefinition
Task.output.value[x].valueUsageContext UsageContext
Task.output.value[x].valueDosage Dosage
Task.output.value[x].valueMeta Meta

doco Documentation for this format
NameFulfillerPlacerdoco
Task
Task / identifier
Task / businessStatus
Task / Slices for input

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.statusReason Base extensible TA Workflow Status Reason 📦0.3.0-draft This IG
Task.businessStatus Base extensible TA Workflow Business Status 📦0.3.0-draft This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.priority Base required Request priority 📍4.0.1 FHIR Std.
Task.code Base required TA Workflow Task Code 📦0.3.0-draft This IG
Task.requester.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.requester.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.requester.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.performerType Base preferred Procedure Performer Role Codes 📦4.0.1 FHIR Std.
Task.owner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.owner.identifier.​assigner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.location.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Task.location.identifier.​assigner.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:typeOfWork.​type Base example Not State Unknown
Task.input:supplementalResource.​type Base example Not State Unknown
Task.input:supplementalQuery.​type Base example Not State Unknown
Task.output.type Base example Not State Unknown

Constraints

Id Grade Path(s) Description Expression
dom-2 error Task If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Task If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Task If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Task If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Task A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
inv-1 error Task Last modified date must be greater than or equal to authored-on date. lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
twiin-aid-1 error Task.owner.identifier, Task.location.identifier The assigner of the identifier is not identified by a KvK number (TA section Search parameters). assigner.identifier.where(system = 'http://kvk.nl').empty()
twiin-ct-1 error Task The statuses draft, ready and on-hold are not used (TA section Status of the Coordination Task). (status = 'draft' or status = 'ready' or status = 'on-hold').not()
twiin-ct-2 error Task statusReason not-selected is used only when the status is cancelled (TA section Reason for cancelling a non-selected candidate). statusReason.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'not-selected').exists() implies status = 'cancelled'
twiin-ct-3 error Task When businessStatus is selected, code is fulfill and for is populated (TA sections Multiple Fulfillers Pattern; Patient context and readability). businessStatus.coding.where(system = 'https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow' and code = 'selected').exists() implies (code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists() and for.exists())
twiin-ct-5 warning Task statusReason SHOULD be populated when the status is rejected or cancelled (TA section Summary of the profiles → Coordination Task). (status = 'rejected' or status = 'cancelled') implies statusReason.exists()
twiin-ct-6 warning Task Task.for.identifier is not populated (TA section Patient context and readability). for.identifier.empty()
twiin-ct-7 error Task Work is started or completed only with Task.code fulfill (TA sections Recognizing the pattern that applies; Status of the Coordination Task). (status = 'in-progress' or status = 'completed') implies code.coding.where(system = 'http://hl7.org/fhir/CodeSystem/task-code' and code = 'fulfill').exists()
twiin-task-1 warning Task When statusReason is populated, statusReason.text SHOULD be populated (TA section Summary of the profiles). statusReason.exists() implies statusReason.text.exists()

Summary

Mandatory: 15 elements(8 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Task.input

 

Other representations of profile: CSV, Excel, Schematron