全國性預防接種資訊登錄與上傳實作指引
0.0.1 - ci-build Taiwan, Province of China flag

全國性預防接種資訊登錄與上傳實作指引, published by 衛福部疾病管制署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hyweb-cdc/niis/ and changes regularly. See the Directory of published versions

Resource Profile: HBsAg檢驗檢查(Observation HBsAg Reporting NIIS)

Official URL: https://twniis.cdc.gov.tw/twniis/StructureDefinition/observation-hBsAg-reporting-niis Version: 0.0.1
Active as of 2026-09-03 Computable Name: ObservationHBsAgReportingNIIS

此HBsAg檢驗檢查(Observation HBsAg Reporting NIIS)Profile 說明本IG如何進一步定義臺灣核心-實驗室檢驗檢查(TW Core Observation Laboratory Result)Profile以呈現全國性預防接種資訊之HBsAg檢驗檢查資料。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* TWCoreObservationLaboratoryResult 檢驗檢查,測量及簡單的判定。
Constraints: obs-6, obs-7, tw-core-4
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): 檢驗檢查的狀態代碼;應填入所綁定值集中的其中一個代碼。
.... category:twcore S 1..1 CodeableConcept Classification of type of observation
Binding: 臺灣衛福部資訊處Observation Clinical Result類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/observation-category
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: laboratory
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... code S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Binding: LOINCCodes (extensible): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... Slices for coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
...... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
... encounter SΣ 0..1 Reference(TW Core Encounter) 檢驗檢查是哪一次就醫時執行的
... Slices for effective[x] SΣC 1..1 dateTime S 檢驗檢查執行日期或時間區間
Slice: Unordered, Closed by type:$this
Constraints: tw-core-3
.... effective[x]:effectiveDateTime SΣC 1..1 dateTime S 抽血日
Constraints: tw-core-3
... performer SΣ 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... value[x] SΣC 0..1 檢驗檢查的實際結果
Constraints: tw-core-5
.... valueQuantity Quantity S
.... valueCodeableConcept CodeableConcept S
.... valueString string S
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
... dataAbsentReason S 0..1 CodeableConceptTW 缺少檢驗檢查結果的原因
Binding: DataAbsentReason (extensible): 代碼具體說明檢驗檢查結果缺少的原因;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... code SΣ 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
..... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... Slices for component SΣ 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 組成之檢驗檢查的實際結果
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:ExpectedDeliveryDate SΣ 0..1 BackboneElement 預產期
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 預產期
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 預產期
.... component:HepatitisBViralLoad SΣ 0..1 BackboneElement B型肝炎病毒含量
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: B型肝炎病毒含量
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 Quantity B型肝炎病毒含量
.... component:IsAntiviralTherapy SΣ 0..1 BackboneElement 是否使用抗病毒藥物治療
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 是否使用抗病毒藥物治療
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 boolean 是否使用抗病毒藥物治療
.... component:avtStartDate SΣ 0..1 BackboneElement 抗病毒藥物治療起日
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 抗病毒藥物治療起日
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 抗病毒藥物治療起日

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📦4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處Observation Clinical Result類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Observation.code Base extensible LOINC Codes 📦4.0.1 FHIR Std.
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.component.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:ExpectedDeliveryDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:HepatitisBViralLoad.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:IsAntiviralTherapy.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:avtStartDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
tw-core-3 error Observation.effective[x], Observation.effective[x]:effectiveDateTime Datetime must be at least to day. $this is dateTime implies $this.toString().length() >= 10
tw-core-4 error Observation If there is no component or hasMember element then either a value[x] or a data absent reason must be present. (component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())
tw-core-5 error Observation.value[x] SHALL use UCUM for coded quantity units. ofType(Quantity).system.empty() or ofType(Quantity).system = 'http://unitsofmeasure.org'

