旅遊醫學疫苗接種或開立藥品紀錄上傳實作指引
1.0.0 - ci-build

This page is part of the 旅遊醫學疫苗接種或開立藥品紀錄上傳實作指引 (v1.0.0: Releases Ballot 1) 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: 院所查詢接種疫苗紀錄與證書資料CDC回覆的內容(Bundle Search VACC2)

Official URL: https://vacc.cdc.gov.tw/vacc/StructureDefinition/bundle-search-vacc Version: 1.0.0
Active as of 2024-09-23 Computable Name: BundleSearchVACC

此院所查詢接種疫苗紀錄與證書資料CDC回覆的內容(Bundle Search VACC2)Profile說明本IG如何進一步定義FHIR的Bundle Resource,以呈現院所查詢接種疫苗紀錄與證書資料CDC回覆的內容

Usage:

Formal Views of Profile Content

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

This structure is derived from TWCoreBundle

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... type S 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Required Pattern: searchset
... total S 0..1 unsignedInt 查詢時符合條件的總筆數
... link
.... relation S 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)
Required Pattern: self
.... url S 1..1 uri 連結的參照細節
.... entry:All Slices Content/Rules for all slices
..... search
...... mode S 0..1 code match | include | outcome
.... entry:ImmunizationVACC S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
.... entry:CompositionVACC S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 CompositionVACC 證書資料
.... entry:medicationAdministration S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
.... entry:medication S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 MedicationVACC 藥品資料

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
bdl-1: total only when a search or history
bdl-2: entry.search only when a search
bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
bdl-9: A document must have an identifier with a system and a value
bdl-10: A document must have a date
bdl-11: A document must have a Composition as the first resource
bdl-12: A message must have a MessageHeader as the first resource
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... identifier SΣ 0..1 Identifier 一組Resources的資料交換基本單位(Bundle)的識別碼。
... type SΣ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。


Required Pattern: searchset
... total SΣC 0..1 unsignedInt 查詢時符合條件的總筆數
... link Σ 0..* BackboneElement 與此Bundle相關的連結
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relation SΣ 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)
Required Pattern: self
.... url SΣ 1..1 uri 連結的參照細節
... Slices for entry SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
Slice: Unordered, Open by profile:resource
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
.... entry:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... mode SΣ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

