## Profile Comparison between https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci vs https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci

Left: | 重大傷病申請-Task TWCI (https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci)
Right: | 重大傷病申請-Task TWCI (https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.1' vs '1.0.2'
Information | StructureDefinition.date | Values for date differ: '2025-11-04T22:05:04+08:00' vs '2025-11-12T05:05:26+00:00'
Information | StructureDefinition.jurisdiction | Added the item 'null#null'
Error | Task.focus | Type Mismatch: Reference([CanonicalType[https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci]]) vs Reference([CanonicalType[https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Task |
copyright |  |
date | 2025-11-04T22:05:04+08:00 | 2025-11-12T05:05:26+00:00 | Values Differ
description | 此重大傷病申請-Task TWCI Profile說明TWCI IG如何進一步定義FHIR的Task Resource以呈現重大傷病申請之內容 |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | TaskTWCI |
publisher | 衛生福利部中央健康保險署 |
purpose |  |
status | active |
title | 重大傷病申請-Task TWCI |
type | Task |
url | https://nhicore.nhi.gov.tw/ci/StructureDefinition/Task-twci |
version | 1.0.1 | 1.0.2 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Task | C | 0..* | Task | A task to be performed | C | 0..* | Task | A task to be performed |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 |  | 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 |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier |  | 0..* | Identifier | 受理編號（上傳時不須填寫，由健保署端收件後填寫。） |  | 0..* | Identifier | 受理編號（上傳時不須填寫，由健保署端收件後填寫。） |
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task |
instantiatesUri | Σ | 0..1 | uri | Formal definition of task | Σ | 0..1 | uri | Formal definition of task |
basedOn | S Σ | 1..1 | Reference(重大傷病-Condition TWCI) | 重大傷病(Condition) | S Σ | 1..1 | Reference(重大傷病-Condition TWCI) | 重大傷病(Condition) |
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id | Σ | 0..1 | Identifier | Requisition or grouper id |
partOf | Σ | 0..* | Reference(Task) | Composite task | Σ | 0..* | Reference(Task) | Composite task |
status | ?!S Σ | 1..1 | code | 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold Binding: ?? (required): The current status of the task. Required Pattern: requested | ?!S Σ | 1..1 | code | 查詢進度。上傳時請固定填requested。送審:requested | 審結:completed | 核定同意:accepted | 核定不同意:rejected | 退件:failed | 補件:on-hold Binding: ?? (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. | Σ | 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: ?? (required) | S Σ | 0..1 | CodeableConcept | 核定結果（上傳時不須填寫，由健保署端收件後填寫。） Binding: ?? (required) |
intent | Σ | 1..1 | code | 【因FHIR設計而需必填】上傳時請固定填order。unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order. Required Pattern: order | Σ | 1..1 | code | 【因FHIR設計而需必填】上傳時請固定填order。unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order. Required Pattern: order |
priority |  | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. |  | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. |
code | Σ | 0..1 | CodeableConcept | Task Type Binding: ?? (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. | Σ | 0..1 | CodeableConcept | Task Type Binding: ?? (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 | Σ | 0..1 | string | Human-readable explanation of task |
focus | S Σ | 1..1 | Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) | 重大傷病申請書回覆(QuestionnaireResponse) | S Σ | 1..1 | Reference(重大傷病申請書回覆-QuestionnaireResponse TWCI) | 重大傷病申請書回覆(QuestionnaireResponse) | Type Mismatch: Reference([CanonicalType[https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci]]) vs Reference([CanonicalType[https://nhicore.nhi.gov.tw/ci/StructureDefinition/QuestionnaireResponse-twci]])
for | S Σ | 1..1 | Reference(病人資訊-Patient TWCI) | 病人資訊(Patient) | S Σ | 1..1 | Reference(病人資訊-Patient TWCI) | 病人資訊(Patient) |
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriod | S Σ | 0..1 | Period | 受理日期（上傳時不須填寫，由健保署端收件後填寫。） | S Σ | 0..1 | Period | 受理日期（上傳時不須填寫，由健保署端收件後填寫。） |
authoredOn | S C | 0..1 | dateTime | 收件日期（上傳時不須填寫，由健保署端收件後填寫。） | S C | 0..1 | dateTime | 收件日期（上傳時不須填寫，由健保署端收件後填寫。） |
lastModified | Σ C | 0..1 | dateTime | Task Last Modified Date | Σ 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 | Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done |
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. |
owner | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual |
location | Σ | 0..1 | Reference(Location) | Where task occurs | Σ | 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. |  | 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 |  | 0..1 | Reference(Resource) | Why task is needed |
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note |  | 0..* | Annotation | Comments made about the task |  | 0..* | Annotation | Comments made about the task |
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task |  | 0..* | Reference(Provenance) | Key events in history of the Task |
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks |  | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
repetitions |  | 0..1 | positiveInt | How many times to repeat |  | 0..1 | positiveInt | How many times to repeat |
period |  | 0..1 | Period | When fulfillment sought |  | 0..1 | Period | When fulfillment sought |
recipient |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
input |  | 0..* | BackboneElement | Information used to perform task |  | 0..* | BackboneElement | Information used to perform task |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 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. |  | 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 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Content to use in performing the task |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Content to use in performing the task |
output |  | 0..* | BackboneElement | Information produced as part of task |  | 0..* | BackboneElement | Information produced as part of task |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 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. |  | 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 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Result of output |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Result of output |
Documentation for this format