This structure is derived from TWCoreObservationLaboratoryResult

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation TWCoreObservationLaboratoryResult
... category 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
... code
.... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
.... Slices for coding Content/Rules for all slices
..... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
..... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目-檢驗相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... code 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
... subject 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
.... effective[x]:effectiveDateTime S 1..1 dateTime S 抽血日
... performer 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... coding
..... code 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
.... text 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... Slices for component 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... code
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
.... component:ExpectedDeliveryDate S 0..1 BackboneElement 預產期
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 預產期
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 dateTime 預產期
.... component:HepatitisBViralLoad S 0..1 BackboneElement B型肝炎病毒含量
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: B型肝炎病毒含量
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 Quantity B型肝炎病毒含量
.... component:IsAntiviralTherapy S 0..1 BackboneElement 是否使用抗病毒藥物治療
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 是否使用抗病毒藥物治療
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 boolean 是否使用抗病毒藥物治療
.... component:avtStartDate S 0..1 BackboneElement 抗病毒藥物治療起日
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 抗病毒藥物治療起日
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 dateTime 抗病毒藥物治療起日

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG

Constraints

Id Grade Path(s) Description Expression
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* TWCoreObservationLaboratoryResult 檢驗檢查,測量及簡單的判定。
Constraints: obs-6, obs-7, tw-core-4
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Observation紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Observation Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Observation Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Observation Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 檢驗檢查的識別碼,通常為業務目的所使用的識別碼,例如:檢驗序號或單號。
... basedOn Σ 0..* Reference(TW Core CarePlan | DeviceRequest | ImmunizationRecommendation | TW Core MedicationRequest | NutritionOrder | TW Core ServiceRequest) 依據的照護計畫/提議/醫令
... partOf Σ 0..* Reference(MedicationAdministration | TW Core MedicationDispense | TW Core MedicationStatement | TW Core Procedure | TW Core Immunization | TW Core ImagingStudy) 此檢驗檢查是哪個參照事件的一部分
... status ?!SΣ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): 檢驗檢查的狀態代碼;應填入所綁定值集中的其中一個代碼。
... Slices for category S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): 高層次的檢驗檢查分類;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... category:twcore S 1..1 CodeableConcept Classification of type of observation
Binding: 臺灣衛福部資訊處Observation Clinical Result類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/observation-category
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: laboratory
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... code S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Binding: LOINCCodes (extensible): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
... focus Σ 0..* Reference(Resource) 當檢驗檢查並非有關於與病人本身,檢驗檢查是關於什麼。
... encounter SΣ 0..1 Reference(TW Core Encounter) 檢驗檢查是哪一次就醫時執行的
... Slices for effective[x] SΣC 1..1 dateTime S 檢驗檢查執行日期或時間區間
Slice: Unordered, Closed by type:$this
Constraints: tw-core-3
.... effective[x]:effectiveDateTime SΣC 1..1 dateTime S 抽血日
Constraints: tw-core-3
... issued Σ 0..1 instant 此版本檢驗檢查完成的日期或時間
... performer SΣ 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... value[x] SΣC 0..1 檢驗檢查的實際結果
Constraints: tw-core-5
.... valueQuantity Quantity S
.... valueCodeableConcept CodeableConcept S
.... valueString string S
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
... dataAbsentReason S 0..1 CodeableConceptTW 缺少檢驗檢查結果的原因
Binding: DataAbsentReason (extensible): 代碼具體說明檢驗檢查結果缺少的原因;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... bodySite 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTBodyStructures (extensible)
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... device 0..1 Reference(Device | DeviceMetric) (測量)設備
... referenceRange C 0..* BackboneElement 解釋結果值的指引。 obs-3:必須至少有低、高或文字表述。
Constraints: obs-3
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low C 0..1 SimpleQuantity 參考範圍值的下限值,如果相關。
.... high C 0..1 SimpleQuantity 參考範圍值的上限值,如果相關。
.... type 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationReferenceRangeMeaningCodes (preferred): 用以表述參考範圍值之含意的代碼;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... appliesTo 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationReferenceRangeAppliesToCodes (example): 用以指明參考範圍值適用的對象或人口群之代碼;可參考所綁定代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼代碼表中的代碼。
.... age 0..1 Range 適用的年齡範圍值,如果相關。
.... text 0..1 string 檢驗檢查中以文字表述的參考範圍值
... hasMember Σ 0..* Reference(TW Core Observation Laboratory Result | TW Core QuestionnaireResponse | MolecularSequence) 屬於此組檢驗檢查的相關Resource
... derivedFrom Σ 0..* Reference(TW Core DocumentReference | TW Core ImagingStudy | TW Core Media | TW Core QuestionnaireResponse | TW Core Observation Laboratory Result | MolecularSequence) 檢驗檢查源自哪些相關測量
... Slices for component SΣ 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 組成之檢驗檢查的實際結果
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:ExpectedDeliveryDate SΣ 0..1 BackboneElement 預產期
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 預產期
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 預產期
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:HepatitisBViralLoad SΣ 0..1 BackboneElement B型肝炎病毒含量
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: B型肝炎病毒含量
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 Quantity B型肝炎病毒含量
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:IsAntiviralTherapy SΣ 0..1 BackboneElement 是否使用抗病毒藥物治療
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 是否使用抗病毒藥物治療
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 boolean 是否使用抗病毒藥物治療
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:avtStartDate SΣ 0..1 BackboneElement 抗病毒藥物治療起日
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 抗病毒藥物治療起日
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 抗病毒藥物治療起日
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📦4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處Observation Clinical Result類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Observation.code Base extensible LOINC Codes 📦4.0.1 FHIR Std.
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.bodySite Base extensible SNOMED CT Body Structures 📦4.0.1 FHIR Std.
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📦4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📦4.0.1 FHIR Std.
Observation.component.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:ExpectedDeliveryDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:ExpectedDeliveryDate.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:ExpectedDeliveryDate.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:HepatitisBViralLoad.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:HepatitisBViralLoad.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:HepatitisBViralLoad.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:IsAntiviralTherapy.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:IsAntiviralTherapy.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:IsAntiviralTherapy.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:avtStartDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:avtStartDate.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:avtStartDate.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()
obs-3 error Observation.referenceRange Must have at least a low or a high or text low.exists() or high.exists() or text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
tw-core-3 error Observation.effective[x], Observation.effective[x]:effectiveDateTime Datetime must be at least to day. $this is dateTime implies $this.toString().length() >= 10
tw-core-4 error Observation If there is no component or hasMember element then either a value[x] or a data absent reason must be present. (component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())
tw-core-5 error Observation.value[x] SHALL use UCUM for coded quantity units. ofType(Quantity).system.empty() or ofType(Quantity).system = 'http://unitsofmeasure.org'

