臺灣社政領域基礎實作指引
0.0.1 - ci-build

臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions

Resource Profile: 個案受理與評估-Task TWSS Base

Official URL: https://sfaa.gov.tw/base/StructureDefinition/CaseIntakeAssessmentTask-twss-base Version: 0.0.1
Draft as of 2026-10-21 Computable Name: CaseIntakeAssessmentTaskTWSSBase

因 TW Core IG 0.3.2 尚無針對社福個案受理與評估流程的 Task Profile,故繼承原生 Task,並於設定社福欄位後補回適用的 TW Core 0.3.2 共通交換規則。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-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.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Task 工作狀態
Binding: TaskStatus (required): The current status of the task.
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
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.
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) Beneficiary of the Task
Task.Slices for input 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code

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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.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:assessmentResponse.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:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.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:caseType.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:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.input.type Base example Not State Unknown
Task.input:assessmentResponse.​type Base example Not State Unknown
Task.input:caseType.​type Base example Not State Unknown
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG

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

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task 0..* Task A task to be performed
Task.status This element must be supported. 1..1 code Task 工作狀態
Task.businessStatus This element must be supported. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
Task.focus This element must be supported. 1..1 Reference(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.Slices for input 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code
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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.type
Task.Slices for input.input:assessmentResponse.type.coding
Task.Slices for input.input:assessmentResponse.type.coding.system 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.code 1..1 code Symbol in syntax defined by the system
Required Pattern: assessment-response (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.display 0..1 string Representation defined by the system
Required Pattern: 評估回覆 (extensions allowed)
Task.Slices for input.input:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.type
Task.Slices for input.input:caseType.type.coding
Task.Slices for input.input:caseType.type.coding.system 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.code 1..1 code Symbol in syntax defined by the system
Required Pattern: case-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.display 0..1 string Representation defined by the system
Required Pattern: 評估案件類型 (extensions allowed)
Task.Slices for input.input:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 This IG
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-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 0..* Identifier Task Instance Identifier
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 must be supported. This element is included in summaries. 1..1 code Task 工作狀態
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 Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
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.
Task.priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 0..1 CodeableConcept Task Type
Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow.
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(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) 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 0..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. 0..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Responsible individual
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
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 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code

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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:assessmentResponse.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:assessmentResponse.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:assessmentResponse.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:assessmentResponse.type.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Task.Slices for input.input:assessmentResponse.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:assessmentResponse.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Task.Slices for input.input:assessmentResponse.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: assessment-response (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Required Pattern: 評估回覆 (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:assessmentResponse.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Task.Slices for input.input:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:caseType.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:caseType.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:caseType.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:caseType.type.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Task.Slices for input.input:caseType.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:caseType.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Task.Slices for input.input:caseType.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: case-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Required Pattern: 評估案件類型 (extensions allowed)
Task.Slices for input.input:caseType.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:caseType.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Task.Slices for input.input:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)
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

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 example Not State Unknown
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 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 example Task Codes 📍4.0.1 FHIR Std.
Task.performerType Base preferred Procedure Performer Role Codes 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:assessmentResponse.​type Base example Not State Unknown
Task.input:caseType.​type Base example Not State Unknown
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG
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

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-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.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code Task 工作狀態
Binding: TaskStatus (required): The current status of the task.
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
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.
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) Beneficiary of the Task
Task.Slices for input 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code

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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.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:assessmentResponse.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:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.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:caseType.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:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Task.status Base required TaskStatus 📍4.0.1 FHIR Std.
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 This IG
Task.intent Base required TaskIntent 📍4.0.1 FHIR Std.
Task.input.type Base example Not State Unknown
Task.input:assessmentResponse.​type Base example Not State Unknown
Task.input:caseType.​type Base example Not State Unknown
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG

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

Differential View

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task 0..* Task A task to be performed
Task.status This element must be supported. 1..1 code Task 工作狀態
Task.businessStatus This element must be supported. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
Task.focus This element must be supported. 1..1 Reference(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.for This element must be supported. 1..1 Reference(個案資料-Patient TWSS Base) Beneficiary of the Task
Task.Slices for input 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code
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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.type
Task.Slices for input.input:assessmentResponse.type.coding
Task.Slices for input.input:assessmentResponse.type.coding.system 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.code 1..1 code Symbol in syntax defined by the system
Required Pattern: assessment-response (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.display 0..1 string Representation defined by the system
Required Pattern: 評估回覆 (extensions allowed)
Task.Slices for input.input:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.type
Task.Slices for input.input:caseType.type.coding
Task.Slices for input.input:caseType.type.coding.system 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.code 1..1 code Symbol in syntax defined by the system
Required Pattern: case-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.display 0..1 string Representation defined by the system
Required Pattern: 評估案件類型 (extensions allowed)
Task.Slices for input.input:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 This IG
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-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 0..* Identifier Task Instance Identifier
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 must be supported. This element is included in summaries. 1..1 code Task 工作狀態
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 Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 服務案件狀態
Binding: TWSS-服務案件狀態值集 (required)
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.
Task.priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 0..1 CodeableConcept Task Type
Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow.
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(個案通報-ServiceRequest TWSS Base) 個案通報 ServiceRequest
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(個案資料-Patient TWSS Base) 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 0..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. 0..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Responsible individual
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
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 0..* BackboneElement Information used to perform task
Slice: Unordered, Open by value:type.coding.code

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:assessmentResponse This element must be supported. 0..* BackboneElement Information used to perform task
Task.Slices for input.input:assessmentResponse.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:assessmentResponse.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:assessmentResponse.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:assessmentResponse.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:assessmentResponse.type.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Task.Slices for input.input:assessmentResponse.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:assessmentResponse.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:assessmentResponse.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Task.Slices for input.input:assessmentResponse.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: assessment-response (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Required Pattern: 評估回覆 (extensions allowed)
Task.Slices for input.input:assessmentResponse.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:assessmentResponse.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Task.Slices for input.input:assessmentResponse.value[x] 1..1 Reference(社福表單回覆-QuestionnaireResponse TWSS Base) Content to use in performing the task
Task.Slices for input.input:caseType This element must be supported. 0..1 BackboneElement 評估的案件類型
Task.Slices for input.input:caseType.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.extension 0..* Extension Additional content defined by implementations
Task.Slices for input.input:caseType.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:caseType.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:caseType.type.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:caseType.type.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Task.Slices for input.input:caseType.type.coding.id 0..1 string Unique id for inter-element referencing
Task.Slices for input.input:caseType.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.Slices for input.input:caseType.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Required Pattern: https://sfaa.gov.tw/base/CodeSystem/twss-task-input-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Task.Slices for input.input:caseType.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: case-type (extensions allowed)
Task.Slices for input.input:caseType.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Required Pattern: 評估案件類型 (extensions allowed)
Task.Slices for input.input:caseType.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Task.Slices for input.input:caseType.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Task.Slices for input.input:caseType.value[x] 1..1 CodeableConceptTW Content to use in performing the task
Binding: TWSS-案件類型值集 (required)
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

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 example Not State Unknown
Task.businessStatus Base required TWSS-服務案件狀態值集 📦0.0.1 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 example Task Codes 📍4.0.1 FHIR Std.
Task.performerType Base preferred Procedure Performer Role Codes 📍4.0.1 FHIR Std.
Task.reasonCode Base example Not State Unknown
Task.input.type Base example Not State Unknown
Task.input:assessmentResponse.​type Base example Not State Unknown
Task.input:caseType.​type Base example Not State Unknown
Task.input:caseType.​value[x] Base required TWSS-案件類型值集 📦0.0.1 This IG
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

 

Other representations of profile: CSV, Excel, Schematron

Notes:

建議應該支援以下查詢參數:

此 Profile 使用 FHIR R4 Task Resource;伺服端建議(SHOULD)支援以下 FHIR 原生查詢參數: 完整定義請參考 FHIR R4 Task 原生查詢參數。

查詢參數 類型 查詢範例
_content string GET [base]/_content=[value]
_filter special GET [base]/_filter=[value]
_id token GET [base]/Task/[id]
_lastUpdated date GET [base]/_lastUpdated=[value]
_profile uri GET [base]/_profile=[value]
_query token GET [base]/_query=[value]
_security token GET [base]/_security=[value]
_source uri GET [base]/_source=[value]
_tag token GET [base]/_tag=[value]
_text string GET [base]/_text=[value]
authored-on date GET [base]/authored-on=[value]
based-on reference GET [base]/based-on=[value]
business-status token GET [base]/business-status=[value]
code token GET [base]/code=[value]
encounter reference GET [base]/encounter=[value]
focus reference GET [base]/focus=[value]
group-identifier token GET [base]/group-identifier=[value]
identifier token GET [base]/identifier=[value]
intent token GET [base]/intent=[value]
modified date GET [base]/modified=[value]
owner reference GET [base]/owner=[value]
part-of reference GET [base]/part-of=[value]
patient reference GET [base]/patient=[value]
performer token GET [base]/performer=[value]
period date GET [base]/period=[value]
priority token GET [base]/priority=[value]
requester reference GET [base]/requester=[value]
status token GET [base]/status=[value]
subject reference GET [base]/subject=[value]