國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG)
1.0.0 - ci-build

This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: Encounter TOTFB-案件分類

Official URL: https://www.ghd.tw/cdm-fhir/StructureDefinition/EncounterTOTFB Version: 1.0.0
Active as of 2024-09-01 Computable Name: EncounterTOTFB

用於描述住院醫療申報檔案(TOTFB)中的案件分類

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣN 0..1 Identifier 此就醫事件的識別碼
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... type ΣN 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 流水編號。[TOTFB.d2]
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... class SΣN 1..1 CodingTW 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
.... code SΣ 1..1 code 案件分類代碼。[TOTFB.d1]
ele-1: All FHIR elements must have a @value or children
.... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
... type SΣN 0..* CodeableConceptTW Tw-DRG碼/DRGs碼
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 1..1 code Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
ele-1: All FHIR elements must have a @value or children
... serviceType SΣN 0..1 CodeableConceptTW 就醫科別。[TOTFB.d9]
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:All Slices Content/Rules for all slices
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalDepartmentSCT SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://snomed.info/sct
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalConsultationDepartment SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalTreatmentDepartment SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:MedicalDepartmentCDM SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... code SΣ 1..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 就醫科別。[TOTFB.d9]
ele-1: All FHIR elements must have a @value or children
... priority N 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... subject SΣCN 1..1 Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) 在場就醫的病人或實體集合(Group)
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... reference SΣC 1..1 string 患者Resource Link
ele-1: All FHIR elements must have a @value or children
... participant SΣN 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type SΣN 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... period SCN 0..1 Period 參與者在病人就醫期間參與的時段
ele-1: All FHIR elements must have a @value or children
per-1: If present, start SHALL have a lower value than end
.... individual SΣCN 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... period SCN 0..1 Period 入出院年月日
ele-1: All FHIR elements must have a @value or children
per-1: If present, start SHALL have a lower value than end
.... start SΣC 0..1 dateTime 入院年月日。[TOTFB.d10]
ele-1: All FHIR elements must have a @value or children
.... end SΣC 0..1 dateTime 出院年月日。[TOTFB.d11]
ele-1: All FHIR elements must have a @value or children
... reasonCode SΣN 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... diagnosis ΣN 0..* BackboneElement 與此就醫相關的診斷清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... condition ΣCN 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... use N 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... hospitalization SN 1..1 BackboneElement 關於入院接受健康照護服務的細節
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... admitSource N 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... reAdmission N 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... dietPreference N 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... specialCourtesy N 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... specialArrangement N 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... dischargeDisposition SN 1..1 CodeableConceptTW 轉歸代碼
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code 轉歸代碼。[TOTFB.d24]
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 轉歸代碼。[TOTFB.d24]
ele-1: All FHIR elements must have a @value or children
... location SN 0..* BackboneElement 病人曾去過的一個或多個地點
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... location SCN 1..1 Reference(TW Core Location) 就醫發生的地點
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... physicalType N 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... serviceProvider SCN 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
from the FHIR Standard
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.serviceType.coding:TWMedicalDepartmentSCTrequiredTWMedicalDepartmentSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.reasonCodepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
from the FHIR Standard
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
from the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
from the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
from the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
from the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
from the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
from the FHIR Standard
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorEncounter.participant.period, Encounter.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1errorEncounter.subject, Encounter.participant.individual, Encounter.diagnosis.condition, Encounter.location.location, Encounter.serviceProviderSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from TWCoreEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter TWCoreEncounter
... identifier ..1
.... value 流水編號。[TOTFB.d2]
... class 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。

.... system 1..
.... code 1.. 案件分類代碼。[TOTFB.d1]
... type S Tw-DRG碼/DRGs碼
.... coding
..... system 1..
..... code 1.. Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
.... text Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
.... Slices for coding Content/Rules for all slices
..... coding:MedicalDepartmentCDM ..1 Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。

...... system 1.. Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... code 1..
.... text 就醫科別。[TOTFB.d9]
... subject 1.. Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料)
.... reference S 1.. 患者Resource Link
... period 入出院年月日
.... start S 入院年月日。[TOTFB.d10]
.... end S 出院年月日。[TOTFB.d11]
... hospitalization 1..
.... dischargeDisposition 1.. 轉歸代碼
..... coding 1.. Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。

