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

Left: | 重大傷病申請證明-Bundle TWCI (https://nhicore.nhi.gov.tw/ci/StructureDefinition/Bundle-twci)
Right: | 重大傷病申請證明-Bundle TWCI (https://nhicore.nhi.gov.tw/ci/StructureDefinition/Bundle-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'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Bundle-twcore |
copyright |  |
date | 2025-11-04T22:05:04+08:00 | 2025-11-12T05:05:26+00:00 | Values Differ
description | 此重大傷病申請證明-Bundle TWCI Profile說明TWCI IG如何進一步定義臺灣核心-資料交換基本單位（TW Core Bundle） Profile以呈現重大傷病申請證明之內容 |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | BundleTWCI |
publisher | 衛生福利部中央健康保險署 |
purpose |  |
status | active |
title | 重大傷病申請證明-Bundle TWCI |
type | Bundle |
url | https://nhicore.nhi.gov.tw/ci/StructureDefinition/Bundle-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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Bundle | C | 0..* | TWCoreBundle | 包含resourceBundle | C | 0..* | TWCoreBundle | 包含resourceBundle |
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄，通常又稱為邏輯性ID。 | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄，通常又稱為邏輯性ID。 |
meta | Σ | 0..1 | Meta | 此Bundle Resource的metadata | Σ | 0..1 | Meta | 此Bundle Resource的metadata |
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
language |  | 0..1 | code | 用以表述Bundle Resource內容的語言。 Binding: ?? (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW |  | 0..1 | code | 用以表述Bundle Resource內容的語言。 Binding: ?? (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW |
identifier | S Σ | 0..1 | Identifier | 一組Resources的資料交換基本單位（Bundle）的識別碼。 | S Σ | 0..1 | Identifier | 一組Resources的資料交換基本單位（Bundle）的識別碼。 |
type | S Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: ?? (required): Bundle類型；應填入所綁定值集中的其中一個代碼。 Required Pattern: collection | S Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: ?? (required): Bundle類型；應填入所綁定值集中的其中一個代碼。 Required Pattern: collection |
timestamp | S Σ | 0..1 | instant | 組成Bundle的時間。 | S Σ | 0..1 | instant | 組成Bundle的時間。 |
total | Σ C | 0..1 | unsignedInt | 查詢時符合條件的總筆數 | Σ C | 0..1 | unsignedInt | 查詢時符合條件的總筆數 |
link | Σ | 0..* | BackboneElement | 與此Bundle相關的連結 | Σ | 0..* | BackboneElement | 與此Bundle相關的連結 |
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 |
relation | Σ | 1..1 | string | 參見 [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1) | Σ | 1..1 | string | 參見 [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1) |
url | Σ | 1..1 | uri | 連結的參照細節 | Σ | 1..1 | uri | 連結的參照細節 |
Slices for entry | S Σ C | 4..4 | BackboneElement | 在bundle中的條目 - 將會有一個resource或資訊，這個重複的資料項目順序：對於type為「document」和「message」的bundles，第一個resource是特殊的（必須分別是Composition或MessageHeader）。對於所有bundles，條目順序的意義取決於bundle的type。 Slice: Unordered, Open by profile:resource This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | S Σ C | 4..4 | BackboneElement | 在bundle中的條目 - 將會有一個resource或資訊，這個重複的資料項目順序：對於type為「document」和「message」的bundles，第一個resource是特殊的（必須分別是Composition或MessageHeader）。對於所有bundles，條目順序的意義取決於bundle的type。 Slice: Unordered, Open by profile:resource This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
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 |
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 |
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 |
relation | Σ | 1..1 | string | 參見 [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1) | Σ | 1..1 | string | 參見 [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1) |
url | Σ | 1..1 | uri | 連結的參照細節 | Σ | 1..1 | uri | 連結的參照細節 |
fullUrl | Σ | 0..1 | uri | Resource的 URI（絕對 URL 伺服器地址或 UUID/OID 的 URI） | Σ | 0..1 | uri | Resource的 URI（絕對 URL 伺服器地址或 UUID/OID 的 URI） |
resource | Σ | 0..1 | Resource | Bundle中的resource | Σ | 0..1 | Resource | Bundle中的resource |
search | Σ C | 0..1 | BackboneElement | 查詢有關的資訊 | Σ C | 0..1 | BackboneElement | 查詢有關的資訊 |
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 |
mode | Σ | 0..1 | code | match | include | outcome Binding: ?? (required): Resource出現在Bundle中的原因；應填入所綁定值集中的其中一個代碼。 | Σ | 0..1 | code | match | include | outcome Binding: ?? (required): Resource出現在Bundle中的原因；應填入所綁定值集中的其中一個代碼。 |
score | Σ | 0..1 | decimal | 查詢排名（0至1之間） | Σ | 0..1 | decimal | 查詢排名（0至1之間） |
request | Σ C | 0..1 | BackboneElement | 其他執行資訊（transaction/batch/history） | Σ C | 0..1 | BackboneElement | 其他執行資訊（transaction/batch/history） |
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 |
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
url | Σ | 1..1 | uri | 此Bundle HTTP 對應的 URL | Σ | 1..1 | uri | 此Bundle HTTP 對應的 URL |
ifNoneMatch | Σ | 0..1 | string | 用於管理緩存當前狀態 | Σ | 0..1 | string | 用於管理緩存當前狀態 |
ifModifiedSince | Σ | 0..1 | instant | 用於管理緩存當前狀態 | Σ | 0..1 | instant | 用於管理緩存當前狀態 |
ifMatch | Σ | 0..1 | string | 用於管理更新衝突 | Σ | 0..1 | string | 用於管理更新衝突 |
ifNoneExist | Σ | 0..1 | string | 用於有條件建立 | Σ | 0..1 | string | 用於有條件建立 |
response | Σ C | 0..1 | BackboneElement | 執行結果（transaction/batch/history） | Σ C | 0..1 | BackboneElement | 執行結果（transaction/batch/history） |
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 |
status | Σ | 1..1 | string | 狀態回應代碼（文字選填） | Σ | 1..1 | string | 狀態回應代碼（文字選填） |
location | Σ | 0..1 | uri | 位置（如果操作返回位置） | Σ | 0..1 | uri | 位置（如果操作返回位置） |
etag | Σ | 0..1 | string | resource的 Etag（如果有相關） | Σ | 0..1 | string | resource的 Etag（如果有相關） |
lastModified | Σ | 0..1 | instant | 修改時之伺服器日期時間 | Σ | 0..1 | instant | 修改時之伺服器日期時間 |
outcome | Σ | 0..1 | Resource | 帶提示和警告的OperationOutcome（用於batch/transaction） | Σ | 0..1 | Resource | 帶提示和警告的OperationOutcome（用於batch/transaction） |
signature | Σ | 0..1 | Signature | 數位簽章 | Σ | 0..1 | Signature | 數位簽章 |
Documentation for this format