臺灣核心實作指引(TW Core IG)
0.3.2 - Ci-Build Trial Use

臺灣核心實作指引(TW Core IG), published by 衛生福利部. This guide is not an authorized publication; it is the continuous build for version 0.3.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cctwFHIRterm/MOHW_TWCoreIG_Build/ and changes regularly. See the Directory of published versions

Resource Profile: TW Core Encounter

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore Version: 0.3.2
Active as of 2024-12-20 Computable Name: TWCoreEncounter

此臺灣核心-就醫事件(TW Core Encounter) Profile說明本IG如何進一步定義FHIR的Encounter Resource以呈現就醫事件。

Resource Encounter - 內容

涉及病人和健康照護服務提供者之間的互動,目的是為了提供健康照護服務或評估病人的健康狀況。

範圍與使用

病人的就醫事件根據發生的環境有所不同,包括門診、急診、家庭健康照護、住院和虛擬就醫。一次就醫事件涵蓋從入院前、實際的就醫事件(門診情況下)、入院、住院到出院的全過程(住院情況下)。期間,病人可能會接受不同健康照護服務提供者的照顧,並可能轉移至不同的地點。

由於就醫事件的範疇非常廣泛,不是所有資料項目在所有情況下都適用。因此,與入院/出院相關的資訊被分開存放在就醫事件的hospitalization。利用 class 資料項目來區分這些不同的就醫環境,進而指導相關的驗證和業務規則的應用。

不同的機構(以及不同的行政管轄區和國家)在決定哪些業務事件應該視為一個新的Encounter的開始,或者如何聚合 Encounter,存在著顯著的差異。例如:在住院期間,每一次醫生的看診可能會記錄為一個新的 Encounter 實例,但根據當地的實務和系統的不同,也可能會將這些看診聚合為整個住院期間的單一事件。在一些行政管轄區,出於財務或其他原因,可能會對就醫事件進行更多的聚合。可以使用Encounter.partOf 資料項目將就醫事件聚合或分組於其他Encounter之下。參考下方(below)提供的範例。

Encounter 實例也可能在實際就醫發生之前就已經存在,用來傳達入院前資訊,包括計劃的開始日期或預計的就醫地點。在這種情況下,Encounter.status資料項目會設定為 planned

Encounter.hospitalization旨在存儲與住院相關的更多資訊。這些資訊通常與就醫事件本身的期間相同。如果住院期間與Encounter期間有所不同時,則應使用另一個就醫事件實例來記錄這些資訊,並將其作為這個就醫事件實例的一部分。

Procedure 和 Encounter相互參照,這些參照應該指向不同的 Procedures。一種情況是指在 Encounter 期間進行的 Procedure,這會儲存在Procedure.encounter(Encounter)中;另一種情況是Encounter是另一個 Procedure 的結果,這會被記錄在Encounter.reasonReference(Procedure),例如:為了解決之前 Procedure 出現的併發症而進行的後續 Encounter。

狀態管理(Status Management)

在一個就醫事件的生命週期內,它會經歷多個階段,這些階段通常是根據健康照護服務提供者的工作流程來排列的,比如「planned」、「in-progress」和「finished / cancelled」。這些階段的資訊經常被用於其他目的,而且分析這些階段的歷史紀錄經常是必要的。這個分析可以透過檢查就醫事件的所有版本,確認每個版本的持續時間,然後進行一些後期的處理來完成。為了減輕這個負擔(或在系統不支援 resources 歷史紀錄的情況下),可善用 status 歷史紀錄元件(status history component)。

單靠Encounter.status欄位本身,我們無法直接判斷一次就醫事件是否被視為「已入院(admitted)」。就醫事件的具體情況和健康照護服務提供者的業務實務、政策、工作流程、類型都可能影響這一定義(例如:在急性照護機構、老人照護中心、門診診所、急診室或社區診所中)。「已到達(arrived)」、「已檢傷分類(triaged)」或「進行中(in progress)」等狀態可能被視為入院的開始,此時還會引入填寫Encounter.hospitalization

