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

Left: | 事前審查-Bundle TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas)
Right: | 癌藥事前審查-Bundle TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.9' vs '1.1.0'
Information | StructureDefinition.title | Values for title differ: '事前審查-Bundle TWPAS' vs '癌藥事前審查-Bundle TWPAS'
Information | StructureDefinition.date | Values for date differ: '2025-11-01T13:57:37+08:00' vs '2025-12-17T10:01: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-01T13:57:37+08:00 | 2025-12-17T10:01:26+00:00 | Values Differ
description | 此事前審查-Bundle TWPAS Profile說明本IG如何進一步定義資料交換基本單位(TW Core Bundle) Profile以呈現癌藥事前審查之內容 | 此癌藥事前審查-Bundle TWPAS Profile說明本IG如何進一步定義資料交換基本單位(TW Core Bundle) Profile以呈現癌藥事前審查之內容 | Values Differ
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | BundleTWPAS |
publisher | 衛生福利部中央健康保險署 |
purpose |  |
status | active |
title | 事前審查-Bundle TWPAS | 癌藥事前審查-Bundle TWPAS | Values Differ
type | Bundle |
url | https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas |
version | 1.0.9 | 1.1.0 | 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 Constraints: applyReason-1, applyReason-2, applyReason-3, applyReason-4, applyReason-5, applyReason-6, applyReason-7, applyReason-8, applyReason-9, applyReason-10, applyReason-11, applyReason-12, applyReason-13, applyReason-14, applyReason-15, applyReason-16, claimResponse-1, claimResponse-2 | C | 0..* | TWCoreBundle | 包含resourceBundle Constraints: applyReason-1, applyReason-2, applyReason-3, applyReason-4, applyReason-5, applyReason-6, applyReason-7, applyReason-8, applyReason-9, applyReason-10, applyReason-11, applyReason-12, applyReason-13, applyReason-14, applyReason-15, applyReason-16, claimResponse-1, claimResponse-2 |
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄，通常又稱為邏輯性ID。 | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄，通常又稱為邏輯性ID。 |
meta | Σ | 1..1 | Meta | 此Bundle Resource的metadata | Σ | 1..1 | Meta | 此Bundle Resource的metadata |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
versionId | Σ | 0..1 | id | Version specific identifier | Σ | 0..1 | id | Version specific identifier |
lastUpdated | Σ | 0..1 | instant | When the resource version last changed | Σ | 0..1 | instant | When the resource version last changed |
source | Σ | 0..1 | uri | Identifies where the resource comes from | Σ | 0..1 | uri | Identifies where the resource comes from |
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas |
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | Σ | 0..* | Coding | Tags applied to this resource Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
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 | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: ?? (required): Bundle類型；應填入所綁定值集中的其中一個代碼。 Required Pattern: collection | Σ | 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 | 緊急報備日期，YYYY-MM-DDTHH:MM:SS (需包含時區)；若本案件前已緊急報備過，本次為檢送完整資訊申請送件者，由機構將前次緊急報備時所填之申請日期，自填為緊急報備日期。 Example 緊急報備日期: 2024-05-30T13:50:58.000+08:00 | S Σ | 0..1 | instant | 緊急報備日期，YYYY-MM-DDTHH:MM:SS (需包含時區)；若本案件前已緊急報備過，本次為檢送完整資訊申請送件者，由機構將前次緊急報備時所填之申請日期，自填為緊急報備日期。 Example 緊急報備日期: 2024-05-30T13:50:58.000+08:00 |
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 | 8..* | BackboneElement | 在bundle中的條目 - 將會有一個resource或資訊，這個重複的資料項目順序：對於type為「document」和「message」的bundles，第一個resource是特殊的（必須分別是Composition或MessageHeader）。對於所有bundles，條目順序的意義取決於bundle的type。 Slice: Unordered, Closed 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 | 8..* | BackboneElement | 在bundle中的條目 - 將會有一個resource或資訊，這個重複的資料項目順序：對於type為「document」和「message」的bundles，第一個resource是特殊的（必須分別是Composition或MessageHeader）。對於所有bundles，條目順序的意義取決於bundle的type。 Slice: Unordered, Closed 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