...... system 1..
...... code 1.. 轉歸代碼。[TOTFB.d24]
..... text 轉歸代碼。[TOTFB.d24]

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
... id Σ 0..1 string 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta ΣN 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 N 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier SΣN 0..1 Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 流水編號。[TOTFB.d2]
Example General: 123456
.... period ΣCN 0..1 Period 此就醫事件識別碼(identifier)的使用效期
per-1: If present, start SHALL have a lower value than end
.... assigner ΣCN 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
ref-1: SHALL have a contained resource if a local reference is provided
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory N 0..* BackboneElement 過去的就醫狀態清單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 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 CN 1..1 Period 該事件處於特定狀態的時間
per-1: If present, start SHALL have a lower value than end
... class SΣN 1..1 CodingTW 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
.... version Σ 0..1 string 系統的版本—如果相關的話
.... code SΣ 1..1 code 案件分類代碼。[TOTFB.d1]
.... display SΣ 0..1 string 由系統定義的表示法
.... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
... classHistory N 0..* BackboneElement 過去就醫類別的列表
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class N 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period CN 1..1 Period 此就醫事件處於特定類別的時間
per-1: If present, start SHALL have a lower value than end
... type SΣN 0..* CodeableConceptTW Tw-DRG碼/DRGs碼
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
... serviceType SΣN 0..1 CodeableConceptTW 就醫科別。[TOTFB.d9]
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:All Slices Content/Rules for all slices
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalDepartmentSCT SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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ΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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ΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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 此編碼是否由使用者直接選擇?
..... coding:MedicalDepartmentCDM SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。


...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 就醫科別。[TOTFB.d9]
... priority N 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 0..1 code 系統定義的語法之符號
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣCN 1..1 Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) 在場就醫的病人或實體集合(Group)
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 患者Resource Link
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier ΣN 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... episodeOfCare ΣCN 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
ref-1: SHALL have a contained resource if a local reference is provided
... basedOn CN 0..* Reference(ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
ref-1: SHALL have a contained resource if a local reference is provided
... participant SΣN 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type SΣN 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... period SCN 0..1 Period 參與者在病人就醫期間參與的時段
per-1: If present, start SHALL have a lower value than end
.... individual SΣCN 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ref-1: SHALL have a contained resource if a local reference is provided
... appointment ΣCN 0..* Reference(Appointment) 這次就醫的預約紀錄
ref-1: SHALL have a contained resource if a local reference is provided
... period SCN 0..1 Period 入出院年月日
per-1: If present, start SHALL have a lower value than end
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 0..1 dateTime 入院年月日。[TOTFB.d10]
.... end SΣC 0..1 dateTime 出院年月日。[TOTFB.d11]
... length CN 0..1 Duration 就醫持續的時間(扣除缺席時間)
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
... reasonCode SΣN 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 0..1 code 系統定義的語法之符號
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... reasonReference ΣCN 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
ref-1: SHALL have a contained resource if a local reference is provided
... diagnosis ΣN 0..* BackboneElement 與此就醫相關的診斷清單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣCN 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ref-1: SHALL have a contained resource if a local reference is provided
.... use N 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account CN 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
ref-1: SHALL have a contained resource if a local reference is provided
... hospitalization SN 1..1 BackboneElement 關於入院接受健康照護服務的細節
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier N 0..1 Identifier 住院前識別碼
.... origin CN 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
ref-1: SHALL have a contained resource if a local reference is provided
.... admitSource N 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... reAdmission N 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... dietPreference N 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... specialCourtesy N 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... specialArrangement N 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... destination CN 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
ref-1: SHALL have a contained resource if a local reference is provided
.... dischargeDisposition SN 1..1 CodeableConceptTW 轉歸代碼
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。


...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 轉歸代碼。[TOTFB.d24]
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 轉歸代碼。[TOTFB.d24]
... location SN 0..* BackboneElement 病人曾去過的一個或多個地點
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location SCN 1..1 Reference(TW Core Location) 就醫發生的地點
ref-1: SHALL have a contained resource if a local reference is provided
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

.... physicalType N 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... period CN 0..1 Period 病人出現在此地點的時段
per-1: If present, start SHALL have a lower value than end
... serviceProvider SCN 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ref-1: SHALL have a contained resource if a local reference is provided
... partOf CN 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
from the FHIR Standard
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.serviceType.coding:TWMedicalDepartmentSCTrequiredTWMedicalDepartmentSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.reasonCodepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
from the FHIR Standard
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
from the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
from the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
from the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
from the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
from the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
from the FHIR Standard
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
from the FHIR Standard
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
drt-1errorEncounter.lengthThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
: code.exists() implies ((system = %ucum) and value.exists())
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorEncounter.identifier.period, Encounter.statusHistory.period, Encounter.classHistory.period, Encounter.participant.period, Encounter.period, Encounter.location.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorEncounter.lengthIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorEncounter.identifier.assigner, Encounter.subject, Encounter.episodeOfCare, Encounter.basedOn, Encounter.participant.individual, Encounter.appointment, Encounter.reasonReference, Encounter.diagnosis.condition, Encounter.account, Encounter.hospitalization.origin, Encounter.hospitalization.destination, Encounter.location.location, Encounter.serviceProvider, Encounter.partOfSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from TWCoreEncounter

Summary

Mandatory: 0 element(13 nested mandatory elements)
Must-Support: 4 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: 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
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣN 0..1 Identifier 此就醫事件的識別碼
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... type ΣN 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 流水編號。[TOTFB.d2]
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... class SΣN 1..1 CodingTW 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
.... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
.... code SΣ 1..1 code 案件分類代碼。[TOTFB.d1]
ele-1: All FHIR elements must have a @value or children
.... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
... type SΣN 0..* CodeableConceptTW Tw-DRG碼/DRGs碼
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 1..1 code Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
ele-1: All FHIR elements must have a @value or children
... serviceType SΣN 0..1 CodeableConceptTW 就醫科別。[TOTFB.d9]
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... Slices for coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:All Slices Content/Rules for all slices
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalDepartmentSCT SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://snomed.info/sct
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalConsultationDepartment SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalTreatmentDepartment SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... coding:MedicalDepartmentCDM SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... code SΣ 1..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 就醫科別。[TOTFB.d9]
ele-1: All FHIR elements must have a @value or children
... priority N 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... subject SΣCN 1..1 Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) 在場就醫的病人或實體集合(Group)
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... reference SΣC 1..1 string 患者Resource Link
ele-1: All FHIR elements must have a @value or children
... participant SΣN 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type SΣN 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... period SCN 0..1 Period 參與者在病人就醫期間參與的時段
ele-1: All FHIR elements must have a @value or children
per-1: If present, start SHALL have a lower value than end
.... individual SΣCN 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
... period SCN 0..1 Period 入出院年月日
ele-1: All FHIR elements must have a @value or children
per-1: If present, start SHALL have a lower value than end
.... start SΣC 0..1 dateTime 入院年月日。[TOTFB.d10]
ele-1: All FHIR elements must have a @value or children
.... end SΣC 0..1 dateTime 出院年月日。[TOTFB.d11]
ele-1: All FHIR elements must have a @value or children
... reasonCode SΣN 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
..... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
..... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... diagnosis ΣN 0..* BackboneElement 與此就醫相關的診斷清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... condition ΣCN 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... use N 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... hospitalization SN 1..1 BackboneElement 關於入院接受健康照護服務的細節
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... admitSource N 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... reAdmission N 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... dietPreference N 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... specialCourtesy N 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... specialArrangement N 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
.... dischargeDisposition SN 1..1 CodeableConceptTW 轉歸代碼
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。


ele-1: All FHIR elements must have a @value or children
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 1..1 code 轉歸代碼。[TOTFB.d24]
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 轉歸代碼。[TOTFB.d24]
ele-1: All FHIR elements must have a @value or children
... location SN 0..* BackboneElement 病人曾去過的一個或多個地點
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... location SCN 1..1 Reference(TW Core Location) 就醫發生的地點
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... physicalType N 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
ele-1: All FHIR elements must have a @value or children
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
ele-1: All FHIR elements must have a @value or children
...... code SΣ 0..1 code 系統定義的語法之符號
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string 由系統定義的表示法
ele-1: All FHIR elements must have a @value or children
..... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... serviceProvider SCN 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
from the FHIR Standard
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.serviceType.coding:TWMedicalDepartmentSCTrequiredTWMedicalDepartmentSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.reasonCodepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
from the FHIR Standard
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
from the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
from the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
from the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
from the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
from the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
from the FHIR Standard
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorEncounter.participant.period, Encounter.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1errorEncounter.subject, Encounter.participant.individual, Encounter.diagnosis.condition, Encounter.location.location, Encounter.serviceProviderSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from TWCoreEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter TWCoreEncounter
... identifier ..1
.... value 流水編號。[TOTFB.d2]
... class 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。