「外出(onleave)」狀態可能被包含在入院階段內,也可能不被包含,例如:如果病人被允許在周末或一些其他外出事件期間回家。此外,Encounter.location.status 通常會被更新為「在場(active)」的狀態,如下範例。就如同在門診就醫的例子中,比如進行日間手術(如結腸鏡檢查),病人也可能被視為已入院,因此「已入院」的定義並不固定。但最起碼,我們認為當Encounter.status為「進行中(in-progres)」時,病人應被視為已入院。

{
  "resourceType": "Encounter",
  "status": "in-progress",
  "location": [
    {
      "location": {
        "display": "病房A"
      },
      "status": "active"
    }
  ]
}

界限與關聯

在FHIR中,Encounter resource不應被用來儲存有關預約的資訊;相反地,應該使用Appointmentresource 來處理這類資訊。值得一提的是,在許多系統裡,「門診就醫事件」(這是 Encounter resource 所涵蓋的範疇)和「Appointment」常常會被一起使用。在FHIR裡面,「Appointment」被用於安排就醫事件的日期,而「Encounter」則適用於關於實際就醫事件的資訊,也就是說,當病人真正到達時。

因此,一個處於「計劃中(planned)」Encounter.status 的就醫事件與安排它的預約並不相同。它代表在實際就醫事件發生之前的階段,並帶有期望該就醫事件隨著時間進展而更新到完成(finished)的意圖。病人抵達某地並不一定意味著就醫事件的開始。例如:病人可能比他實際被健康照護服務提供者看診的時間提早一小時到達。

Appointment resource 通常用於預約的規劃階段,包括尋找、確定一個可用的時間,然後進行預約。當這一流程完成且預約即將開始時,則會將該預約(Encounter.appointment(Appointment)之Appointment.status標記為已完成(fulfilled),並將其與新創建的Encounter關聯起來。這個新的Encounter可能在病人被接收到機構的某一地點時,以Encounter.status 為「已到達(arrived)」開始,之後可能會轉移到病房,此時另一部分的Encounter也許就會開始。

Communicationresource 用於在健康照護服務提供者與病人之間沒有直接接觸的情況下發生的即時互動。例如:透過電話留言或傳輸某些文件。雖然 Communication resource 不記錄持續時間,但它可能包含發送和接收的時間點。

標準擴充資料項目「相關就醫事件(Associated Encounter)」應當被用來參照一個Encounter,特別是在沒有其他屬性已經定義這種關聯的情況下。

Medication resource 被以下 resources 所參照:醫療不良事件(AdverseEvent)、過敏或不耐症(AllergyIntolerance)、照護計畫(CarePlan)、照護團隊(CareTeam)、費用項目(ChargeItem)、理賠申請(Claim)、臨床臆斷(ClinicalImpression)、通訊(Communication)、通訊請求(CommunicationRequest)、臨床文件架構(Composition)、病情、問題或診斷(Condition)、合約(Contract)、設備請求(DeviceRequest)、診斷報告(DiagnosticReport)、文件參照(DocumentReference)、藥品(Medication)、利益說明(ExplanationOfBenefit)、標記(Flag)、指導回應GuidanceResponse)、影像檢查(ImagingStudy)、疫苗接種(Immunization)、清單(List)、多媒體(Media)、給藥(MedicationAdministration)、配藥或藥品調劑(MedicationDispense)、藥品請求(MedicationRequest)、用藥聲明(MedicationStatement)、營養醫令(NutritionOrder)、檢驗檢查(Observation)、處置(Procedure)、問卷題目回覆(QuestionnaireResponse)、一組請求(RequestGroup)、風險評估(RiskAssessment)、服務請求(ServiceRequest)、任務(Task)及視力處方(VisionPrescription)。

Usage:

Formal Views of Profile Content

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

This structure is derived from Encounter

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

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... identifier S 0..* Identifier 此就醫事件的識別碼
.... use 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。

.... type 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... system S 1..1 uri 識別碼(identifier)的命名空間(namespace)
.... value S 1..1 string 唯一值
.... period 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status S 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory 0..* BackboneElement 過去的就醫狀態清單
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼

.... period 1..1 Period 該事件處於特定狀態的時間
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... classHistory 0..* BackboneElement 過去就醫類別的列表
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period 1..1 Period 此就醫事件處於特定類別的時間
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... Slices for coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
..... coding:TWMedicalConsultationDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
..... coding:TWMedicalTreatmentDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... subject S 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
... episodeOfCare 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant S 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... type S 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual S 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
... appointment 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 0..1 Period 就醫的開始和結束時間
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