.... entry:ImmunizationVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
.... entry:CompositionVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 CompositionVACC 證書資料
.... entry:medicationAdministration SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
.... entry:medication SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 MedicationVACC 藥品資料

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Bundle.typerequiredPattern: searchset
http://hl7.org/fhir/ValueSet/bundle-type|4.0.1
from the FHIR Standard
Bundle.entry.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
bdl-1errorBundletotal only when a search or history
: total.empty() or (type = 'searchset') or (type = 'history')
bdl-2errorBundleentry.search only when a search
: entry.search.empty() or (type = 'searchset')
bdl-3errorBundleentry.request mandatory for batch/transaction/history, otherwise prohibited
: entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4errorBundleentry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
: entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationmust be a resource unless there's a request or response
: resource.exists() or request.exists() or response.exists()
bdl-7errorBundleFullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
: (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationfullUrl cannot be a version specific reference
: fullUrl.contains('/_history/').not()
bdl-9errorBundleA document must have an identifier with a system and a value
: type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10errorBundleA document must have a date
: type = 'document' implies (timestamp.hasValue())
bdl-11errorBundleA document must have a Composition as the first resource
: type = 'document' implies entry.first().resource.is(Composition)
bdl-12errorBundleA message must have a MessageHeader as the first resource
: type = 'message' implies entry.first().resource.is(MessageHeader)
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
bdl-1: total only when a search or history
bdl-2: entry.search only when a search
bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
bdl-9: A document must have an identifier with a system and a value
bdl-10: A document must have a date
bdl-11: A document must have a Composition as the first resource
bdl-12: A message must have a MessageHeader as the first resource
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Bundle Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... identifier SΣ 0..1 Identifier 一組Resources的資料交換基本單位(Bundle)的識別碼。
... type SΣ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。


Required Pattern: searchset
... timestamp SΣ 0..1 instant 組成Bundle的時間。
... total SΣC 0..1 unsignedInt 查詢時符合條件的總筆數
... link Σ 0..* BackboneElement 與此Bundle相關的連結
.... 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
.... relation SΣ 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)
Required Pattern: self
.... url SΣ 1..1 uri 連結的參照細節
... Slices for entry SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
Slice: Unordered, Open by profile:resource
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
.... entry:All Slices Content/Rules for all slices
..... 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
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource Σ 0..1 Resource Bundle中的resource
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode SΣ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:ImmunizationVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:CompositionVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 CompositionVACC 證書資料
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:medicationAdministration SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:medication SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 MedicationVACC 藥品資料
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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 數位簽章

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Bundle.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Bundle.typerequiredPattern: searchset
http://hl7.org/fhir/ValueSet/bundle-type|4.0.1
from the FHIR Standard
Bundle.entry.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:ImmunizationVACC.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:ImmunizationVACC.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:CompositionVACC.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:CompositionVACC.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:medicationAdministration.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:medicationAdministration.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:medication.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:medication.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
bdl-1errorBundletotal only when a search or history
: total.empty() or (type = 'searchset') or (type = 'history')
bdl-2errorBundleentry.search only when a search
: entry.search.empty() or (type = 'searchset')
bdl-3errorBundleentry.request mandatory for batch/transaction/history, otherwise prohibited
: entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4errorBundleentry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
: entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationmust be a resource unless there's a request or response
: resource.exists() or request.exists() or response.exists()
bdl-7errorBundleFullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
: (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationfullUrl cannot be a version specific reference
: fullUrl.contains('/_history/').not()
bdl-9errorBundleA document must have an identifier with a system and a value
: type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10errorBundleA document must have a date
: type = 'document' implies (timestamp.hasValue())
bdl-11errorBundleA document must have a Composition as the first resource
: type = 'document' implies entry.first().resource.is(Composition)
bdl-12errorBundleA message must have a MessageHeader as the first resource
: type = 'message' implies entry.first().resource.is(MessageHeader)
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.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()

Differential View

This structure is derived from TWCoreBundle

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... type S 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Required Pattern: searchset
... total S 0..1 unsignedInt 查詢時符合條件的總筆數
... link
.... relation S 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)
Required Pattern: self
.... url S 1..1 uri 連結的參照細節
.... entry:All Slices Content/Rules for all slices
..... search
...... mode S 0..1 code match | include | outcome
.... entry:ImmunizationVACC S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
.... entry:CompositionVACC S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 CompositionVACC 證書資料
.... entry:medicationAdministration S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
.... entry:medication S 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
..... resource S 1..1 MedicationVACC 藥品資料

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
bdl-1: total only when a search or history
bdl-2: entry.search only when a search
bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
bdl-9: A document must have an identifier with a system and a value
bdl-10: A document must have a date
bdl-11: A document must have a Composition as the first resource
bdl-12: A message must have a MessageHeader as the first resource
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... identifier SΣ 0..1 Identifier 一組Resources的資料交換基本單位(Bundle)的識別碼。
... type SΣ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。


Required Pattern: searchset
... total SΣC 0..1 unsignedInt 查詢時符合條件的總筆數
... link Σ 0..* BackboneElement 與此Bundle相關的連結
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relation SΣ 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)
Required Pattern: self
.... url SΣ 1..1 uri 連結的參照細節
... Slices for entry SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
Slice: Unordered, Open by profile:resource
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
.... entry:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... mode SΣ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

