電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build
This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckBundle | Version: 0.1.0 | |||
Active as of 2024-08-23 | Computable Name: InspectionCheckBundle |
此Profile用於打包所有檢驗檢查相關之資料。利用此Bundle時請使用document方式將資料進行打包,Bundle所包含之資料應與Composition所涵蓋數量保持一致,所有資料之相關規範可於各entry內的url連結或是Composition進行查閱。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from TWCoreBundle
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 |
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
identifier | SΣ | 0..1 | Identifier | 一組Resources的資料交換基本單位(Bundle)的識別碼。 |
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。 |
timestamp | SΣ | 0..1 | instant | 組成Bundle的時間。 |
Slices for entry | SΣC | 7..* | 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
entry:composition | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-報告資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckComposition | 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。 | |
entry:Organization | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事機構 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckOrganization | 具有共同目的的一群人或機構 | |
entry:Patient | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-病患基本資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckPatient | 接受健康照護服務的個人或動物之資訊 | |
entry:Observation | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢驗資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckObservation | 檢驗檢查,測量及簡單的判定。 | |
entry:Specimen | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢體來源 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckSpecimen | 用於分析的檢體 | |
entry:Practitioner | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事人員 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckPractitioner | 對於所提供之健康照護或相關服務負有正式責任的人員 | |
entry:Encounter | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-開立資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckEncounter | 提供病人服務的一種互動 | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Bundle.type | required | BundleTypehttp://hl7.org/fhir/ValueSet/bundle-type|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
bdl-1 | error | Bundle | total only when a search or history : total.empty() or (type = 'searchset') or (type = 'history') | |
bdl-2 | error | Bundle | entry.search only when a search : entry.search.empty() or (type = 'searchset') | |
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited : entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history')) | |
bdl-4 | error | Bundle | entry.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-5 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | must be a resource unless there's a request or response : resource.exists() or request.exists() or response.exists() | |
bdl-7 | error | Bundle | FullUrl 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-8 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | fullUrl cannot be a version specific reference : fullUrl.contains('/_history/').not() | |
bdl-9 | error | Bundle | A document must have an identifier with a system and a value : type = 'document' implies (identifier.system.exists() and identifier.value.exists()) | |
bdl-10 | error | Bundle | A document must have a date : type = 'document' implies (timestamp.hasValue()) | |
bdl-11 | error | Bundle | A document must have a Composition as the first resource : type = 'document' implies entry.first().resource.is(Composition) | |
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource : type = 'message' implies entry.first().resource.is(MessageHeader) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄,通常又稱為邏輯性ID。 | ||||
meta | Σ | 0..1 | Meta | 此Bundle Resource的metadata | ||||
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ||||
language | 0..1 | code | 用以表述Bundle Resource內容的語言。 Binding: CommonLanguages (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: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。 | ||||
timestamp | SΣ | 0..1 | instant | 組成Bundle的時間。 | ||||
total | ΣC | 0..1 | unsignedInt | 查詢時符合條件的總筆數 | ||||
link | Σ | 0..* | BackboneElement | 與此Bundle相關的連結 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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) | ||||
url | Σ | 1..1 | uri | 連結的參照細節 | ||||
Slices for entry | SΣC | 7..* | 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:composition | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-報告資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckComposition | 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Organization | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事機構 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckOrganization | 具有共同目的的一群人或機構 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Patient | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-病患基本資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckPatient | 接受健康照護服務的個人或動物之資訊 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Observation | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢驗資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckObservation | 檢驗檢查,測量及簡單的判定。 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Specimen | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢體來源 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckSpecimen | 用於分析的檢體 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Practitioner | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事人員 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckPractitioner | 對於所提供之健康照護或相關服務負有正式責任的人員 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Encounter | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-開立資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckEncounter | 提供病人服務的一種互動 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 |
Path | Conformance | ValueSet | URI | |||
Bundle.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Bundle.type | required | BundleTypehttp://hl7.org/fhir/ValueSet/bundle-type|4.0.1 from the FHIR Standard | ||||
Bundle.entry.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:composition.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:composition.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Organization.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Organization.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Patient.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Patient.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Observation.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Observation.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Specimen.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Specimen.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Practitioner.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Practitioner.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Encounter.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Encounter.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
bdl-1 | error | Bundle | total only when a search or history : total.empty() or (type = 'searchset') or (type = 'history') | |
bdl-2 | error | Bundle | entry.search only when a search : entry.search.empty() or (type = 'searchset') | |
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited : entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history')) | |
bdl-4 | error | Bundle | entry.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-5 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | must be a resource unless there's a request or response : resource.exists() or request.exists() or response.exists() | |
bdl-7 | error | Bundle | FullUrl 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-8 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | fullUrl cannot be a version specific reference : fullUrl.contains('/_history/').not() | |
bdl-9 | error | Bundle | A document must have an identifier with a system and a value : type = 'document' implies (identifier.system.exists() and identifier.value.exists()) | |
bdl-10 | error | Bundle | A document must have a date : type = 'document' implies (timestamp.hasValue()) | |
bdl-11 | error | Bundle | A document must have a Composition as the first resource : type = 'document' implies entry.first().resource.is(Composition) | |
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource : type = 'message' implies entry.first().resource.is(MessageHeader) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from TWCoreBundle
Summary
Mandatory: 14 elements
Must-Support: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from TWCoreBundle
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 |
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
identifier | SΣ | 0..1 | Identifier | 一組Resources的資料交換基本單位(Bundle)的識別碼。 |
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。 |
timestamp | SΣ | 0..1 | instant | 組成Bundle的時間。 |
Slices for entry | SΣC | 7..* | 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
entry:composition | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-報告資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckComposition | 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。 | |
entry:Organization | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事機構 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckOrganization | 具有共同目的的一群人或機構 | |
entry:Patient | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-病患基本資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckPatient | 接受健康照護服務的個人或動物之資訊 | |
entry:Observation | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢驗資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckObservation | 檢驗檢查,測量及簡單的判定。 | |
entry:Specimen | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢體來源 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckSpecimen | 用於分析的檢體 | |
entry:Practitioner | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事人員 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckPractitioner | 對於所提供之健康照護或相關服務負有正式責任的人員 | |
entry:Encounter | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-開立資料 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 | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 |
resource | 1..1 | InspectionCheckEncounter | 提供病人服務的一種互動 | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Bundle.type | required | BundleTypehttp://hl7.org/fhir/ValueSet/bundle-type|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
bdl-1 | error | Bundle | total only when a search or history : total.empty() or (type = 'searchset') or (type = 'history') | |
bdl-2 | error | Bundle | entry.search only when a search : entry.search.empty() or (type = 'searchset') | |
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited : entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history')) | |
bdl-4 | error | Bundle | entry.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-5 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | must be a resource unless there's a request or response : resource.exists() or request.exists() or response.exists() | |
bdl-7 | error | Bundle | FullUrl 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-8 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | fullUrl cannot be a version specific reference : fullUrl.contains('/_history/').not() | |
bdl-9 | error | Bundle | A document must have an identifier with a system and a value : type = 'document' implies (identifier.system.exists() and identifier.value.exists()) | |
bdl-10 | error | Bundle | A document must have a date : type = 'document' implies (timestamp.hasValue()) | |
bdl-11 | error | Bundle | A document must have a Composition as the first resource : type = 'document' implies entry.first().resource.is(Composition) | |
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource : type = 'message' implies entry.first().resource.is(MessageHeader) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Bundle紀錄,通常又稱為邏輯性ID。 | ||||
meta | Σ | 0..1 | Meta | 此Bundle Resource的metadata | ||||
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ||||
language | 0..1 | code | 用以表述Bundle Resource內容的語言。 Binding: CommonLanguages (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: BundleType (required): Bundle類型;應填入所綁定值集中的其中一個代碼。 | ||||
timestamp | SΣ | 0..1 | instant | 組成Bundle的時間。 | ||||
total | ΣC | 0..1 | unsignedInt | 查詢時符合條件的總筆數 | ||||
link | Σ | 0..* | BackboneElement | 與此Bundle相關的連結 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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) | ||||
url | Σ | 1..1 | uri | 連結的參照細節 | ||||
Slices for entry | SΣC | 7..* | 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:composition | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-報告資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckComposition | 將一組resources組成一份連貫的臨床聲明,並附有臨床證明。 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Organization | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事機構 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckOrganization | 具有共同目的的一群人或機構 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Patient | ΣC | 1..1 | BackboneElement | 對應至檢驗檢查-病患基本資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckPatient | 接受健康照護服務的個人或動物之資訊 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Observation | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢驗資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckObservation | 檢驗檢查,測量及簡單的判定。 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Specimen | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-檢體來源 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckSpecimen | 用於分析的檢體 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Practitioner | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-醫事人員 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckPractitioner | 對於所提供之健康照護或相關服務負有正式責任的人員 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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:Encounter | ΣC | 1..* | BackboneElement | 對應至檢驗檢查-開立資料 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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
link | Σ | 0..* | See link (Bundle) | 與本條目相關的連結 | ||||
fullUrl | Σ | 0..1 | uri | Resource的 URI(絕對 URL 伺服器地址或 UUID/OID 的 URI) | ||||
resource | 1..1 | InspectionCheckEncounter | 提供病人服務的一種互動 | |||||
search | ΣC | 0..1 | BackboneElement | 查詢有關的資訊 | ||||
id | 0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 | 唯一可識別ID,以供資料項目間相互參照。 | |||||
extension | 0..* | Extension | 擴充的資料項目 | |||||
modifierExtension | ?!Σ | 0..* | Extension | 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。 | ||||
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 |
Path | Conformance | ValueSet | URI | |||
Bundle.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Bundle.type | required | BundleTypehttp://hl7.org/fhir/ValueSet/bundle-type|4.0.1 from the FHIR Standard | ||||
Bundle.entry.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:composition.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:composition.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Organization.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Organization.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Patient.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Patient.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Observation.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Observation.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Specimen.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Specimen.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Practitioner.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Practitioner.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Encounter.search.mode | required | SearchEntryModehttp://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1 from the FHIR Standard | ||||
Bundle.entry:Encounter.request.method | required | HTTPVerbhttp://hl7.org/fhir/ValueSet/http-verb|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
bdl-1 | error | Bundle | total only when a search or history : total.empty() or (type = 'searchset') or (type = 'history') | |
bdl-2 | error | Bundle | entry.search only when a search : entry.search.empty() or (type = 'searchset') | |
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited : entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history')) | |
bdl-4 | error | Bundle | entry.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-5 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | must be a resource unless there's a request or response : resource.exists() or request.exists() or response.exists() | |
bdl-7 | error | Bundle | FullUrl 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-8 | error | Bundle.entry, Bundle.entry:composition, Bundle.entry:Organization, Bundle.entry:Patient, Bundle.entry:Observation, Bundle.entry:Specimen, Bundle.entry:Practitioner, Bundle.entry:Encounter | fullUrl cannot be a version specific reference : fullUrl.contains('/_history/').not() | |
bdl-9 | error | Bundle | A document must have an identifier with a system and a value : type = 'document' implies (identifier.system.exists() and identifier.value.exists()) | |
bdl-10 | error | Bundle | A document must have a date : type = 'document' implies (timestamp.hasValue()) | |
bdl-11 | error | Bundle | A document must have a Composition as the first resource : type = 'document' implies entry.first().resource.is(Composition) | |
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource : type = 'message' implies entry.first().resource.is(MessageHeader) | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from TWCoreBundle
Summary
Mandatory: 14 elements
Must-Support: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron