臺灣健保事前審查實作指引
1.2.8 - ci-build

臺灣健保事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.2.8 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/pas/ and changes regularly. See the Directory of published versions

Resource Profile: 就醫科別-Encounter TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas Version: 1.2.8
Active as of 2026-10-14 Computable Name: EncounterTWPAS

此就醫科別-Encounter TWPAS Profile說明本IG如何進一步定義臺灣核心-就醫事件(TW Core Encounter) Profile以呈現事前審查中院所資訊之就醫科別

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: doco
Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
Encounter.meta This element is included in summaries. 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.identifier This element must be supported. This element is included in summaries. 0..* Identifier 此就醫事件的識別碼
Encounter.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
Encounter.identifier.system This element must be supported. This element is included in summaries. 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
Encounter.identifier.value This element must be supported. This element is included in summaries. 1..1 string 唯一值
Example General: 123456
Encounter.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 就醫現況。【因FHIR設計而需必填】
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
Required Pattern: planned
Encounter.class This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.serviceType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫科別,完整代碼對應表請參照就醫科別對應表。
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred): 完整代碼對應表請參照就醫科別對應表。
Encounter.serviceType.Slices for coding This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.system This element must be supported. This element is included in summaries. 0..1 uri 專門術語系統(terminology system)的識別
Encounter.serviceType.Slices for coding.coding:All Slices.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:All Slices.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對應至SNOMED CT之就醫科別
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署就醫科別
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署診療科別
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Encounter.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)
Encounter.participant This element must be supported. This element is included in summaries. 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
Encounter.participant.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.participant.type This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.participant.period This element must be supported. 0..1 Period 參與者在病人就醫期間參與的時段
Encounter.participant.individual This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
Encounter.period This element must be supported. 0..1 Period 就醫的開始和結束時間
Encounter.reasonCode This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization This element must be supported. 0..1 BackboneElement 關於入院接受健康照護服務的細節
Encounter.hospitalization.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.hospitalization.dischargeDisposition This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location This element must be supported. 0..* BackboneElement 病人曾去過的一個或多個地點
Encounter.location.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.location.location This element must be supported. 1..1 Reference(TW Core Location) 就醫發生的地點
Encounter.serviceProvider This element must be supported. 0..1 Reference(TW Core Organization) 負責這次就醫的機構

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter 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 Encounter 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 Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter 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 TWCoreEncounter

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter TWCoreEncounter
Encounter.meta 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.status 1..1 code 就醫現況。【因FHIR設計而需必填】
Required Pattern: planned
Encounter.class 1..1 CodingTW 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.serviceType.Slices for coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT 0..1 CodingTW 對應至SNOMED CT之就醫科別
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment 0..1 CodingTW 無法對應至SNOMED CT之臺灣健保署就醫科別
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment 0..1 CodingTW 無法對應至SNOMED CT之臺灣健保署診療科別
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code 1..1 code 系統定義的語法之符號
Encounter.subject 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
Encounter.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
Encounter.meta This element is included in summaries. 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.id 0..1 string Unique id for inter-element referencing
Encounter.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Encounter.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Encounter.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Encounter.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Encounter.meta.tag This element is included in summaries. 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".
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Encounter.language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Encounter.text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Encounter.contained 0..* Resource Contained, inline Resources
Encounter.extension 0..* Extension Additional content defined by implementations
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.identifier This element must be supported. This element is included in summaries. 0..* Identifier 此就醫事件的識別碼
Encounter.identifier.id 0..1 string Unique id for inter-element referencing
Encounter.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
Encounter.identifier.type 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.identifier.system This element must be supported. This element is included in summaries. 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
Encounter.identifier.value This element must be supported. This element is included in summaries. 1..1 string 唯一值
Example General: 123456
Encounter.identifier.period This element is included in summaries. 0..1 Period 此就醫事件識別碼(identifier)的使用效期
Encounter.identifier.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Encounter.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 就醫現況。【因FHIR設計而需必填】
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
Required Pattern: planned
Encounter.statusHistory 0..* BackboneElement 過去的就醫狀態清單
Encounter.statusHistory.id 0..1 string Unique id for inter-element referencing
Encounter.statusHistory.extension 0..* Extension Additional content defined by implementations
Encounter.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.statusHistory.status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼
Encounter.statusHistory.period 1..1 Period 該事件處於特定狀態的時間
Encounter.class This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.classHistory 0..* BackboneElement 過去就醫類別的列表
Encounter.classHistory.id 0..1 string Unique id for inter-element referencing
Encounter.classHistory.extension 0..* Extension Additional content defined by implementations
Encounter.classHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.classHistory.class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.classHistory.period 1..1 Period 此就醫事件處於特定類別的時間
Encounter.type 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.serviceType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫科別,完整代碼對應表請參照就醫科別對應表。
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred): 完整代碼對應表請參照就醫科別對應表。
Encounter.serviceType.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:All Slices.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:All Slices.system This element must be supported. This element is included in summaries. 0..1 uri 專門術語系統(terminology system)的識別
Encounter.serviceType.Slices for coding.coding:All Slices.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:All Slices.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:All Slices.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:All Slices.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對應至SNOMED CT之就醫科別
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署就醫科別
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署診療科別
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Encounter.priority 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)
Encounter.episodeOfCare This element is included in summaries. 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
Encounter.basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
Encounter.participant This element must be supported. This element is included in summaries. 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
Encounter.participant.id 0..1 string Unique id for inter-element referencing
Encounter.participant.extension 0..* Extension Additional content defined by implementations
Encounter.participant.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.participant.type This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.participant.period This element must be supported. 0..1 Period 參與者在病人就醫期間參與的時段
Encounter.participant.individual This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
Encounter.appointment This element is included in summaries. 0..* Reference(Appointment) 這次就醫的預約紀錄
Encounter.period This element must be supported. 0..1 Period 就醫的開始和結束時間
Encounter.length 0..1 Duration 就醫持續的時間(扣除缺席時間)
Encounter.reasonCode This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.reasonReference This element is included in summaries. 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
Encounter.diagnosis This element is included in summaries. 0..* BackboneElement 與此就醫相關的診斷清單
Encounter.diagnosis.id 0..1 string Unique id for inter-element referencing
Encounter.diagnosis.extension 0..* Extension Additional content defined by implementations
Encounter.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.diagnosis.condition This element is included in summaries. 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
Encounter.diagnosis.use 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.diagnosis.rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
Encounter.account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
Encounter.hospitalization This element must be supported. 0..1 BackboneElement 關於入院接受健康照護服務的細節
Encounter.hospitalization.id 0..1 string Unique id for inter-element referencing
Encounter.hospitalization.extension 0..* Extension Additional content defined by implementations
Encounter.hospitalization.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.hospitalization.preAdmissionIdentifier 0..1 Identifier 住院前識別碼
Encounter.hospitalization.origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
Encounter.hospitalization.admitSource 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.reAdmission 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.hospitalization.dietPreference 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.hospitalization.specialCourtesy 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.specialArrangement 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
Encounter.hospitalization.dischargeDisposition This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location This element must be supported. 0..* BackboneElement 病人曾去過的一個或多個地點
Encounter.location.id 0..1 string Unique id for inter-element referencing
Encounter.location.extension 0..* Extension Additional content defined by implementations
Encounter.location.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.location.location This element must be supported. 1..1 Reference(TW Core Location) 就醫發生的地點
Encounter.location.status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。
Encounter.location.physicalType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location.period 0..1 Period 病人出現在此地點的時段
Encounter.serviceProvider This element must be supported. 0..1 Reference(TW Core Organization) 負責這次就醫的機構
Encounter.partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Encounter.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Encounter.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Encounter.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.4
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.4
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📦4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📦4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.4
Encounter.hospitalization.​dietPreference Base example Diet 📦4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📦4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📦4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter 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 Encounter 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 Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter 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 TWCoreEncounter

