臺灣長期照顧實作指引(TW LTC IG)
1.1.0 - STU 1.1.0

臺灣長期照顧實作指引(TW LTC IG) - Local Development build (v1.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 在宅急症-單次訪視

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/HAHVisitEncounter Version: 1.1.0
Draft as of 2026-09-29 Computable Name: HAHVisitEncounter

每次實地、視訊或電話評估建立一筆訪視,參照整段照護與收案療程。

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
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-encounter-finished, hah-visit-class
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
... class SΣ 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (3.0.0) (extensible)
... type SΣ 1..1 CodeableConceptTW 就醫的特定型別
Binding: EncounterType (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
.... 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://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
..... 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
... serviceType SΣ 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... Slices for coding SΣ 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
..... coding:TWMedicalConsultationDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
..... coding:TWMedicalTreatmentDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(在宅急症-個案) 在場就醫的病人或實體集合(Group)
... episodeOfCare SΣ 1..1 Reference(在宅急症-收案療程) 此次就醫應記錄的照護事件
... participant SΣ 1..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type SΣ 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) 除病人外,參與病人就醫事件的人。
... period S 1..1 Period 就醫的開始和結束時間
.... start SΣC 1..1 dateTime Starting time with inclusive boundary
... reasonCode SΣ 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
... serviceProvider S 1..1 Reference(長期照顧-機構) 負責這次就醫的機構
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

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 extensible ActEncounterCode 📍3.0.0 THO v7.4
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
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()
hah-encounter-finished error Encounter 已結束的就診應填入實際結束時間。 status = 'finished' implies period.end.exists()
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))

This structure is derived from HAHEncounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-visit-class
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... type S 1..1 CodeableConceptTW 就醫的特定型別
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-encounter-finished, hah-visit-class
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Encounter Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
.... type Σ 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
... statusHistory 0..* 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
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼
.... period 1..1 Period 該事件處於特定狀態的時間
... class SΣ 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (3.0.0) (extensible)
... classHistory 0..* 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
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (3.0.0) (extensible)
.... period 1..1 Period 此就醫事件處於特定類別的時間
... type SΣ 1..1 CodeableConceptTW 就醫的特定型別
Binding: EncounterType (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
.... 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://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
..... 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
... serviceType SΣ 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (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
..... coding:TWMedicalDepartmentSCT SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalConsultationDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (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://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalTreatmentDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (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://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (3.0.0) (example)
... subject SΣ 1..1 Reference(在宅急症-個案) 在場就醫的病人或實體集合(Group)
... episodeOfCare SΣ 1..1 Reference(在宅急症-收案療程) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant SΣ 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
.... type SΣ 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) 除病人外,參與病人就醫事件的人。
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 1..1 Period 就醫的開始和結束時間
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 1..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode SΣ 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis Σ 0..* 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
.... condition Σ 1..1 Reference(在宅急症-診斷與照護問題) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization 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
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: Hl7VSReAdmissionIndicator (3.0.0) (example)
.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
... location S 0..* 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
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。
.... physicalType 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 1..1 Reference(長期照顧-機構) 負責這次就醫的機構
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
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 extensible 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 example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
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()
hah-encounter-finished error Encounter 已結束的就診應填入實際結束時間。 status = 'finished' implies period.end.exists()
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))

This structure is derived from HAHEncounter

Summary

Mandatory: 4 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-encounter-finished, hah-visit-class
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
... class SΣ 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (3.0.0) (extensible)
... type SΣ 1..1 CodeableConceptTW 就醫的特定型別
Binding: EncounterType (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
.... 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://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
..... 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
... serviceType SΣ 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... Slices for coding SΣ 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
..... coding:TWMedicalConsultationDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
..... coding:TWMedicalTreatmentDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(在宅急症-個案) 在場就醫的病人或實體集合(Group)
... episodeOfCare SΣ 1..1 Reference(在宅急症-收案療程) 此次就醫應記錄的照護事件
... participant SΣ 1..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type SΣ 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) 除病人外,參與病人就醫事件的人。
... period S 1..1 Period 就醫的開始和結束時間
.... start SΣC 1..1 dateTime Starting time with inclusive boundary
... reasonCode SΣ 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
... serviceProvider S 1..1 Reference(長期照顧-機構) 負責這次就醫的機構
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

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 extensible ActEncounterCode 📍3.0.0 THO v7.4
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
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()
hah-encounter-finished error Encounter 已結束的就診應填入實際結束時間。 status = 'finished' implies period.end.exists()
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))

Differential View

This structure is derived from HAHEncounter

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-visit-class
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... type S 1..1 CodeableConceptTW 就醫的特定型別
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* HAHEncounter 提供病人服務的一種互動
Constraints: hah-encounter-finished, hah-visit-class
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Encounter Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:mode S 1..1 code 在宅急症-訪視方式
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode
Binding: 在宅急症-訪視方式值集 (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。
.... type Σ 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼
... statusHistory 0..* 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
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼
.... period 1..1 Period 該事件處於特定狀態的時間
... class SΣ 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (3.0.0) (extensible)
... classHistory 0..* 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
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (3.0.0) (extensible)
.... period 1..1 Period 此就醫事件處於特定類別的時間
... type SΣ 1..1 CodeableConceptTW 就醫的特定型別
Binding: EncounterType (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
.... 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://ltc-ig.fhir.tw/CodeSystem/hah-activity
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: visit
..... 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
... serviceType SΣ 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (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
..... coding:TWMedicalDepartmentSCT SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalConsultationDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (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://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalTreatmentDepartment SΣ 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (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://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (3.0.0) (example)
... subject SΣ 1..1 Reference(在宅急症-個案) 在場就醫的病人或實體集合(Group)
... episodeOfCare SΣ 1..1 Reference(在宅急症-收案療程) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant SΣ 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
.... type SΣ 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 1..1 Reference(長期照顧-照顧服務提供者 | 長期照顧-服務人員角色) 除病人外,參與病人就醫事件的人。
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 1..1 Period 就醫的開始和結束時間
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 1..1 dateTime Starting time with inclusive boundary
.... end ΣC 0..1 dateTime End time with inclusive boundary, if not ongoing
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode SΣ 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis Σ 0..* 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
.... condition Σ 1..1 Reference(在宅急症-診斷與照護問題) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization 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
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: Hl7VSReAdmissionIndicator (3.0.0) (example)
.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
... location S 0..* 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
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。
.... physicalType 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 1..1 Reference(長期照顧-機構) 負責這次就醫的機構
... partOf S 1..1 Reference(在宅急症-整段照護) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
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 extensible 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 example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:TWMedicalDepartmentSCT Base required 對應至 SNOMED CT之就醫科別 + 診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalConsultationDepartment Base required 無法對應至SNOMED CT之臺灣健保署就醫科別值集 📦0.3.0 臺灣核心實作指引 v1.0
Encounter.serviceType.​coding:TWMedicalTreatmentDepartment Base required 無法對應至SNOMED CT之臺灣健保署診療科別值集 📦0.3.0 臺灣核心實作指引 v1.0
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()
hah-encounter-finished error Encounter 已結束的就診應填入實際結束時間。 status = 'finished' implies period.end.exists()
hah-visit-class error Encounter 實地訪視使用 HH,視訊或電話評估使用 VR。 class.system = 'http://terminology.hl7.org/CodeSystem/v3-ActCode' and ((extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value = 'in-person' and class.code = 'HH') or (extension.where(url='http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHVisitMode').first().value != 'in-person' and class.code = 'VR'))

This structure is derived from HAHEncounter

Summary

Mandatory: 4 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron