臺灣結核病實作指引, published by 衛福部疾病管制署. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/omnifhir/tb/ and changes regularly. See the Directory of published versions
| Official URL: https://tb.cdc.gov.tw/tb/StructureDefinition/MessageHeader-tb-reporting | Version: 0.1.0 | |||
| Active as of 2026-10-28 | Computable Name: MessageHeaderReporting | |||
此檢驗通報訊息-MessageHeader TB Reporting Profile說明本IG如何進一步定義臺灣核心-訊息表頭(TW Core MessageHeader) Profile以呈現TB檢驗通報訊息
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMessageHeader | 描述系統間交換的訊息的resources | |
![]() ![]() |
0..1 | Meta | 此DocumentReference Resource的metadata | |
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Closed by type:$this Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |
![]() ![]() |
1..1 | BackboneElement | 訊息來源應用程式 | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | url | 實際訊息來源地址或ID | |
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.event[x] | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventCoding | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventUri | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 TWCoreMessageHeader
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
TWCoreMessageHeader | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |
![]() ![]() |
1..1 | Coding, uri | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Open by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | |
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreMessageHeader | 描述系統間交換的訊息的resources | |||||
![]() ![]() |
0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。 | |||||
![]() ![]() |
0..1 | Meta | 此DocumentReference Resource的metadata | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |||||
![]() ![]() |
0..1 | code | 用以表述DocumentReference Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | DocumentReference Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Closed by type:$this Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..* | BackboneElement | 訊息目的地應用程式 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | string | 系統的名稱 | |||||
![]() ![]() ![]() |
0..1 | Reference(Device) | 在訊息或資料發送的目的地中,指定一個具體的接收點。 | |||||
![]() ![]() ![]() |
1..1 | url | 實際目的地地址或id | |||||
![]() ![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) | 資料應該被發送給在現實生活中真正需要這些資訊的個人或機構 | |||||
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 資料輸入的來源 | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 決策的來源 | |||||
![]() ![]() |
1..1 | BackboneElement | 訊息來源應用程式 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | string | 系統的名稱 | |||||
![]() ![]() ![]() |
0..1 | string | 運行系統的軟體名稱 | |||||
![]() ![]() ![]() |
0..1 | string | 軟體運行的版本 | |||||
![]() ![]() ![]() |
0..1 | ContactPoint | 提供人工聯絡途徑以處理問題 | |||||
![]() ![]() ![]() |
1..1 | url | 實際訊息來源地址或ID | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) | 事件的最終責任 | |||||
![]() ![]() |
0..1 | CodeableConcept | 事件的原因 Binding: ExampleMessageReasonCodes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() |
0..1 | BackboneElement | 這是對先前訊息的回應 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | id | 原始訊息的Id | |||||
![]() ![]() ![]() |
1..1 | code | ok | transient-error | fatal-error Binding: ResponseType (required): 訊息回應類型;應填入所綁定值集中的其中一個代碼。 | |||||
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | 特定的提示/警告/錯誤清單 | |||||
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |||||
![]() ![]() |
0..1 | canonical(MessageDefinition) | 這個訊息的定義連結 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MessageHeader.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MessageHeader.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x] | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventCoding | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventUri | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.reason | Base | example | Example Message Reason Codes | 📦4.0.1 | FHIR Std. |
| MessageHeader.response.code | Base | required | ResponseType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 TWCoreMessageHeader
Summary
Mandatory: 2 elements
Must-Support: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMessageHeader | 描述系統間交換的訊息的resources | |
![]() ![]() |
0..1 | Meta | 此DocumentReference Resource的metadata | |
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Closed by type:$this Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |
![]() ![]() |
1..1 | BackboneElement | 訊息來源應用程式 | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | url | 實際訊息來源地址或ID | |
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.event[x] | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventCoding | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventUri | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
Differential View
This structure is derived from TWCoreMessageHeader
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
TWCoreMessageHeader | |||
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |
![]() ![]() |
1..1 | Coding, uri | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Open by type:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | |
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreMessageHeader | 描述系統間交換的訊息的resources | |||||
![]() ![]() |
0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。 | |||||
![]() ![]() |
0..1 | Meta | 此DocumentReference Resource的metadata | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | 最後修改日期時間,YYYY-MM-DDThh:mm:ss.sss+zz:zz。 Example 最後修改日期時間: 2026-01-01T08:36:48+08:00 | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |||||
![]() ![]() |
0..1 | code | 用以表述DocumentReference Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | DocumentReference Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | 此訊息代表的事件的代碼或連結到事件定義 Slice: Unordered, Closed by type:$this Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view | ||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() |
0..1 | Coding | 此訊息代表的事件的代碼或連結到事件定義 Binding: MessageEvent (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Required Pattern: https://tb.cdc.gov.tw/tb/CodeSystem/cdc-message-event (extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Symbol in syntax defined by the system Required Pattern: reporting (extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..* | BackboneElement | 訊息目的地應用程式 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | string | 系統的名稱 | |||||
![]() ![]() ![]() |
0..1 | Reference(Device) | 在訊息或資料發送的目的地中,指定一個具體的接收點。 | |||||
![]() ![]() ![]() |
1..1 | url | 實際目的地地址或id | |||||
![]() ![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) | 資料應該被發送給在現實生活中真正需要這些資訊的個人或機構 | |||||
![]() ![]() |
1..1 | Reference(醫事機構-Organization TB) | 實驗室收件單位 | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 資料輸入的來源 | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 決策的來源 | |||||
![]() ![]() |
1..1 | BackboneElement | 訊息來源應用程式 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | string | 系統的名稱 | |||||
![]() ![]() ![]() |
0..1 | string | 運行系統的軟體名稱 | |||||
![]() ![]() ![]() |
0..1 | string | 軟體運行的版本 | |||||
![]() ![]() ![]() |
0..1 | ContactPoint | 提供人工聯絡途徑以處理問題 | |||||
![]() ![]() ![]() |
1..1 | url | 實際訊息來源地址或ID | |||||
![]() ![]() |
0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization) | 事件的最終責任 | |||||
![]() ![]() |
0..1 | CodeableConcept | 事件的原因 Binding: ExampleMessageReasonCodes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() |
0..1 | BackboneElement | 這是對先前訊息的回應 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | id | 原始訊息的Id | |||||
![]() ![]() ![]() |
1..1 | code | ok | transient-error | fatal-error Binding: ResponseType (required): 訊息回應類型;應填入所綁定值集中的其中一個代碼。 | |||||
![]() ![]() ![]() |
0..1 | Reference(OperationOutcome) | 特定的提示/警告/錯誤清單 | |||||
![]() ![]() |
1..* | Reference(實驗室報告-DiagnosticReport TB Reporting) | 訊息的實際內容 | |||||
![]() ![]() |
0..1 | canonical(MessageDefinition) | 這個訊息的定義連結 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MessageHeader.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MessageHeader.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x] | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventCoding | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.event[x]:eventUri | Base | example | MessageEvent | 📦4.0.1 | FHIR Std. |
| MessageHeader.reason | Base | example | Example Message Reason Codes | 📦4.0.1 | FHIR Std. |
| MessageHeader.response.code | Base | required | ResponseType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 TWCoreMessageHeader
Summary
Mandatory: 2 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