This structure is derived from TWCoreObservationLaboratoryResult

Summary

Mandatory: 7 elements(1 nested mandatory element)
Must-Support: 9 elements
Prohibited: 12 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the values of Observation.effective[x]
  • The element 1 is sliced based on the values of Observation.component

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* TWCoreObservationLaboratoryResult 檢驗檢查,測量及簡單的判定。
Constraints: obs-6, obs-7, tw-core-4
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): 檢驗檢查的狀態代碼;應填入所綁定值集中的其中一個代碼。
.... category:twcore S 1..1 CodeableConcept Classification of type of observation
Binding: 臺灣衛福部資訊處Observation Clinical Result類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/observation-category
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: laboratory
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... code S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Binding: LOINCCodes (extensible): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... Slices for coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
...... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
... encounter SΣ 0..1 Reference(TW Core Encounter) 檢驗檢查是哪一次就醫時執行的
... Slices for effective[x] SΣC 1..1 dateTime S 檢驗檢查執行日期或時間區間
Slice: Unordered, Closed by type:$this
Constraints: tw-core-3
.... effective[x]:effectiveDateTime SΣC 1..1 dateTime S 抽血日
Constraints: tw-core-3
... performer SΣ 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... value[x] SΣC 0..1 檢驗檢查的實際結果
Constraints: tw-core-5
.... valueQuantity Quantity S
.... valueCodeableConcept CodeableConcept S
.... valueString string S
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
... dataAbsentReason S 0..1 CodeableConceptTW 缺少檢驗檢查結果的原因
Binding: DataAbsentReason (extensible): 代碼具體說明檢驗檢查結果缺少的原因;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... code SΣ 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
..... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... Slices for component SΣ 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 組成之檢驗檢查的實際結果
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
.... component:ExpectedDeliveryDate SΣ 0..1 BackboneElement 預產期
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 預產期
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 預產期
.... component:HepatitisBViralLoad SΣ 0..1 BackboneElement B型肝炎病毒含量
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: B型肝炎病毒含量
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 Quantity B型肝炎病毒含量
.... component:IsAntiviralTherapy SΣ 0..1 BackboneElement 是否使用抗病毒藥物治療
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 是否使用抗病毒藥物治療
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 boolean 是否使用抗病毒藥物治療
.... component:avtStartDate SΣ 0..1 BackboneElement 抗病毒藥物治療起日
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... version 0..1 string Version of the system - if relevant
....... userSelected 0..1 boolean If this coding was chosen directly by the user
....... coding:All Slices Content/Rules for all slices
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 抗病毒藥物治療起日
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 抗病毒藥物治療起日

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📦4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處Observation Clinical Result類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Observation.code Base extensible LOINC Codes 📦4.0.1 FHIR Std.
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.component.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:ExpectedDeliveryDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:HepatitisBViralLoad.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:IsAntiviralTherapy.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:avtStartDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
tw-core-3 error Observation.effective[x], Observation.effective[x]:effectiveDateTime Datetime must be at least to day. $this is dateTime implies $this.toString().length() >= 10
tw-core-4 error Observation If there is no component or hasMember element then either a value[x] or a data absent reason must be present. (component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())
tw-core-5 error Observation.value[x] SHALL use UCUM for coded quantity units. ofType(Quantity).system.empty() or ofType(Quantity).system = 'http://unitsofmeasure.org'

