臺灣重大傷病實作指引
1.0.0 - STU1.0.0

This page is part of the 臺灣重大傷病實作指引 (v1.0.0: STU1.0.0) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: 重大傷病申請-Task TWCI

Official URL: https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci Version: 1.0.0
Active as of 2025-06-11 Computable Name: TaskTWCI

此重大傷病申請-Task TWCI Profile說明TWCI IG如何進一步定義FHIR的Task Resource以呈現重大傷病申請之內容

Usages:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... status ?!SΣ 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Binding: TaskStatus (required): The current status of the task.
Required Pattern: requested
... businessStatus SΣ 0..1 CodeableConcept 核定結果(上傳時不須填寫,由健保署端收件後填寫。)
Binding: NHI-健保重大傷病-核定結果值集 (required)
... intent Σ 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。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
... focus SΣ 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for SΣ 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... executionPeriod SΣ 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn SC 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.statusrequiredPattern Value: requested
http://hl7.org/fhir/ValueSet/task-status|4.0.1
From the FHIR Standard
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG
Task.intentrequiredPattern Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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: Filtersdoco
.. Task Task
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... basedOn S 1..1 Reference(重大傷病-Condition TWCI) 重大傷病(Condition)
... status S 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Required Pattern: requested
... intent 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... focus S 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for S 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... executionPeriod S 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn S 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn SΣ 1..1 Reference(重大傷病-Condition TWCI) 重大傷病(Condition)
... groupIdentifier Σ 0..1 Identifier Requisition or grouper id
... partOf Σ 0..* Reference(Task) Composite task
... status ?!SΣ 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Binding: TaskStatus (required): The current status of the task.
Required Pattern: requested
... statusReason Σ 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.
... businessStatus SΣ 0..1 CodeableConcept 核定結果(上傳時不須填寫,由健保署端收件後填寫。)
Binding: NHI-健保重大傷病-核定結果值集 (required)
... intent Σ 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。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
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code Σ 0..1 CodeableConcept Task Type
Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow.
... description Σ 0..1 string Human-readable explanation of task
... focus SΣ 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for SΣ 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... encounter Σ 0..1 Reference(Encounter) Healthcare event during which this task originated
... executionPeriod SΣ 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn SC 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester Σ 0..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Responsible individual
... location Σ 0..1 Reference(Location) Where task occurs
... 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.
... reasonReference 0..1 Reference(Resource) Why task is needed
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Comments made about the task
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction 0..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 0..1 Period When fulfillment sought
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... input 0..* BackboneElement Information used to perform task
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 0..* BackboneElement Information produced as part of task
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Task.statusrequiredPattern Value: requested
http://hl7.org/fhir/ValueSet/task-status|4.0.1
From the FHIR Standard
Task.statusReasonexample
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG
Task.intentrequiredPattern Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
From the FHIR Standard
Task.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
From the FHIR Standard
Task.codeexampleTaskCode
http://hl7.org/fhir/ValueSet/task-code
From the FHIR Standard
Task.performerTypepreferredProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
From the FHIR Standard
Task.reasonCodeexample
Task.input.typeexample
Task.output.typeexample

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... status ?!SΣ 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Binding: TaskStatus (required): The current status of the task.
Required Pattern: requested
... businessStatus SΣ 0..1 CodeableConcept 核定結果(上傳時不須填寫,由健保署端收件後填寫。)
Binding: NHI-健保重大傷病-核定結果值集 (required)
... intent Σ 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。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
... focus SΣ 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for SΣ 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... executionPeriod SΣ 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn SC 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.statusrequiredPattern Value: requested
http://hl7.org/fhir/ValueSet/task-status|4.0.1
From the FHIR Standard
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG
Task.intentrequiredPattern Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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: Filtersdoco
.. Task Task
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... basedOn S 1..1 Reference(重大傷病-Condition TWCI) 重大傷病(Condition)
... status S 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Required Pattern: requested
... intent 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... focus S 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for S 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... executionPeriod S 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn S 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier 受理編號(上傳時不須填寫,由健保署端收件後填寫。)
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn SΣ 1..1 Reference(重大傷病-Condition TWCI) 重大傷病(Condition)
... groupIdentifier Σ 0..1 Identifier Requisition or grouper id
... partOf Σ 0..* Reference(Task) Composite task
... status ?!SΣ 1..1 code 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold
Binding: TaskStatus (required): The current status of the task.
Required Pattern: requested
... statusReason Σ 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.
... businessStatus SΣ 0..1 CodeableConcept 核定結果(上傳時不須填寫,由健保署端收件後填寫。)
Binding: NHI-健保重大傷病-核定結果值集 (required)
... intent Σ 1..1 code 【因FHIR設計而需必填】上傳時請固定填order。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
... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code Σ 0..1 CodeableConcept Task Type
Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow.
... description Σ 0..1 string Human-readable explanation of task
... focus SΣ 1..1 Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) 重大傷病申請書回覆(QuestionnaireResponse)
... for SΣ 1..1 Reference(病人資訊-Patient TWCI) 病人資訊(Patient)
... encounter Σ 0..1 Reference(Encounter) Healthcare event during which this task originated
... executionPeriod SΣ 0..1 Period 受理日期(上傳時不須填寫,由健保署端收件後填寫。)
... authoredOn SC 0..1 dateTime 收件日期(上傳時不須填寫,由健保署端收件後填寫。)
... lastModified ΣC 0..1 dateTime Task Last Modified Date
... requester Σ 0..1 Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) Who is asking for task to be done
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner Σ 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Responsible individual
... location Σ 0..1 Reference(Location) Where task occurs
... 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.
... reasonReference 0..1 Reference(Resource) Why task is needed
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Comments made about the task
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction 0..1 BackboneElement Constraints on fulfillment tasks
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... repetitions 0..1 positiveInt How many times to repeat
.... period 0..1 Period When fulfillment sought
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... input 0..* BackboneElement Information used to perform task
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 0..* BackboneElement Information produced as part of task
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Task.statusrequiredPattern Value: requested
http://hl7.org/fhir/ValueSet/task-status|4.0.1
From the FHIR Standard
Task.statusReasonexample
Task.businessStatusrequiredNHICIApproveResult(a valid code from NHI-健保重大傷病-核定結果)
https://nhicore.nhi.gov.tw/ci/ValueSet/nhi-approve-result
From this IG
Task.intentrequiredPattern Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
From the FHIR Standard
Task.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
From the FHIR Standard
Task.codeexampleTaskCode
http://hl7.org/fhir/ValueSet/task-code
From the FHIR Standard
Task.performerTypepreferredProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
From the FHIR Standard
Task.reasonCodeexample
Task.input.typeexample
Task.output.typeexample

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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所需的RESTful FHIR互動功能。有關TWCI支援的RESTful互動功能的完整清單,請參閱TWCI Server能力聲明