Summary

Mandatory: 5 elements(3 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Encounter.serviceType.coding (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
Encounter.meta This element is included in summaries. 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.identifier This element must be supported. This element is included in summaries. 0..* Identifier 此就醫事件的識別碼
Encounter.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
Encounter.identifier.system This element must be supported. This element is included in summaries. 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
Encounter.identifier.value This element must be supported. This element is included in summaries. 1..1 string 唯一值
Example General: 123456
Encounter.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 就醫現況。【因FHIR設計而需必填】
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
Required Pattern: planned
Encounter.class This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.serviceType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫科別,完整代碼對應表請參照就醫科別對應表。
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred): 完整代碼對應表請參照就醫科別對應表。
Encounter.serviceType.Slices for coding This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.system This element must be supported. This element is included in summaries. 0..1 uri 專門術語系統(terminology system)的識別
Encounter.serviceType.Slices for coding.coding:All Slices.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:All Slices.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對應至SNOMED CT之就醫科別
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署就醫科別
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署診療科別
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Encounter.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)
Encounter.participant This element must be supported. This element is included in summaries. 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
Encounter.participant.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.participant.type This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.participant.period This element must be supported. 0..1 Period 參與者在病人就醫期間參與的時段
Encounter.participant.individual This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
Encounter.period This element must be supported. 0..1 Period 就醫的開始和結束時間
Encounter.reasonCode This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization This element must be supported. 0..1 BackboneElement 關於入院接受健康照護服務的細節
Encounter.hospitalization.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.hospitalization.dischargeDisposition This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location This element must be supported. 0..* BackboneElement 病人曾去過的一個或多個地點
Encounter.location.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.location.location This element must be supported. 1..1 Reference(TW Core Location) 就醫發生的地點
Encounter.serviceProvider This element must be supported. 0..1 Reference(TW Core Organization) 負責這次就醫的機構

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter 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 Encounter 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 Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter 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 TWCoreEncounter

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter TWCoreEncounter
Encounter.meta 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.status 1..1 code 就醫現況。【因FHIR設計而需必填】
Required Pattern: planned
Encounter.class 1..1 CodingTW 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.serviceType 1..1 CodeableConceptTW 就醫科別,完整代碼對應表請參照就醫科別對應表。
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred): 完整代碼對應表請參照就醫科別對應表。
Encounter.serviceType.Slices for coding 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT 0..1 CodingTW 對應至SNOMED CT之就醫科別
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment 0..1 CodingTW 無法對應至SNOMED CT之臺灣健保署就醫科別
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment 0..1 CodingTW 無法對應至SNOMED CT之臺灣健保署診療科別
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code 1..1 code 系統定義的語法之符號
Encounter.subject 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
Encounter.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
Encounter.meta This element is included in summaries. 1..1 Meta 此Encounter Resource的metadata
Encounter.meta.id 0..1 string Unique id for inter-element referencing
Encounter.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Encounter.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Encounter.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Encounter.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas
Encounter.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Encounter.meta.tag This element is included in summaries. 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".
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Encounter.language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Encounter.text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Encounter.contained 0..* Resource Contained, inline Resources
Encounter.extension 0..* Extension Additional content defined by implementations
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.identifier This element must be supported. This element is included in summaries. 0..* Identifier 此就醫事件的識別碼
Encounter.identifier.id 0..1 string Unique id for inter-element referencing
Encounter.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
Encounter.identifier.type 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.identifier.system This element must be supported. This element is included in summaries. 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
Encounter.identifier.value This element must be supported. This element is included in summaries. 1..1 string 唯一值
Example General: 123456
Encounter.identifier.period This element is included in summaries. 0..1 Period 此就醫事件識別碼(identifier)的使用效期
Encounter.identifier.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Encounter.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 就醫現況。【因FHIR設計而需必填】
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
Required Pattern: planned
Encounter.statusHistory 0..* BackboneElement 過去的就醫狀態清單
Encounter.statusHistory.id 0..1 string Unique id for inter-element referencing
Encounter.statusHistory.extension 0..* Extension Additional content defined by implementations
Encounter.statusHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.statusHistory.status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼
Encounter.statusHistory.period 1..1 Period 該事件處於特定狀態的時間
Encounter.class This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫分類。【因FHIR設計而需必填】
Binding: ActEncounterCode (required)
Encounter.classHistory 0..* BackboneElement 過去就醫類別的列表
Encounter.classHistory.id 0..1 string Unique id for inter-element referencing
Encounter.classHistory.extension 0..* Extension Additional content defined by implementations
Encounter.classHistory.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.classHistory.class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.classHistory.period 1..1 Period 此就醫事件處於特定類別的時間
Encounter.type 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.serviceType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫科別,完整代碼對應表請參照就醫科別對應表。
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred): 完整代碼對應表請參照就醫科別對應表。
Encounter.serviceType.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Closed by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Encounter.serviceType.Slices for coding.coding:All Slices Content/Rules for all slices
Encounter.serviceType.Slices for coding.coding:All Slices.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:All Slices.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:All Slices.system This element must be supported. This element is included in summaries. 0..1 uri 專門術語系統(terminology system)的識別
Encounter.serviceType.Slices for coding.coding:All Slices.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:All Slices.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:All Slices.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:All Slices.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對應至SNOMED CT之就醫科別
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalDepartmentSCT.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署就醫科別
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalConsultationDepartment.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無法對應至SNOMED CT之臺灣健保署診療科別
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Encounter.serviceType.Slices for coding.coding:TWMedicalTreatmentDepartment.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Encounter.serviceType.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Encounter.priority 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 在場就醫的病人或實體集合(Group)
Encounter.episodeOfCare This element is included in summaries. 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
Encounter.basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
Encounter.participant This element must be supported. This element is included in summaries. 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
Encounter.participant.id 0..1 string Unique id for inter-element referencing
Encounter.participant.extension 0..* Extension Additional content defined by implementations
Encounter.participant.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.participant.type This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Encounter.participant.period This element must be supported. 0..1 Period 參與者在病人就醫期間參與的時段
Encounter.participant.individual This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
Encounter.appointment This element is included in summaries. 0..* Reference(Appointment) 這次就醫的預約紀錄
Encounter.period This element must be supported. 0..1 Period 就醫的開始和結束時間
Encounter.length 0..1 Duration 就醫持續的時間(扣除缺席時間)
Encounter.reasonCode This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.reasonReference This element is included in summaries. 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
Encounter.diagnosis This element is included in summaries. 0..* BackboneElement 與此就醫相關的診斷清單
Encounter.diagnosis.id 0..1 string Unique id for inter-element referencing
Encounter.diagnosis.extension 0..* Extension Additional content defined by implementations
Encounter.diagnosis.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.diagnosis.condition This element is included in summaries. 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
Encounter.diagnosis.use 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.diagnosis.rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
Encounter.account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
Encounter.hospitalization This element must be supported. 0..1 BackboneElement 關於入院接受健康照護服務的細節
Encounter.hospitalization.id 0..1 string Unique id for inter-element referencing
Encounter.hospitalization.extension 0..* Extension Additional content defined by implementations
Encounter.hospitalization.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.hospitalization.preAdmissionIdentifier 0..1 Identifier 住院前識別碼
Encounter.hospitalization.origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
Encounter.hospitalization.admitSource 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.reAdmission 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.hospitalization.dietPreference 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.hospitalization.specialCourtesy 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.specialArrangement 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
Encounter.hospitalization.destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
Encounter.hospitalization.dischargeDisposition This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location This element must be supported. 0..* BackboneElement 病人曾去過的一個或多個地點
Encounter.location.id 0..1 string Unique id for inter-element referencing
Encounter.location.extension 0..* Extension Additional content defined by implementations
Encounter.location.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Encounter.location.location This element must be supported. 1..1 Reference(TW Core Location) 就醫發生的地點
Encounter.location.status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。
Encounter.location.physicalType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Encounter.location.period 0..1 Period 病人出現在此地點的時段
Encounter.serviceProvider This element must be supported. 0..1 Reference(TW Core Organization) 負責這次就醫的機構
Encounter.partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Encounter.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Encounter.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Encounter.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier.​type Base extensible IdentifierType 📦4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required ActEncounterCode 📦3.0.0 THO v7.4
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.4
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.serviceType Base preferred 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v0.3
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.4
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📦4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📦4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.4
Encounter.hospitalization.​dietPreference Base example Diet 📦4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📦4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📦4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter 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 Encounter 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 Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter 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 TWCoreEncounter

Summary

Mandatory: 5 elements(3 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Encounter.serviceType.coding (Closed)

 

Other representations of profile: CSV, Excel, Schematron

Notes:

以下概述了此Profile所需的RESTful FHIR互動功能。有關TWPAS支援的RESTful互動功能的完整清單,請參閱TWPAS Server能力聲明。

建議應該支援以下查詢參數:

  1. 必須(SHALL) 支援透過查詢參數 service-type 查詢所有Encounter:
    (如何透過token查詢)
    GET [base]/Encounter?service-type={system|}[code]

    例子:
    (1) GET [base]/Encounter?service-type=AJ
    (2) GET [base]/Encounter?service-type=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw|AJ