Differential View

This structure is derived from TWCoreObservationLaboratoryResult

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation TWCoreObservationLaboratoryResult
... category 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
... code
.... coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
.... Slices for coding Content/Rules for all slices
..... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
..... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目-檢驗相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... code 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
... subject 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
.... effective[x]:effectiveDateTime S 1..1 dateTime S 抽血日
... performer 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... coding
..... code 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
.... text 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... Slices for component 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... code
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
.... component:ExpectedDeliveryDate S 0..1 BackboneElement 預產期
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 預產期
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 dateTime 預產期
.... component:HepatitisBViralLoad S 0..1 BackboneElement B型肝炎病毒含量
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: B型肝炎病毒含量
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 Quantity B型肝炎病毒含量
.... component:IsAntiviralTherapy S 0..1 BackboneElement 是否使用抗病毒藥物治療
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 是否使用抗病毒藥物治療
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 boolean 是否使用抗病毒藥物治療
.... component:avtStartDate S 0..1 BackboneElement 抗病毒藥物治療起日
..... code 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Required Pattern: At least the following
...... coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Fixed Value: (Complex)
....... display 1..1 string Representation defined by the system
Fixed Value: 抗病毒藥物治療起日
....... system 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
....... code 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
...... Slices for coding Content/Rules for all slices
....... coding:LOINCObservationCode 0..0 LOINC®為Regenstrief Institute, Inc.維護的檢驗事件描述代碼,可免費使用,可優先選用此代碼。
....... coding:TWLaboratoryCategory 0..0 此為中央健康保險署(NHI)維護之醫療服務給付項目相關代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
..... value[x] 0..1 dateTime 抗病毒藥物治療起日

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG

Constraints