必須支援以下查詢參數:

  1. 必須(SHALL) 支援透過查詢參數 patient.identifier 查詢所有Task:
    (如何透過reference查詢)
    (如何透過token查詢)
    GET [base]/Task?patient.identifier=[code]

    例子:
    (1) GET [base]/Task?patient.identifier=A123456789

  2. 必須(SHALL) 支援透過查詢參數 patient.name 查詢所有Task:
    (如何透過reference查詢)
    (如何透過string查詢)
    GET [base]/Task?patient.name=[string]

    例子:
    (1) GET [base]/Task?patient.name=王大明

  3. 必須(SHALL) 支援透過查詢參數 period 查詢所有Task:
    (如何透過date查詢)
    GET [base]/Task?period={gt|lt|ge|le}[date]{&period={gt|lt|ge|le}[date]}

    例子:
    (1) GET [base]/Task?period=gt2025-06-11&period=lt2025-01-07

  4. 必須(SHALL) 支援透過查詢參數 modified 查詢所有Task:
    (如何透過date查詢)
    GET [base]/Task?modified={gt|lt|ge|le}[date]{&modified={gt|lt|ge|le}[date]}

    例子:
    (1) GET [base]/Task?modified=gt2025-01-05&modified=lt2025-01-07

  5. 必須(SHALL) 支援透過查詢參數 identifier 查詢所有Task:
    (如何透過token查詢)
    GET [base]/Task?identifier=[code]

    例子:
    (1) GET [base]/Task?identifier=20241231010109051701

  6. 必須(SHALL) 支援透過查詢參數 authored-on 查詢所有Task:
    (如何透過date查詢)
    GET [base]/Task?authored-on={gt|lt|ge|le}[date]{&authored-on={gt|lt|ge|le}[date]}

    例子:
    (1) GET [base]/Task?authored-on=gt2025-06-11&authored-on=lt2025-01-07

  7. 必須(SHALL) 支援透過查詢參數 status 查詢所有Task:
    (如何透過token查詢)
    GET [base]/Task?status=[code]

    例子:
    (1) GET [base]/Task?status=completed