... reasonReference 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis 0..* BackboneElement 與此就醫相關的診斷清單
.... condition 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

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

.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings (Differential)

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* Encounter 提供病人服務的一種互動
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Encounter Resource的metadata
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
ele-1: All FHIR elements must have a @value or children
... language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

ele-1: All FHIR elements must have a @value or children
Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣ 0..* 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 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


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 唯一值
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
ele-1: All FHIR elements must have a @value or children
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼


ele-1: All FHIR elements must have a @value or children
... statusHistory 0..* BackboneElement 過去的就醫狀態清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼


ele-1: All FHIR elements must have a @value or children
.... period 1..1 Period 該事件處於特定狀態的時間
ele-1: All FHIR elements must have a @value or children
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
... classHistory 0..* BackboneElement 過去就醫類別的列表
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... period 1..1 Period 此就醫事件處於特定類別的時間
ele-1: All FHIR elements must have a @value or children
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalDepartmentSCT S 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 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 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
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... subject SΣ 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
ele-1: All FHIR elements must have a @value or children
... episodeOfCare Σ 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
ele-1: All FHIR elements must have a @value or children
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
ele-1: All FHIR elements must have a @value or children
... participant SΣ 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
ele-1: All FHIR elements must have a @value or children
.... individual SΣ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ele-1: All FHIR elements must have a @value or children
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
ele-1: All FHIR elements must have a @value or children
... period S 0..1 Period 就醫的開始和結束時間
ele-1: All FHIR elements must have a @value or children
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
ele-1: All FHIR elements must have a @value or children
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
ele-1: All FHIR elements must have a @value or children
... diagnosis Σ 0..* BackboneElement 與此就醫相關的診斷清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 Σ 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ele-1: All FHIR elements must have a @value or children
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
ele-1: All FHIR elements must have a @value or children
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
ele-1: All FHIR elements must have a @value or children
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
ele-1: All FHIR elements must have a @value or children
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
ele-1: All FHIR elements must have a @value or children
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
ele-1: All FHIR elements must have a @value or children
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... location S 0..* BackboneElement 病人曾去過的一個或多個地點
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 S 1..1 Reference(TW Core Location) 就醫發生的地點
ele-1: All FHIR elements must have a @value or children
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。


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


ele-1: All FHIR elements must have a @value or children
.... period 0..1 Period 病人出現在此地點的時段
ele-1: All FHIR elements must have a @value or children
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ele-1: All FHIR elements must have a @value or children
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?
ele-1: All FHIR elements must have a @value or children

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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()
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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* Encounter 提供病人服務的一種互動
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Encounter Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。

.... type 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory 0..* BackboneElement 過去的就醫狀態清單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼

.... period 1..1 Period 該事件處於特定狀態的時間
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... classHistory 0..* BackboneElement 過去就醫類別的列表
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period 1..1 Period 此就醫事件處於特定類別的時間
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalConsultationDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalTreatmentDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... subject SΣ 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
... episodeOfCare Σ 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant SΣ 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 0..1 Period 就醫的開始和結束時間
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis Σ 0..* BackboneElement 與此就醫相關的診斷清單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition Σ 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

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

.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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()
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()

This structure is derived from Encounter

Summary

Mandatory: 0 element(5 nested mandatory elements)
Must-Support: 21 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

Differential View

This structure is derived from Encounter

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

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... identifier S 0..* Identifier 此就醫事件的識別碼
.... use 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。

.... type 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... system S 1..1 uri 識別碼(identifier)的命名空間(namespace)
.... value S 1..1 string 唯一值
.... period 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status S 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory 0..* BackboneElement 過去的就醫狀態清單
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼

.... period 1..1 Period 該事件處於特定狀態的時間
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... classHistory 0..* BackboneElement 過去就醫類別的列表
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period 1..1 Period 此就醫事件處於特定類別的時間
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... Slices for coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
..... coding:TWMedicalConsultationDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
..... coding:TWMedicalTreatmentDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... subject S 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
... episodeOfCare 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant S 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... type S 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual S 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
... appointment 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 0..1 Period 就醫的開始和結束時間
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

