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

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.1: Releases) 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

Logical Model: 臺灣核心-就醫事件(TW Core Encounter) 之資料模型

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWEncounter Version: 0.2.1
Active as of 2024-04-09 Computable Name: TWEncounterModel

臺灣核心-就醫事件(TW Core Encounter) 之資料模型

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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 Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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
.. TWEncounter 0..* Base 臺灣核心-就醫事件(TW Core Encounter) 之資料模型
Instances of this logical model are not marked to be the target of a Reference
... identifier 0..* Identifier 就醫事件的識別碼。
... status 1..1 code 就醫現況。
... class 1..1 Coding 就醫的分類。
... subject 0..1 BackboneElement 就醫的病人或實體集合(Group)。
.... @id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... patient 0..1 Patient 就醫的病人。
.... group 0..1 Group 就醫的實體集合。
... participant 0..* BackboneElement 參與就醫的健康照護服務提供者。
... period 0..1 Period 就醫的開始和結束時間。
... reasonCode 0..* CodeableConcept 發生此就醫事件的原因。
... dischargeDisposition 0..1 CodeableConcept 出院後的地點類別或種類。
... location 0..* BackboneElement 病人曾去過的一個或多個地點。

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
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 Base

Summary

Mandatory: 0 element(2 nested mandatory elements)

 

Other representations of profile: CSV, Excel