Id Grade Path(s) Description Expression
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Observation C 0..* TWCoreObservationLaboratoryResult 檢驗檢查,測量及簡單的判定。
Constraints: obs-6, obs-7, tw-core-4
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Observation紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Observation Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Observation Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Observation Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier 檢驗檢查的識別碼,通常為業務目的所使用的識別碼,例如:檢驗序號或單號。
... basedOn Σ 0..* Reference(TW Core CarePlan | DeviceRequest | ImmunizationRecommendation | TW Core MedicationRequest | NutritionOrder | TW Core ServiceRequest) 依據的照護計畫/提議/醫令
... partOf Σ 0..* Reference(MedicationAdministration | TW Core MedicationDispense | TW Core MedicationStatement | TW Core Procedure | TW Core Immunization | TW Core ImagingStudy) 此檢驗檢查是哪個參照事件的一部分
... status ?!SΣ 1..1 code registered | preliminary | final | amended +
Binding: ObservationStatus (required): 檢驗檢查的狀態代碼;應填入所綁定值集中的其中一個代碼。
... Slices for category S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Slice: Unordered, Open by pattern:$this
Binding: ObservationCategoryCodes (preferred): 高層次的檢驗檢查分類;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... category:twcore S 1..1 CodeableConcept Classification of type of observation
Binding: 臺灣衛福部資訊處Observation Clinical Result類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/observation-category
...... version 0..1 string Version of the system - if relevant
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: laboratory
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... code S 1..1 CodeableConceptTW 概念(concept)-參照一個專門術語或只是純文字。
Binding: LOINCCodes (extensible): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:HBsAg S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: CDC-VACC系統-B肝抗原檢驗值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-hep-b-test-code-values
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: HBsAg
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(個案資料(Patient Reporting NIIS)) 檢驗檢查有關的對象及(或)事物
... focus Σ 0..* Reference(Resource) 當檢驗檢查並非有關於與病人本身,檢驗檢查是關於什麼。
... encounter SΣ 0..1 Reference(TW Core Encounter) 檢驗檢查是哪一次就醫時執行的
... Slices for effective[x] SΣC 1..1 dateTime S 檢驗檢查執行日期或時間區間
Slice: Unordered, Closed by type:$this
Constraints: tw-core-3
.... effective[x]:effectiveDateTime SΣC 1..1 dateTime S 抽血日
Constraints: tw-core-3
... issued Σ 0..1 instant 此版本檢驗檢查完成的日期或時間
... performer SΣ 0..* Reference(採檢單位(Organization Specimen Collection Reporting NIIS)) 誰負責這項檢驗檢查
... value[x] SΣC 0..1 檢驗檢查的實際結果
Constraints: tw-core-5
.... valueQuantity Quantity S
.... valueCodeableConcept CodeableConcept S
.... valueString string S
.... valueBoolean boolean
.... valueInteger integer
.... valueRange Range
.... valueRatio Ratio
.... valueSampledData SampledData
.... valueTime time
.... valueDateTime dateTime
.... valuePeriod Period
... dataAbsentReason S 0..1 CodeableConceptTW 缺少檢驗檢查結果的原因
Binding: DataAbsentReason (extensible): 代碼具體說明檢驗檢查結果缺少的原因;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... interpretation S 1..1 CodeableConceptTW HBsAg RIA/HBsAg EIA/HBsAg Other之檢驗結果
Binding: HL7 Observation-Interpretation值集 (required)
... note S 0..1 Annotation 備註說明欄位
... bodySite 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTBodyStructures (extensible)
... method SC 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: CDC-NIIS系統-檢驗方法值集 (required)
Constraints: niis-hbsag-method-other
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code 系統定義的語法之符號
Binding: CDC-NIIS系統-檢驗方法值集 (required)
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string HBsAg其他檢驗方法名稱
... specimen 0..1 Reference(檢驗檢體(Specimen Reporting NIIS)) B肝病毒量採檢日期
... device 0..1 Reference(Device | DeviceMetric) (測量)設備
... referenceRange C 0..* BackboneElement 解釋結果值的指引。 obs-3:必須至少有低、高或文字表述。
Constraints: obs-3
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... low C 0..1 SimpleQuantity 參考範圍值的下限值,如果相關。
.... high C 0..1 SimpleQuantity 參考範圍值的上限值,如果相關。
.... type 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationReferenceRangeMeaningCodes (preferred): 用以表述參考範圍值之含意的代碼;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... appliesTo 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationReferenceRangeAppliesToCodes (example): 用以指明參考範圍值適用的對象或人口群之代碼;可參考所綁定代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼代碼表中的代碼。
.... age 0..1 Range 適用的年齡範圍值,如果相關。
.... text 0..1 string 檢驗檢查中以文字表述的參考範圍值
... hasMember Σ 0..* Reference(TW Core Observation Laboratory Result | TW Core QuestionnaireResponse | MolecularSequence) 屬於此組檢驗檢查的相關Resource
... derivedFrom Σ 0..* Reference(TW Core DocumentReference | TW Core ImagingStudy | TW Core Media | TW Core QuestionnaireResponse | TW Core Observation Laboratory Result | MolecularSequence) 檢驗檢查源自哪些相關測量
... Slices for component SΣ 0..* BackboneElement 組成之(部分)檢驗檢查的檢驗結果
Slice: Unordered, Open by pattern:code
.... component:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 組成之檢驗檢查的實際結果
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueSampledData SampledData
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:ExpectedDeliveryDate SΣ 0..1 BackboneElement 預產期
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 預產期
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 預產期
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 預產期
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:HepatitisBViralLoad SΣ 0..1 BackboneElement B型肝炎病毒含量
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: B型肝炎病毒含量
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: B型肝炎病毒含量
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 Quantity B型肝炎病毒含量
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:IsAntiviralTherapy SΣ 0..1 BackboneElement 是否使用抗病毒藥物治療
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 是否使用抗病毒藥物治療
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 是否使用抗病毒藥物治療
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 boolean 是否使用抗病毒藥物治療
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引
.... component:avtStartDate SΣ 0..1 BackboneElement 抗病毒藥物治療起日
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: LOINC實驗室檢驗檢查值集 (example)
Required Pattern: At least the following
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Fixed Value: (Complex)
....... coding:All Slices Content/Rules for all slices
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ 0..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twniis.cdc.gov.tw/twniis/CodeSystem/twniis-obs-values
........ version Σ 0..1 string 系統的版本—如果相關的話
........ code SΣ 0..1 code 系統定義的語法之符號
Required Pattern: 抗病毒藥物治療起日
........ display SΣ 0..1 string 由系統定義的表示法
Fixed Value: 抗病毒藥物治療起日
........ userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
...... Slices for coding Content/Rules for all slices
...... text SΣ 0..1 string 概念的文字表示法
..... value[x] SΣ 0..1 dateTime 抗病毒藥物治療起日
..... dataAbsentReason 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: DataAbsentReason (extensible): 代碼指明為什麼結果(Observation.value[x])缺少;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... interpretation 0..* CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ObservationInterpretationCodes (extensible): 用以指明檢驗檢查的解釋之代碼。應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
..... referenceRange 0..* See referenceRange (Observation) 解釋此組成之檢驗驗查的結果值之指引

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Observation.status Base required ObservationStatus 📍4.0.1 FHIR Std.
Observation.category Base preferred Observation Category Codes 📦4.0.1 FHIR Std.
Observation.category:twcore Base required 臺灣衛福部資訊處Observation Clinical Result類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Observation.code Base extensible LOINC Codes 📦4.0.1 FHIR Std.
Observation.code.coding:HBsAg Base required CDC-VACC系統-B肝抗原檢驗值集 📦2026-08-15 This IG
Observation.dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.interpretation Base required HL7 Observation-Interpretation值集 📦2026-08-15 This IG
Observation.bodySite Base extensible SNOMED CT Body Structures 📦4.0.1 FHIR Std.
Observation.method Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.method.coding.​code Base required CDC-NIIS系統-檢驗方法值集 📦2026-08-15 This IG
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📦4.0.1 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📦4.0.1 FHIR Std.
Observation.component.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:ExpectedDeliveryDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:ExpectedDeliveryDate.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:ExpectedDeliveryDate.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:HepatitisBViralLoad.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:HepatitisBViralLoad.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:HepatitisBViralLoad.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:IsAntiviralTherapy.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:IsAntiviralTherapy.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:IsAntiviralTherapy.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.
Observation.component:avtStartDate.​code Base example LOINC實驗室檢驗檢查值集 📦2.77 臺灣核心實作指引 v0.3
Observation.component:avtStartDate.​dataAbsentReason Base extensible DataAbsentReason 📦4.0.1 FHIR Std.
Observation.component:avtStartDate.​interpretation Base extensible Observation Interpretation Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 Observation 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 Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation 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()
niis-hbsag-method-other error Observation.method 檢驗方法為 Other 時,method.text(HBsAg 其他檢驗方法名稱)必填 coding.where(code = 'Other').exists() implies text.exists()
obs-3 error Observation.referenceRange Must have at least a low or a high or text low.exists() or high.exists() or text.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
tw-core-3 error Observation.effective[x], Observation.effective[x]:effectiveDateTime Datetime must be at least to day. $this is dateTime implies $this.toString().length() >= 10
tw-core-4 error Observation If there is no component or hasMember element then either a value[x] or a data absent reason must be present. (component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())
tw-core-5 error Observation.value[x] SHALL use UCUM for coded quantity units. ofType(Quantity).system.empty() or ofType(Quantity).system = 'http://unitsofmeasure.org'

This structure is derived from TWCoreObservationLaboratoryResult

Summary

Mandatory: 7 elements(1 nested mandatory element)
Must-Support: 9 elements
Prohibited: 12 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the values of Observation.effective[x]
  • The element 1 is sliced based on the values of Observation.component

 

Other representations of profile: CSV, Excel, Schematron