## Union of https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas and https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas

This is the set of resources that conform to either of the profiles 事前審查-Bundle TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas) and 癌藥事前審查-Bundle TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Bundle-twpas). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle | C | 0..* |  | 包含resourceBundle Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, 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
meta | Σ | 1..1 | Meta | 此Bundle Resource的metadata
extension |  | 0..* | Extension | Additional content defined by implementations
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 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".
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則
language |  | 0..1 | code | 用以表述Bundle Resource內容的語言。 Binding: ?? (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。 Example Value: zh-TW
identifier | S Σ | 0..1 | Identifier | 一組Resources的資料交換基本單位（Bundle）的識別碼。
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: ?? (required): Bundle類型；應填入所綁定值集中的其中一個代碼。
timestamp | S Σ | 0..1 | instant | 緊急報備日期，YYYY-MM-DDTHH:MM:SS (需包含時區)；若本案件前已緊急報備過，本次為檢送完整資訊申請送件者，由機構將前次緊急報備時所填之申請日期，自填為緊急報備日期。 Example 緊急報備日期: 2024-05-30T13:50:58.000+08:00
total | Σ | 0..1 | unsignedInt | 查詢時符合條件的總筆數
link | Σ | 0..* | BackboneElement | 與此Bundle相關的連結
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 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]
url | Σ | 1..1 | uri | 連結的參照細節
entry | S Σ C | 8..* | BackboneElement | 在bundle中的條目 - 將會有一個resource或資訊，這個重複的資料項目順序：對於type為「document」和「message」的bundles，第一個resource是特殊的（必須分別是Composition或MessageHeader）。對於所有bundles，條目順序的意義取決於bundle的type。 Constraints: bdl-5, bdl-8
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
link | Σ | 0..* |  | 與本條目相關的連結
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 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]
url | Σ | 1..1 | uri | 連結的參照細節
fullUrl | Σ | 0..1 | uri | Resource的 URI（絕對 URL 伺服器地址或 UUID/OID 的 URI）
resource | Σ | 0..1 | Resource | Bundle中的resource
search | Σ | 0..1 | BackboneElement | 查詢有關的資訊
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode | Σ | 0..1 | code | match | include | outcome Binding: ?? (required): Resource出現在Bundle中的原因；應填入所綁定值集中的其中一個代碼。
score | Σ | 0..1 | decimal | 查詢排名（0至1之間）
request | Σ | 0..1 | BackboneElement | 其他執行資訊（transaction/batch/history）
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。
url | Σ | 1..1 | uri | 此Bundle HTTP 對應的 URL
ifNoneMatch | Σ | 0..1 | string | 用於管理緩存當前狀態
ifModifiedSince | Σ | 0..1 | instant | 用於管理緩存當前狀態
ifMatch | Σ | 0..1 | string | 用於管理更新衝突
ifNoneExist | Σ | 0..1 | string | 用於有條件建立
response | Σ | 0..1 | BackboneElement | 執行結果（transaction/batch/history）
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
status | Σ | 1..1 | string | 狀態回應代碼（文字選填）
location | Σ | 0..1 | uri | 位置（如果操作返回位置）
etag | Σ | 0..1 | string | resource的 Etag（如果有相關）
lastModified | Σ | 0..1 | instant | 修改時之伺服器日期時間
outcome | Σ | 0..1 | Resource | 帶提示和警告的OperationOutcome（用於batch/transaction）
signature | Σ | 0..1 | Signature | 數位簽章
Documentation for this format