.... system 1..
.... code 1.. 案件分類代碼。[TOTFB.d1]
... type S Tw-DRG碼/DRGs碼
.... coding
..... system 1..
..... code 1.. Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
.... text Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
.... Slices for coding Content/Rules for all slices
..... coding:MedicalDepartmentCDM ..1 Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。

...... system 1.. Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... code 1..
.... text 就醫科別。[TOTFB.d9]
... subject 1.. Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料)
.... reference S 1.. 患者Resource Link
... period 入出院年月日
.... start S 入院年月日。[TOTFB.d10]
.... end S 出院年月日。[TOTFB.d11]
... hospitalization 1..
.... dischargeDisposition 1.. 轉歸代碼
..... coding 1.. Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。

...... system 1..
...... code 1.. 轉歸代碼。[TOTFB.d24]
..... text 轉歸代碼。[TOTFB.d24]

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* TWCoreEncounter 提供病人服務的一種互動
... id Σ 0..1 string 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta ΣN 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 N 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier SΣN 0..1 Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension N 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 ΣN 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 流水編號。[TOTFB.d2]
Example General: 123456
.... period ΣCN 0..1 Period 此就醫事件識別碼(identifier)的使用效期
per-1: If present, start SHALL have a lower value than end
.... assigner ΣCN 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
ref-1: SHALL have a contained resource if a local reference is provided
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory N 0..* BackboneElement 過去的就醫狀態清單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 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 CN 1..1 Period 該事件處於特定狀態的時間
per-1: If present, start SHALL have a lower value than end
... class SΣN 1..1 CodingTW 案件分類
Binding: 案件分類值集 (required): 案件分類;應填入所綁定值集中的其中一個代碼。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
.... version Σ 0..1 string 系統的版本—如果相關的話
.... code SΣ 1..1 code 案件分類代碼。[TOTFB.d1]
.... display SΣ 0..1 string 由系統定義的表示法
.... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
... classHistory N 0..* BackboneElement 過去就醫類別的列表
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class N 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period CN 1..1 Period 此就醫事件處於特定類別的時間
per-1: If present, start SHALL have a lower value than end
... type SΣN 0..* CodeableConceptTW Tw-DRG碼/DRGs碼
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string Tw-DRG碼/DRGs碼。[TOTFB.d18,TOTFB.d21]
... serviceType SΣN 0..1 CodeableConceptTW 就醫科別。[TOTFB.d9]
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:All Slices Content/Rules for all slices
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalDepartmentSCT SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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ΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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ΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 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 此編碼是否由使用者直接選擇?
..... coding:MedicalDepartmentCDM SΣN 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 就醫科別值集 (required): 就醫科別;應填入所綁定值集中的其中一個代碼。