... reasonReference 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis 0..* BackboneElement 與此就醫相關的診斷清單
.... condition 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

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

.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

doco Documentation for this format

Terminology Bindings (Differential)

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..* Encounter 提供病人服務的一種互動
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
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-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Encounter Resource的metadata
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
ele-1: All FHIR elements must have a @value or children
... language 0..1 code 用以表述Encounter Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

ele-1: All FHIR elements must have a @value or children
Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier SΣ 0..* 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 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


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 唯一值
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
ele-1: All FHIR elements must have a @value or children
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼


ele-1: All FHIR elements must have a @value or children
... statusHistory 0..* BackboneElement 過去的就醫狀態清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼


ele-1: All FHIR elements must have a @value or children
.... period 1..1 Period 該事件處於特定狀態的時間
ele-1: All FHIR elements must have a @value or children
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
... classHistory 0..* BackboneElement 過去就醫類別的列表
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... period 1..1 Period 此就醫事件處於特定類別的時間
ele-1: All FHIR elements must have a @value or children
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:TWMedicalDepartmentSCT S 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 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 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
.... text SΣ 0..1 string 概念的文字表示法
ele-1: All FHIR elements must have a @value or children
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... subject SΣ 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
ele-1: All FHIR elements must have a @value or children
... episodeOfCare Σ 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
ele-1: All FHIR elements must have a @value or children
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
ele-1: All FHIR elements must have a @value or children
... participant SΣ 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


ele-1: All FHIR elements must have a @value or children
.... period S 0..1 Period 參與者在病人就醫期間參與的時段
ele-1: All FHIR elements must have a @value or children
.... individual SΣ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
ele-1: All FHIR elements must have a @value or children
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
ele-1: All FHIR elements must have a @value or children
... period S 0..1 Period 就醫的開始和結束時間
ele-1: All FHIR elements must have a @value or children
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
ele-1: All FHIR elements must have a @value or children
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
ele-1: All FHIR elements must have a @value or children
... diagnosis Σ 0..* BackboneElement 與此就醫相關的診斷清單
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 Σ 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
ele-1: All FHIR elements must have a @value or children
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
ele-1: All FHIR elements must have a @value or children
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
ele-1: All FHIR elements must have a @value or children
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
ele-1: All FHIR elements must have a @value or children
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
ele-1: All FHIR elements must have a @value or children
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


ele-1: All FHIR elements must have a @value or children
.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
ele-1: All FHIR elements must have a @value or children
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


ele-1: All FHIR elements must have a @value or children
... location S 0..* BackboneElement 病人曾去過的一個或多個地點
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 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 S 1..1 Reference(TW Core Location) 就醫發生的地點
ele-1: All FHIR elements must have a @value or children
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。


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


ele-1: All FHIR elements must have a @value or children
.... period 0..1 Period 病人出現在此地點的時段
ele-1: All FHIR elements must have a @value or children
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
ele-1: All FHIR elements must have a @value or children
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?
ele-1: All FHIR elements must have a @value or children

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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()
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()

Snapshot View

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

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Encounter Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier 此就醫事件的識別碼
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的用途;應填入所綁定值集中的其中一個代碼。

.... type 0..1 CodeableConceptTW 識別碼(identifier)的型別說明
Binding: Identifier Type Codes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... system SΣ 1..1 uri 識別碼(identifier)的命名空間(namespace)
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值
Example General: 123456
.... period Σ 0..1 Period 此就醫事件識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... status ?!SΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現況的代碼;應填入所綁定值集中的其中一個代碼

... statusHistory 0..* BackboneElement 過去的就醫狀態清單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): 就醫現狀的代碼;應填入所綁定值集中的其中一個代碼

.... period 1..1 Period 該事件處於特定狀態的時間
... class S 1..1 CodingTW 病人就醫的分類
Binding: ActEncounterCode (extensible): 就醫的分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... classHistory 0..* BackboneElement 過去就醫類別的列表
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): 就醫類別;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... period 1..1 Period 此就醫事件處於特定類別的時間
... type 0..* CodeableConceptTW 就醫的特定型別
Binding: EncounterType (example): 就醫的型別;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... serviceType S 0..1 CodeableConceptTW 服務的特定型別
Binding: ServiceType (example): 對提供的服務進行廣泛分類;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
..... coding:TWMedicalDepartmentSCT S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalConsultationDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
..... coding:TWMedicalTreatmentDepartment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required)
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw
...... version Σ 0..1 string 系統的版本—如果相關的話
...... code SΣ 0..1 code 系統定義的語法之符號
...... display SΣ 0..1 string 由系統定義的表示法
...... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... priority 0..1 CodeableConceptTW 表明就醫的急迫性
Binding: ActPriority (example): 表明就醫的迫切性;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... subject SΣ 0..1 Reference(TW Core Patient | Group) 在場就醫的病人或實體集合(Group)
... episodeOfCare Σ 0..* Reference(EpisodeOfCare) 此次就醫應記錄的照護事件
... basedOn 0..* Reference(TW Core ServiceRequest) 開始此次就醫的服務請求(ServiceRequest)
... participant SΣ 0..* BackboneElement 參與就醫的健康照護服務提供者之名單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 0..* CodeableConceptTW 參與者在病人就醫事件中的角色
Binding: ParticipantType (extensible): 參與者在病人就醫事件中的角色;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


.... period S 0..1 Period 參與者在病人就醫期間參與的時段
.... individual SΣ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson) 除病人外,參與病人就醫事件的人。
... appointment Σ 0..* Reference(Appointment) 這次就醫的預約紀錄
... period S 0..1 Period 就醫的開始和結束時間
... length 0..1 Duration 就醫持續的時間(扣除缺席時間)
... reasonCode S 0..* CodeableConceptTW 就醫發生的編碼原因
Binding: EncounterReasonCodes (preferred): 發生此就醫事件的原因;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Procedure | TW Core Observation Laboratory Result | ImmunizationRecommendation) 就醫發生的原因(參照)
... diagnosis Σ 0..* BackboneElement 與此就醫相關的診斷清單
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition Σ 1..1 Reference(TW Core Condition | TW Core Procedure) 與就醫事件相關的診斷或處置
.... use 0..1 CodeableConceptTW 此診斷在病人就醫事件中的作用(例如:住院、收費、出院...)。
Binding: DiagnosisRole (preferred): 此情況所代表的診斷型別;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... rank 0..1 positiveInt 診斷的排序(針對每個角色型別)
... account 0..* Reference(Account) 可用於為此病人就醫事件計費的一組帳戶
... hospitalization S 0..1 BackboneElement 關於入院接受健康照護服務的細節
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier 住院前識別碼
.... origin 0..1 Reference(TW Core Organization | TW Core Location) 病人住院前來自的地點/機構
.... admitSource 0..1 CodeableConceptTW 病人從哪裡住院(醫生轉介、轉院)?
Binding: AdmitSource (preferred): 病人從哪裡住院;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

.... reAdmission 0..1 CodeableConceptTW 已發生的醫院再入院型別(如果有的話)。如果該值不存在,則不被認定為再入院。
Binding: hl7VS-re-admissionIndicator (example): 這次住院就醫的再入院原因;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

.... dietPreference 0..* CodeableConceptTW 病人報告的飲食偏好
Binding: Diet (example): 醫療、文化或道德方面的食物偏好,以幫助滿足飲食要求;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... specialCourtesy 0..* CodeableConceptTW 特別禮遇(貴賓、董事會成員)
Binding: SpecialCourtesy (preferred): 特別禮遇;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... specialArrangement 0..* CodeableConceptTW 輪椅、翻譯人員、擔架等。
Binding: SpecialArrangements (preferred): 特殊安排;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。


.... destination 0..1 Reference(TW Core Location | TW Core Organization) 病人出院地點/機構
.... dischargeDisposition S 0..1 CodeableConceptTW 出院後的地點類別或種類
Binding: DischargeDisposition (example): 出院處置;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... location S 0..* BackboneElement 病人曾去過的一個或多個地點
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... location S 1..1 Reference(TW Core Location) 就醫發生的地點
.... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): 就醫地點的狀態;應填入所綁定值集中的其中一個代碼。

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

.... period 0..1 Period 病人出現在此地點的時段
... serviceProvider S 0..1 Reference(TW Core Organization) 負責這次就醫的機構
... partOf 0..1 Reference(TW Core Encounter) 此就醫是哪次就醫的一部份?

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.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
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
from this IG
Encounter.serviceType.coding:TWMedicalConsultationDepartmentrequiredTWMedicalConsultationDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw
from this IG
Encounter.serviceType.coding:TWMedicalTreatmentDepartmentrequiredTWMedicalTreatmentDepartment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw
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.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()
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()

This structure is derived from Encounter

Summary

Mandatory: 0 element(5 nested mandatory elements)
Must-Support: 21 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

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

 

Other representations of profile: CSV, Excel, Schematron

Notes:

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

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

  1. 建議應該(SHOULD) 支援透過查詢參數 _id 查詢所有Encounter:
    (如何透過token查詢)
    GET [base]/Encounter?_id=[id]
    GET [base]/Encounter/[id]

    例子:
    (1) GET [base]/Encounter?_id=enc-example
    (2) GET [base]/Encounter/enc-example

  2. 建議應該(SHOULD) 支援透過查詢參數 class 查詢所有Encounter:
    (如何透過token查詢)
    GET [base]/Encounter?class=[code]

    例子:
    (1) GET [base]/Encounter?class=PRENC

  3. 建議應該(SHOULD) 支援透過查詢參數 date 查詢所有Encounter:
    (如何透過date查詢)
    GET [base]/Encounter?date={gt|lt|ge|le}[date]

    例子:
    (1) GET [base]/Encounter?date=gt2022-08-01

  4. 建議應該(SHOULD) 支援透過查詢參數 identifier 查詢所有Encounter:
    (如何透過token查詢)
    GET [base]/Encounter?identifier={system|}[code]
    GET [base]/Encounter?identifier=[code]

    例子:
    (1) GET [base]/Encounter?identifier=http://healthcare.example.org/identifiers/enocunter|E22081702
    (2) GET [base]/Encounter?identifier=E22081702

  5. 建議應該(SHOULD) 支援透過查詢參數 location 查詢所有Encounter:
    (如何透過reference查詢)
    GET [base]/Encounter?location={Type/}[id]

    例子:
    (1) GET [base]/Encounter?location=Location/hospital-example

  6. 建議應該(SHOULD) 支援透過查詢參數 subject 查詢所有Encounter:
    (如何透過reference查詢)
    GET [base]/Encounter?subject={Type/}[id]

    例子:
    (1) GET [base]/Encounter?subject=Patient/pat-example

  7. 建議應該(SHOULD) 支援透過查詢參數 status 查詢所有Encounter:
    (如何透過token查詢)
    GET [base]/Encounter?status=[code]

    例子:
    (1) GET [base]/Encounter?status=finished

實作注意事項

  • Encounter.class 資料項目用於描述就醫事件發生的環境(如門診/住院等)。由於這對於理解就醫事件的背景、選擇適當的業務規則以執行和管理過程都非常重要,因此該資料項目是必須的。
  • 在未來的 FHIR 版本中,將會加入某種形式的收費記錄工具(例如:Account)。

範例使用 Example usage

如上所述,Encounter 允許透過「partOf」資料項目來靈活組織嵌套就醫事件。這麼做的例子包括:

  • 假設有一位病人入院兩週:這可用 Encounter 來表示,其中指定了整個住院時間的開始和持續時間。透過participant來指定負責入院的醫生和住院期間的負責醫生。
  • 在病人的就醫期間,他從住院病房移動到加護病房(Intensive Care unit,ICU),然後再移回來:可創建三個更詳細的額外Encounter,每個代表病人停留的其中一個位置。這些Encounter每個都有一個location(兩次是住院病房,一次是加護病房)和該地點的一位或多位participant。這些 Encounter 可能使用partOf資料項目來表示這些移動發生在更長的整體就醫事件期間。
  • 在住院的最後階段,病人被治療他的跨專科團隊成員問診,以進行最後評估:如有必要,對於這些短暫的問診,可以創建一個有一位participant的Encounter。由於這些問診發生在住院的最後階段,partOf資料項目可用來將這些短暫問診關聯到第三次病人移動或是整體的大型Encounter。

Encounter 的具體使用方式取決於來源系統中的可用資訊、每個 Encounter 層級的交換相關性以及訊息交換夥伴的具體需求,期望透過使用特定交換領域的 profiles 來限制 Encounter 的靈活性,以滿足使用案例的要求。