.... entry:ImmunizationVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
.... entry:CompositionVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 CompositionVACC 證書資料
.... entry:medicationAdministration SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
.... entry:medication SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... resource S 1..1 MedicationVACC 藥品資料

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Bundle.typerequiredPattern: searchset
http://hl7.org/fhir/ValueSet/bundle-type|4.0.1
from the FHIR Standard
Bundle.entry.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
bdl-1errorBundletotal only when a search or history
: total.empty() or (type = 'searchset') or (type = 'history')
bdl-2errorBundleentry.search only when a search
: entry.search.empty() or (type = 'searchset')
bdl-3errorBundleentry.request mandatory for batch/transaction/history, otherwise prohibited
: entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4errorBundleentry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
: entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationmust be a resource unless there's a request or response
: resource.exists() or request.exists() or response.exists()
bdl-7errorBundleFullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
: (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationfullUrl cannot be a version specific reference
: fullUrl.contains('/_history/').not()
bdl-9errorBundleA document must have an identifier with a system and a value
: type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10errorBundleA document must have a date
: type = 'document' implies (timestamp.hasValue())
bdl-11errorBundleA document must have a Composition as the first resource
: type = 'document' implies entry.first().resource.is(Composition)
bdl-12errorBundleA message must have a MessageHeader as the first resource
: type = 'message' implies entry.first().resource.is(MessageHeader)
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle C 0..* TWCoreBundle 包含resourceBundle
bdl-1: total only when a search or history
bdl-2: entry.search only when a search
bdl-3: entry.request mandatory for batch/transaction/history, otherwise prohibited
bdl-4: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
bdl-9: A document must have an identifier with a system and a value
bdl-10: A document must have a date
bdl-11: A document must have a Composition as the first resource
bdl-12: A message must have a MessageHeader as the first resource
code-med-manufacturer-search: 當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Bundle Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... identifier SΣ 0..1 Identifier 一組Resources的資料交換基本單位(Bundle)的識別碼。
... type SΣ 1..1 code document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。


Required Pattern: searchset
... timestamp SΣ 0..1 instant 組成Bundle的時間。
... total SΣC 0..1 unsignedInt 查詢時符合條件的總筆數
... link Σ 0..* BackboneElement 與此Bundle相關的連結
.... 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
.... relation SΣ 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)
Required Pattern: self
.... url SΣ 1..1 uri 連結的參照細節
... Slices for entry SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
Slice: Unordered, Open by profile:resource
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
.... entry:All Slices Content/Rules for all slices
..... 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
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource Σ 0..1 Resource Bundle中的resource
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode SΣ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:ImmunizationVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 ImmunizationVACC 接種疫苗之紀錄
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:CompositionVACC SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 CompositionVACC 證書資料
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:medicationAdministration SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 MedicationAdministrationVACC 開立藥品紀錄
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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)
.... entry:medication SΣC 0..* BackboneElement 在bundle中的條目 - 將會有一個resource或資訊,這個重複的資料項目順序:對於type為「document」和「message」的bundles,第一個resource是特殊的(必須分別是Composition或MessageHeader)。對於所有bundles,條目順序的意義取決於bundle的type。
bdl-5: must be a resource unless there's a request or response
bdl-8: fullUrl cannot be a version specific reference
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
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... link Σ 0..* See link (Bundle) 與本條目相關的連結
..... fullUrl Σ 0..1 uri Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI)
..... resource S 1..1 MedicationVACC 藥品資料
..... search ΣC 0..1 BackboneElement 查詢有關的資訊
...... 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
...... mode Σ 0..1 code match | include | outcome
Binding: SearchEntryMode (required): Resource出現在Bundle中的原因;應填入所綁定值集中的其中一個代碼。

...... score Σ 0..1 decimal 查詢排名(0至1之間)
..... request ΣC 0..1 BackboneElement 其他執行資訊(transaction/batch/history)
...... 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
...... method Σ 1..1 code GET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (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 ΣC 0..1 BackboneElement 執行結果(transaction/batch/history)
...... 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
...... 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 數位簽章

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Bundle.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Bundle.typerequiredPattern: searchset
http://hl7.org/fhir/ValueSet/bundle-type|4.0.1
from the FHIR Standard
Bundle.entry.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:ImmunizationVACC.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:ImmunizationVACC.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:CompositionVACC.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:CompositionVACC.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:medicationAdministration.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:medicationAdministration.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard
Bundle.entry:medication.search.moderequiredSearchEntryMode
http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1
from the FHIR Standard
Bundle.entry:medication.request.methodrequiredHTTPVerb
http://hl7.org/fhir/ValueSet/http-verb|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
bdl-1errorBundletotal only when a search or history
: total.empty() or (type = 'searchset') or (type = 'history')
bdl-2errorBundleentry.search only when a search
: entry.search.empty() or (type = 'searchset')
bdl-3errorBundleentry.request mandatory for batch/transaction/history, otherwise prohibited
: entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
bdl-4errorBundleentry.response mandatory for batch-response/transaction-response/history, otherwise prohibited
: entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
bdl-5errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationmust be a resource unless there's a request or response
: resource.exists() or request.exists() or response.exists()
bdl-7errorBundleFullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)
: (type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
bdl-8errorBundle.entry, Bundle.entry:ImmunizationVACC, Bundle.entry:CompositionVACC, Bundle.entry:medicationAdministration, Bundle.entry:medicationfullUrl cannot be a version specific reference
: fullUrl.contains('/_history/').not()
bdl-9errorBundleA document must have an identifier with a system and a value
: type = 'document' implies (identifier.system.exists() and identifier.value.exists())
bdl-10errorBundleA document must have a date
: type = 'document' implies (timestamp.hasValue())
bdl-11errorBundleA document must have a Composition as the first resource
: type = 'document' implies entry.first().resource.is(Composition)
bdl-12errorBundleA message must have a MessageHeader as the first resource
: type = 'message' implies entry.first().resource.is(MessageHeader)
code-med-manufacturer-searcherrorBundle當MedicationAdministration.stockType = 1(非庫存),則Medication.manufacturer(藥品廠牌)必填
: Bundle.entry.resource.ofType(MedicationAdministration).extension.where(url = 'https://vacc.cdc.gov.tw/vacc/StructureDefinition/vacc-stock-type').value.ofType(CodeableConcept).coding.where(code = '1').exists() implies Bundle.entry.resource.ofType(Medication).manufacturer.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()

 

Other representations of profile: CSV, Excel, Schematron