...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://www.ghd.tw/cdm-fhir/CodeSystem/FuncType
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 就醫科別。[TOTFB.d9]
... priority N 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 0..1 code 系統定義的語法之符號
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣCN 1..1 Reference(Group | Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料) 在場就醫的病人或實體集合(Group)
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 患者Resource Link
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier ΣN 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... episodeOfCare ΣCN 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
ref-1: SHALL have a contained resource if a local reference is provided
... basedOn CN 0..* Reference(ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
ref-1: SHALL have a contained resource if a local reference is provided
... participant SΣN 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type SΣN 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... period SCN 0..1 Period 參與者在病人就醫期間參與的時段
per-1: If present, start SHALL have a lower value than end
.... individual SΣCN 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ref-1: SHALL have a contained resource if a local reference is provided
... appointment ΣCN 0..* Reference(Appointment) 這次就醫的預約紀錄
ref-1: SHALL have a contained resource if a local reference is provided
... period SCN 0..1 Period 入出院年月日
per-1: If present, start SHALL have a lower value than end
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 0..1 dateTime 入院年月日。[TOTFB.d10]
.... end SΣC 0..1 dateTime 出院年月日。[TOTFB.d11]
... length CN 0..1 Duration 就醫持續的時間(扣除缺席時間)
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
... reasonCode SΣN 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 0..1 code 系統定義的語法之符號
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... reasonReference ΣCN 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
ref-1: SHALL have a contained resource if a local reference is provided
... diagnosis ΣN 0..* BackboneElement 與此就醫相關的診斷清單
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition ΣCN 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ref-1: SHALL have a contained resource if a local reference is provided
.... use N 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account CN 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
ref-1: SHALL have a contained resource if a local reference is provided
... hospitalization SN 1..1 BackboneElement 關於入院接受健康照護服務的細節
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier N 0..1 Identifier 住院前識別碼
.... origin CN 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
ref-1: SHALL have a contained resource if a local reference is provided
.... admitSource N 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... reAdmission N 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... dietPreference N 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... specialCourtesy N 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... specialArrangement N 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... destination CN 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
ref-1: SHALL have a contained resource if a local reference is provided
.... dischargeDisposition SN 1..1 CodeableConceptTW 轉歸代碼
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 轉歸代碼值集 (required): 轉歸代碼;應填入所綁定值集中的其中一個代碼。


...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 1..1 code 轉歸代碼。[TOTFB.d24]
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 轉歸代碼。[TOTFB.d24]
... location SN 0..* BackboneElement 病人曾去過的一個或多個地點
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location SCN 1..1 Reference(TW Core Location) 就醫發生的地點
ref-1: SHALL have a contained resource if a local reference is provided
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

.... physicalType N 0..1 CodeableConceptTW 地點的實體型別(通常是地點的層級—床位、房間、病房等)。
Binding: LocationType (example): 地點的實體型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding SΣN 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension N 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 0..1 uri 專門術語系統(terminology system)的識別
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... text SΣ 0..1 string 概念的文字表示法
.... period CN 0..1 Period 病人出現在此地點的時段
per-1: If present, start SHALL have a lower value than end
... serviceProvider SCN 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ref-1: SHALL have a contained resource if a local reference is provided
... partOf CN 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classrequiredEncounterCaseType (a valid code from 案件分類)
https://www.ghd.tw/cdm-fhir/ValueSet/CaseType
from this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
from the FHIR Standard
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.serviceType.coding:TWMedicalDepartmentSCTrequiredTWMedicalDepartmentSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
Encounter.serviceType.coding:MedicalDepartmentCDMrequiredFuncType (a valid code from 就醫科別)
https://www.ghd.tw/cdm-fhir/ValueSet/FuncType
from this IG
Encounter.priorityexampleActPriority
http://terminology.hl7.org/ValueSet/v3-ActPriority
Encounter.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.reasonCodepreferredEncounterReasonCodes
http://hl7.org/fhir/ValueSet/encounter-reason
from the FHIR Standard
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
from the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
from the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
from the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
from the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
from the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
from the FHIR Standard
Encounter.hospitalization.dischargeDisposition.codingrequiredTranCode (a valid code from 轉歸代碼)
https://www.ghd.tw/cdm-fhir/ValueSet/TranCode
from this IG
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
from the FHIR Standard
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
drt-1errorEncounter.lengthThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
: code.exists() implies ((system = %ucum) and value.exists())
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorEncounter.identifier.period, Encounter.statusHistory.period, Encounter.classHistory.period, Encounter.participant.period, Encounter.period, Encounter.location.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3errorEncounter.lengthIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
ref-1errorEncounter.identifier.assigner, Encounter.subject, Encounter.episodeOfCare, Encounter.basedOn, Encounter.participant.individual, Encounter.appointment, Encounter.reasonReference, Encounter.diagnosis.condition, Encounter.account, Encounter.hospitalization.origin, Encounter.hospitalization.destination, Encounter.location.location, Encounter.serviceProvider, Encounter.partOfSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from TWCoreEncounter

Summary

Mandatory: 0 element(13 nested mandatory elements)
Must-Support: 4 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron