臺灣健保癌症用藥事前審查實作指引
1.0.8 - STU1.0.8

臺灣健保癌症用藥事前審查實作指引 - Downloaded Version 1.0.8 See the Directory of published versions

## Resource Profile: EncounterTWPAS - Detailed Descriptions

Active as of 2025-09-26

Definitions for the Encounter-twpas resource profile.

- Key Elements Table
- Differential Elements Table
- Snapshot Elements Table

Guidance on how to interpret the contents of this table can be foundhere

0. Encounter
Definition | 病人和健康照護服務提供者之間的互動，目的是提供健康照護服務或評估病人的健康狀況。 An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
Short | 提供病人服務的一種互動An interaction during which services are provided to the patient
Control | 0..*
Is Modifier | false
Summary | false
Alternate Names | Visit
Invariants | dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty()) 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 (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()) dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()) dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty()) dom-6: A resource should have narrative for robust management (text.`div`.exists())
2. Encounter.meta
Definition | 關於resource的metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與resource的版本更改相關聯。 The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
Short | 此Encounter Resource的metadataMetadata about the resource
Control | 10..1
Type | Meta
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
4. Encounter.meta.profile
Definition | A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url. A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.
Short | Profiles this resource claims to conform to
Comments | It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.
Control | 10..1*
Type | canonical(StructureDefinition)
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Pattern Value | `https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
6. Encounter.implicitRules
Definition | 構建resource時遵循的一系列規則的參照，在處理內容時必須理解這些規則。通常這是對IG所定義之特殊規則及其他profiles的參照。 A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Short | 創建此內容所依據的一組規則A set of rules under which this content was created
Comments | 宣告這套規則限制了內容只能被有限的交易夥伴所理解。這從本質上限制了資料的長期有用性。然而，現有的健康生態體系高度分裂，還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能，實作者和/或規範編寫者應該避免使用這個資料項目。通常在使用時，此URL是對IG的參照，此IG將這些特殊規則與其他profiles、value sets等一起定義為其敘述的一部分。 Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
Control | 0..1
Type | uri
Is Modifier | true because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
8. Encounter.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
Summary | false
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
10. Encounter.identifier
Definition | 此就醫事件的識別碼 Identifier(s) by which this encounter is known.
Short | 此就醫事件的識別碼Identifier(s) by which this encounter is known
Note | This is a business identifier, not a resource identifier (see discussion)
Control | 0..*
Type | Identifier
Is Modifier | false
Must Support | true
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
12. Encounter.identifier.use
Definition | 這個唯一識別碼（identifier）的用途 The purpose of this identifier.
Short | usual ｜ official ｜ temp ｜ secondary ｜ old （如果知道）usual | official | temp | secondary | old (If known)
Comments | 應用程式可以假定一個識別碼是永久的，除非它明確說它是暫時的。 Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.
Control | 0..1
Binding | The codes SHALL be taken from IdentifierUse http://hl7.org/fhir/ValueSet/identifier-use|4.0.1 (required to `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` ) 如果知道，請說明此識別碼的用途；應填入所綁定值集中的其中一個代碼。 Identifies the purpose for this identifier, if known .
Type | code
Is Modifier | true because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 允許從一組識別碼中為特定的使用情境選擇適當的識別碼 Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
14. Encounter.identifier.system
Definition | 建立值的命名空間－即一個描述一組值的唯一URL Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
Short | 識別碼（identifier）的命名空間（namespace）The namespace for the identifier value
Comments | Identifier.system總是區分大小寫 Identifier.system is always case sensitive.
Control | 10..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 有許多識別碼的集合。為了進行兩個識別碼的對應，我們需要知道我們處理的是哪一組。系統指明了一個特定的唯一識別碼集。 There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.
Example | General: http://www.acme.com/identifiers/patient
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
16. Encounter.identifier.value
Definition | 識別碼中通常與使用者有關的部分，在系統情境內是唯一的。 The portion of the identifier typically relevant to the user and which is unique within the context of the system.
Short | 唯一值The value that is unique
Comments | 如果此值是一個完整的URI，那麼此系統 必須（SHALL） 是urn:ietf:rfc:3986。此值的主要目的是為了可運算的對應。因此，為了比較的目的，它可能會被正規化（例如：去除不重要的空白、破折號等）。一個為人顯示的格式化的值可以使用[Rendered Value]（http://hl7.org/fhir/R4/extension-rendered-value.html）擴充來傳達。除非對Identifier.system的了解使處理者確信不區分大小寫的處理是安全的，否則Identifier.value應被視為區分大小寫。 If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.
Control | 10..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Example | General: 123456
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
18. Encounter.status
Definition | planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
Short | 就醫現況。【因FHIR設計而需必填】planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Comments | 請注意，內部業務規則將決定於狀態（也包括類別）間可能發生的適當轉換。 Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).
Control | 1..1
Binding | The codes SHALL be taken from EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1 (required to `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` ) 就醫現況的代碼；應填入所綁定值集中的其中一個代碼 Current state of the encounter.
Type | code
Is Modifier | true because This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Pattern Value | `planned`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
20. Encounter.class
Definition | 病人就醫分類的概念，例如：門診病人、住院病人、急診病人、居家照護或其他因地方不同而產生的概念。 Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.
Short | 就醫分類。【因FHIR設計而需必填】Classification of patient encounter
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 1..1 This element is affected by the following invariants: ele-1
Binding | Unless not suitable, these codes SHALL be taken from ActEncounterCode http://terminology.hl7.org/ValueSet/v3-ActEncounterCode (extensible to `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode` ) 就醫的分類；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。 Classification of the encounter.
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Pattern Value | `{ "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code" : "AMB" }`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
22. Encounter.serviceType
Definition | 對所提供的服務進行廣泛的分類（如心臟科） Broad categorization of the service that is to be provided (e.g. cardiology).
Short | 就醫科別，完整代碼對應表請參照就醫科別對應表。Specific type of service
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 10..1 This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from For example codes, see 對應至 SNOMED CT之就醫科別 + 診療科別值集 http://hl7.org/fhir/ValueSet/service-type|4.0.1 (preferred to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw` ) 完整代碼對應表請參照就醫科別對應表。 Broad categorization of the service that is to be provided.
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
24. Encounter.serviceType.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照 A reference to a code defined by a terminology system.
Short | 由專門術語系統（terminology system）定義的代碼Code defined by a terminology system
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。 Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
Control | 10..1* This element is affected by the following invariants: ele-1
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。 Allows for alternative encodings within a code system, and translations to other code systems.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding`. The slices areUnordered and Closed, and can be differentiated using the following discriminators: pattern @ system
26. Encounter.serviceType.coding.system
Definition | 定義代碼中符號意義的代碼系統識別 The identification of the code system that defines the meaning of the symbol in the code.
Short | 專門術語系統（terminology system）的識別Identity of the terminology system
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。 The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
Control | 0..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源 Need to be unambiguous about the source of the definition of the symbol.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
28. Encounter.serviceType.coding.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。 A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Short | 系統定義的語法之符號Symbol in syntax defined by the system
Control | 10..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼 Need to refer to a particular code in the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
30. Encounter.serviceType.coding.display
Definition | 遵循系統的規則以呈現代碼含義的表示法 A representation of the meaning of the code in the system, following the rules of the system.
Short | 由系統定義的表示法Representation defined by the system
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義 Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
32. Encounter.serviceType.coding:TWMedicalDepartmentSCT
Slice Name | TWMedicalDepartmentSCT
Definition | 由專門術語系統（terminology system）所定義之代碼的參照 A reference to a code defined by a terminology system.
Short | 對應至SNOMED CT之就醫科別Code defined by a terminology system
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。 Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
Control | 0..1* This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from For codes, see 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。 Allows for alternative encodings within a code system, and translations to other code systems.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
34. Encounter.serviceType.coding:TWMedicalDepartmentSCT.system
Definition | 定義代碼中符號意義的代碼系統識別 The identification of the code system that defines the meaning of the symbol in the code.
Short | 專門術語系統（terminology system）的識別Identity of the terminology system
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。 The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
Control | 10..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源 Need to be unambiguous about the source of the definition of the symbol.
Pattern Value | `http://snomed.info/sct`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
36. Encounter.serviceType.coding:TWMedicalDepartmentSCT.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。 A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Short | 系統定義的語法之符號Symbol in syntax defined by the system
Control | 10..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼 Need to refer to a particular code in the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
38. Encounter.serviceType.coding:TWMedicalDepartmentSCT.display
Definition | 遵循系統的規則以呈現代碼含義的表示法 A representation of the meaning of the code in the system, following the rules of the system.
Short | 由系統定義的表示法Representation defined by the system
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義 Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
40. Encounter.serviceType.coding:TWMedicalConsultationDepartment
Slice Name | TWMedicalConsultationDepartment
Definition | 由專門術語系統（terminology system）所定義之代碼的參照 A reference to a code defined by a terminology system.
Short | 無法對應至SNOMED CT之臺灣健保署就醫科別Code defined by a terminology system
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。 Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
Control | 0..1* This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from For codes, see 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。 Allows for alternative encodings within a code system, and translations to other code systems.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
42. Encounter.serviceType.coding:TWMedicalConsultationDepartment.system
Definition | 定義代碼中符號意義的代碼系統識別 The identification of the code system that defines the meaning of the symbol in the code.
Short | 專門術語系統（terminology system）的識別Identity of the terminology system
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。 The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
Control | 10..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源 Need to be unambiguous about the source of the definition of the symbol.
Pattern Value | `https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
44. Encounter.serviceType.coding:TWMedicalConsultationDepartment.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。 A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Short | 系統定義的語法之符號Symbol in syntax defined by the system
Control | 10..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼 Need to refer to a particular code in the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
46. Encounter.serviceType.coding:TWMedicalConsultationDepartment.display
Definition | 遵循系統的規則以呈現代碼含義的表示法 A representation of the meaning of the code in the system, following the rules of the system.
Short | 由系統定義的表示法Representation defined by the system
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義 Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
48. Encounter.serviceType.coding:TWMedicalTreatmentDepartment
Slice Name | TWMedicalTreatmentDepartment
Definition | 由專門術語系統（terminology system）所定義之代碼的參照 A reference to a code defined by a terminology system.
Short | 無法對應至SNOMED CT之臺灣健保署診療科別Code defined by a terminology system
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。 Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
Control | 0..1* This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from For codes, see 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。 Allows for alternative encodings within a code system, and translations to other code systems.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
50. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.system
Definition | 定義代碼中符號意義的代碼系統識別 The identification of the code system that defines the meaning of the symbol in the code.
Short | 專門術語系統（terminology system）的識別Identity of the terminology system
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。 The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
Control | 10..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源 Need to be unambiguous about the source of the definition of the symbol.
Pattern Value | `https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw`
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
52. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。 A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Short | 系統定義的語法之符號Symbol in syntax defined by the system
Control | 10..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼 Need to refer to a particular code in the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
54. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.display
Definition | 遵循系統的規則以呈現代碼含義的表示法 A representation of the meaning of the code in the system, following the rules of the system.
Short | 由系統定義的表示法Representation defined by the system
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義 Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
56. Encounter.serviceType.text
Definition | 輸入資料的使用者所見／所選／所說的人類可讀文字表述，和（或）其代表使用者的預期含義。 A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Short | 概念的文字表示法Plain text representation of the concept
Comments | 很多時候，此文字表述與其中一個代碼的顯示名稱相同。 Very often the text is the same as a displayName of one of the codings.
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義，或者根本就沒有合適的代碼；這些情況下，文字表述被用來捕捉來源的全部意義。 The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
58. Encounter.subject
Definition | 在場就醫的病人或實體集合（Group） The patient or group present at the encounter.
Short | 在場就醫的病人或實體集合（Group）The patient or group present at the encounter
Comments | 雖然就醫總是關於病人，但在所有的使用情境中，病人實際上可能並不為人所知及可能有一群病人是匿名的（例如：匿名酗酒者的團體治療中—就醫紀錄是以人數/工作人員數計費，而具體病人的情境並不重要）；或者在獸醫照護中，一群羊接受治療（動物沒有被單獨追蹤）。 While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).
Control | 0..1
Type | Reference(病人資訊-Patient TWPAS, Patient, Group)
Is Modifier | false
Must Support | true
Summary | true
Alternate Names | patient
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
60. Encounter.participant
Definition | 負責提供健康照護服務的人員名單 The list of people responsible for providing the service.
Short | 參與就醫的健康照護服務提供者之名單List of participants involved in the encounter
Control | 0..*
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
62. Encounter.participant.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
64. Encounter.participant.type
Definition | 參與者在病人就醫事件中的角色 Role of participant in encounter.
Short | 參與者在病人就醫事件中的角色Role of participant in encounter
Comments | 參與者的型別表明個人如何參與病人的就醫事件。它包括非執業醫師的參與者，而對於執業醫師來說，這是為了描述在這次就醫中的活動型別（例如：住院醫生、主治醫生、翻譯者、諮詢醫生）。這與執業醫師的角色不同，執業醫師是功能性的角色，衍生自來僱用、教育、執照等。 The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.
Control | 0..* This element is affected by the following invariants: ele-1
Binding | Unless not suitable, these codes SHALL be taken from ParticipantType http://hl7.org/fhir/ValueSet/encounter-participant-type|4.0.1 (extensible to `http://hl7.org/fhir/ValueSet/encounter-participant-type` ) 參與者在病人就醫事件中的角色；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。 Role of participant in encounter.
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
66. Encounter.participant.period
Definition | 指定的參與者參與病人就醫的時段。這些時段可以是重疊的，也可以是整個就醫的時段的子集。 The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.
Short | 參與者在病人就醫期間參與的時段Period of time during the encounter that the participant participated
Control | 0..1
Type | Period
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
68. Encounter.participant.individual
Definition | 除病人外，參與病人就醫事件的人。 Persons involved in the encounter other than the patient.
Short | 除病人外，參與病人就醫事件的人。Persons involved in the encounter other than the patient
Control | 0..1
Type | Reference(TW Core Practitioner, TW Core PractitionerRole, TW Core RelatedPerson, Practitioner, PractitionerRole, RelatedPerson)
Is Modifier | false
Must Support | true
Must Support Types | No must-support rules about the choice of types/profiles
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
70. Encounter.period
Definition | 就醫的開始和結束時間 The start and end time of the encounter.
Short | 就醫的開始和結束時間The start and end time of the encounter
Comments | 如果（尚）不知道，可以省略「期間」裡的結束日期時間。 If not (yet) known, the end of the Period may be omitted.
Control | 0..1
Type | Period
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
72. Encounter.reasonCode
Definition | 就醫發生的原因，以代碼表示。對於住院，這可用於住院診斷代碼。 Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.
Short | 就醫發生的編碼原因Coded reason the encounter takes place
Comments | 對於需要知道哪個是主要診斷的系統來說，這些將用標準擴充primaryDiagnosis（這是一個序列值而不是一個標誌，1=主要診斷）來標記。 For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).
Control | 0..* This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from EncounterReasonCodes http://hl7.org/fhir/ValueSet/encounter-reason|4.0.1 (preferred to `http://hl7.org/fhir/ValueSet/encounter-reason` ) 發生此就醫事件的原因；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。 Reason why the encounter takes place.
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Alternate Names | Indication, Admission diagnosis
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
74. Encounter.hospitalization
Definition | 關於入院接受健康照護服務的細節 Details about the admission to a healthcare service.
Short | 關於入院接受健康照護服務的細節Details about the admission to a healthcare service
Comments | 就醫可能不僅僅包括住院治療。其他情境像是門診病人、社區診所和老年照護機構等情況也包括在內。在此就醫期間記錄的持續時間含概此住院紀錄的整個範圍。 An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included. The duration recorded in the period of this encounter covers the entire scope of this hospitalization record.
Control | 0..1
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
76. Encounter.hospitalization.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
78. Encounter.hospitalization.dischargeDisposition
Definition | 出院後的地點類別或種類 Category or kind of location after discharge.
Short | 出院後的地點類別或種類Category or kind of location after discharge
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see DischargeDisposition http://hl7.org/fhir/ValueSet/encounter-discharge-disposition|4.0.1 (example to `http://hl7.org/fhir/ValueSet/encounter-discharge-disposition` ) 出院處置；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。 Discharge Disposition.
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
80. Encounter.location
Definition | 此次就醫期間，病人曾去過的一個或多個地點 List of locations where the patient has been during this encounter.
Short | 病人曾去過的一個或多個地點List of locations where the patient has been
Comments | 透過指定一個型別「種類（kind）」的地點參照，例如「客戶的家」，以及encounter.class =「虛擬（virtual）」。 Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual".
Control | 0..*
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
82. Encounter.location.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
84. Encounter.location.location
Definition | 就醫發生的地點 The location where the encounter takes place.
Short | 就醫發生的地點Location the encounter takes place
Control | 1..1
Type | Reference(TW Core Location, Location)
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
86. Encounter.serviceProvider
Definition | 對此次就醫的服務負主要責任的機構。這可能與病人紀錄中的機構相同，但也可能不同，例如：如果執行服務的人員來自外部機構（可單獨計費）的外部諮詢。請參考Bundle範例顯示結腸鏡檢查就醫縮略集。 The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.
Short | 負責這次就醫的機構The organization (facility) responsible for this encounter
Control | 0..1
Type | Reference(TW Core Organization, Organization)
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

Guidance on how to interpret the contents of this table can be foundhere

0. Encounter
2. Encounter.meta
Control | 1..?
4. Encounter.meta.profile
Control | 1..1
Pattern Value | `https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas`
6. Encounter.status
Short | 就醫現況。【因FHIR設計而需必填】
Pattern Value | `planned`
8. Encounter.class
Short | 就醫分類。【因FHIR設計而需必填】
Pattern Value | `{ "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code" : "AMB" }`
10. Encounter.serviceType
Short | 就醫科別，完整代碼對應表請參照就醫科別對應表。
Control | 1..?
Binding | The codes SHOULD be taken from 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw` ) 完整代碼對應表請參照就醫科別對應表。
12. Encounter.serviceType.coding
Control | 1..1
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding`. The slices areUnordered and Closed, and can be differentiated using the following discriminators: pattern @ system
14. Encounter.serviceType.coding.code
Control | 1..?
16. Encounter.serviceType.coding:TWMedicalDepartmentSCT
Slice Name | TWMedicalDepartmentSCT
Short | 對應至SNOMED CT之就醫科別
18. Encounter.serviceType.coding:TWMedicalDepartmentSCT.code
Control | 1..?
20. Encounter.serviceType.coding:TWMedicalConsultationDepartment
Slice Name | TWMedicalConsultationDepartment
Short | 無法對應至SNOMED CT之臺灣健保署就醫科別
22. Encounter.serviceType.coding:TWMedicalConsultationDepartment.code
Control | 1..?
24. Encounter.serviceType.coding:TWMedicalTreatmentDepartment
Slice Name | TWMedicalTreatmentDepartment
Short | 無法對應至SNOMED CT之臺灣健保署診療科別
26. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.code
Control | 1..?
28. Encounter.subject
Type | Reference(病人資訊-Patient TWPAS)

Guidance on how to interpret the contents of this table can be foundhere

0. Encounter
Definition | 病人和健康照護服務提供者之間的互動，目的是提供健康照護服務或評估病人的健康狀況。
Short | 提供病人服務的一種互動
Control | 0..*
Is Modifier | false
Summary | false
Alternate Names | Visit
Invariants | dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (`contained.contained.empty()`) 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 (`contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`) dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (`contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`) dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (`contained.meta.security.empty()`) dom-6: A resource should have narrative for robust management (`text.`div`.exists()`)
2. Encounter.id
Definition | resource的邏輯ID，在resource的URL中使用。一旦指定，這個值永遠不會改變。
Short | 不重複的ID用以識別儲存在特定FHIR Server中的Encounter紀錄，通常又稱為邏輯性ID。
Comments | 一個resource使用新增操作（create operation）提交給伺服器時，此resource沒有id，它的id在resource被創建後由伺器分配/指定。
Control | 0..1
Type | id
Is Modifier | false
Summary | true
4. Encounter.meta
Definition | 關於resource的metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與resource的版本更改相關聯。
Short | 此Encounter Resource的metadata
Control | 1..1
Type | Meta
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
6. Encounter.meta.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
8. Encounter.meta.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.meta.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
10. Encounter.meta.versionId
Definition | The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.
Short | Version specific identifier
Comments | The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
Control | 0..1
Type | id
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
12. Encounter.meta.lastUpdated
Definition | When the resource last changed - e.g. when the version changed.
Short | When the resource version last changed
Comments | This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.
Control | 0..1
Type | instant
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
14. Encounter.meta.source
Definition | A uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
Short | Identifies where the resource comes from
Comments | In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.
Control | 0..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
16. Encounter.meta.profile
Definition | A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.
Short | Profiles this resource claims to conform to
Comments | It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.
Control | 1..1
Type | canonical(StructureDefinition)
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Pattern Value | `https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-twpas`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
18. Encounter.meta.security
Definition | Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
Short | Security Labels applied to this resource
Comments | The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.
Control | 0..*
Binding | Unless not suitable, these codes SHALL be taken from All Security Labels (extensible to `http://hl7.org/fhir/ValueSet/security-labels|4.0.1` ) Security Labels from the Healthcare Privacy and Security Classification System.
Type | Coding
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
20. Encounter.meta.tag
Definition | Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
Short | Tags applied to this resource
Comments | The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.
Control | 0..*
Binding | For example codes, see CommonTags (example to `http://hl7.org/fhir/ValueSet/common-tags|4.0.1` ) Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Type | Coding
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
22. Encounter.implicitRules
Definition | 構建resource時遵循的一系列規則的參照，在處理內容時必須理解這些規則。通常這是對IG所定義之特殊規則及其他profiles的參照。
Short | 創建此內容所依據的一組規則
Comments | 宣告這套規則限制了內容只能被有限的交易夥伴所理解。這從本質上限制了資料的長期有用性。然而，現有的健康生態體系高度分裂，還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能，實作者和/或規範編寫者應該避免使用這個資料項目。通常在使用時，此URL是對IG的參照，此IG將這些特殊規則與其他profiles、value sets等一起定義為其敘述的一部分。
Control | 0..1
Type | uri
Is Modifier | true because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
24. Encounter.language
Definition | 編寫此resource的語言
Short | 用以表述Encounter Resource內容的語言。
Comments | 提供語言是為了支援索引和可存取性（通常，文字表述轉語音等服務使用此語言標籤）。html lanuage tag適用於此敘述。resource上的語言標籤可用於指定從resource中的資料所產成的其他表述之語言。不是所有的內容都必須使用此語言。不應該假定Resource.language自動適用於敘述。如果指定語言，它也應該被指定在html中的div資料項目（關於xml:lang和html lang屬性之間的關係，見HTML5中的規則）。
Control | 0..1
Binding | The codes SHOULD be taken from CommonLanguages (preferred to `http://hl7.org/fhir/ValueSet/languages` ) 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
AllLanguages | Max Binding
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | false
Example | Value: zh-TW
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
26. Encounter.text
Definition | 人可讀的敘述，包含resource的摘要，可用於向人表述resource的內容。敘述不需要對所有的結構化資料進行編碼，但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource定義有哪些內容應該在敘述中表示，以確保臨床安全。
Short | Encounter Resource之內容摘要以供人閱讀
Comments | 內嵌（contained）的resource沒有敘述，非內嵌（contained）的resource則 建議應該（SHOULD） 有敘述。有時resource可能只有文字表述，很少或沒有額外的結構化資料（只要滿足所有minOccurs=1的資料項目）。這可能出現在舊系統的資料，當資訊以 「文字表述區塊（text blob） 」的形式被取得，或者文字表述是原始輸入或說明，而編碼資訊稍後再添加。
Control | 0..1
Type | Narrative
Is Modifier | false
Summary | false
Alternate Names | narrative, html, xhtml, display
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
28. Encounter.contained
Definition | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
Short | Contained, inline Resources
Comments | This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
Control | 0..*
Type | Resource
Is Modifier | false
Summary | false
Alternate Names | inline resources, anonymous resources, contained resources
30. Encounter.extension
Definition | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
32. Encounter.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
Summary | false
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
34. Encounter.identifier
Definition | 此就醫事件的識別碼
Short | 此就醫事件的識別碼
Note | This is a business identifier, not a resource identifier (see discussion)
Control | 0..*
Type | Identifier
Is Modifier | false
Must Support | true
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
36. Encounter.identifier.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
38. Encounter.identifier.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.identifier.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
40. Encounter.identifier.use
Definition | 這個唯一識別碼（identifier）的用途
Short | usual ｜ official ｜ temp ｜ secondary ｜ old （如果知道）
Comments | 應用程式可以假定一個識別碼是永久的，除非它明確說它是暫時的。
Control | 0..1
Binding | The codes SHALL be taken from IdentifierUse (required to `http://hl7.org/fhir/ValueSet/identifier-use|4.0.1` ) 如果知道，請說明此識別碼的用途；應填入所綁定值集中的其中一個代碼。
Type | code
Is Modifier | true because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 允許從一組識別碼中為特定的使用情境選擇適當的識別碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
42. Encounter.identifier.type
Definition | 識別碼的代碼型別，用於決定特定目的適用的識別碼。
Short | 識別碼（identifier）的型別說明
Comments | 這個資料項目只涉及識別碼的一般類別。它 必須沒有（SHALL NOT） 被用於與Identifier.system 1..1對應的代碼。一些識別碼可能由於常見的用法而屬於多個類別。在系統是已知的情況下，型別是不必要的，因為型別總是系統定義的一部分。然而，系統經常需要處理系統不為人知的識別碼。型別和系統之間不是1:1的關係，因為許多不同的系統有相同的型別。
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | Unless not suitable, these codes SHALL be taken from Identifier Type Codes (extensible to `http://hl7.org/fhir/ValueSet/identifier-type` ) 應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Requirements | 允許使用者在不知道識別碼系統的情況下利用識別碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
44. Encounter.identifier.system
Definition | 建立值的命名空間－即一個描述一組值的唯一URL
Short | 識別碼（identifier）的命名空間（namespace）
Comments | Identifier.system總是區分大小寫
Control | 1..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 有許多識別碼的集合。為了進行兩個識別碼的對應，我們需要知道我們處理的是哪一組。系統指明了一個特定的唯一識別碼集。
Example | General: http://www.acme.com/identifiers/patient
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
46. Encounter.identifier.value
Definition | 識別碼中通常與使用者有關的部分，在系統情境內是唯一的。
Short | 唯一值
Comments | 如果此值是一個完整的URI，那麼此系統 必須（SHALL） 是urn:ietf:rfc:3986。此值的主要目的是為了可運算的對應。因此，為了比較的目的，它可能會被正規化（例如：去除不重要的空白、破折號等）。一個為人顯示的格式化的值可以使用[Rendered Value]（http://hl7.org/fhir/R4/extension-rendered-value.html）擴充來傳達。除非對Identifier.system的了解使處理者確信不區分大小寫的處理是安全的，否則Identifier.value應被視為區分大小寫。
Control | 1..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Example | General: 123456
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
48. Encounter.identifier.period
Definition | 識別碼有效／曾經有效使用的時段或期間
Short | 此就醫事件識別碼（identifier）的使用效期
Control | 0..1
Type | Period
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
50. Encounter.identifier.assigner
Definition | 簽發／管理識別碼的機構
Short | 簽發identifier的機構（可以只是文字表述）
Comments | Identifier.assigner可以省略.reference資料項目，只包含一個.display資料項目，反映指定機構的名稱或其他文字表述資訊。
Control | 0..1
Type | Reference(TW Core Organization)
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
52. Encounter.status
Definition | planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
Short | 就醫現況。【因FHIR設計而需必填】
Comments | 請注意，內部業務規則將決定於狀態（也包括類別）間可能發生的適當轉換。
Control | 1..1
Binding | The codes SHALL be taken from EncounterStatus (required to `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` ) 就醫現況的代碼；應填入所綁定值集中的其中一個代碼
Type | code
Is Modifier | true because This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Pattern Value | `planned`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
54. Encounter.statusHistory
Definition | Encounter resource包含狀態歷史，因而不需閱讀resource的歷史版本，甚至不需讓伺服器儲存這些版本。
Short | 過去的就醫狀態清單
Comments | 總是可在resource的目前版本找到目前狀態，而不是在狀態歷史中找到。
Control | 0..*
Type | BackboneElement
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
56. Encounter.statusHistory.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
58. Encounter.statusHistory.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
60. Encounter.statusHistory.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
62. Encounter.statusHistory.status
Definition | planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Short | planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Control | 1..1
Binding | The codes SHALL be taken from EncounterStatus (required to `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` ) 就醫現狀的代碼；應填入所綁定值集中的其中一個代碼
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
64. Encounter.statusHistory.period
Definition | 該事件處於特定狀態的時間
Short | 該事件處於特定狀態的時間
Control | 1..1
Type | Period
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
66. Encounter.class
Definition | 病人就醫分類的概念，例如：門診病人、住院病人、急診病人、居家照護或其他因地方不同而產生的概念。
Short | 就醫分類。【因FHIR設計而需必填】
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 1..1 This element is affected by the following invariants: ele-1
Binding | Unless not suitable, these codes SHALL be taken from ActEncounterCode (extensible to `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode` ) 就醫的分類；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Pattern Value | `{ "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code" : "AMB" }`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
68. Encounter.classHistory
Definition | 可透過類別歷史而不需要透過resource歷史紀錄來追蹤就醫的轉變，這將用於一個案例，即住院急診，然後轉住院的情況。這樣做而不重新啟動一個新的就醫，可以確保任何實驗室/診斷結果可以更容易地跟隨病人，不需要重新處理，也不會在從急診到住院的出院過程中丟失或取消。
Short | 過去就醫類別的列表
Control | 0..*
Type | BackboneElement
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
70. Encounter.classHistory.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
72. Encounter.classHistory.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
74. Encounter.classHistory.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
76. Encounter.classHistory.class
Definition | inpatient ｜ outpatient ｜ ambulatory ｜ emergency +. 住院病人 ｜ 門診病人 ｜ 非臥床（可行走）病人醫療服務 ｜ 急診 +
Short | inpatient ｜ outpatient ｜ ambulatory ｜ emergency +
Control | 1..1
Binding | Unless not suitable, these codes SHALL be taken from ActEncounterCode (extensible to `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode` ) 就醫類別；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
Type | Coding
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
78. Encounter.classHistory.period
Definition | 此就醫事件處於特定類別的時間
Short | 此就醫事件處於特定類別的時間
Control | 1..1
Type | Period
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
80. Encounter.type
Definition | 就醫的特定型別（如電子郵件諮詢、手術日間照護、專業護理、復健）。
Short | 就醫的特定型別
Comments | 由於有許多方法可以對就醫進行進一步的分類，所以這個資料項目的基數是0...* ，意即可不填寫或填寫數筆。
Control | 0..* This element is affected by the following invariants: ele-1
Binding | For example codes, see EncounterType (example to `http://hl7.org/fhir/ValueSet/encounter-type` ) 就醫的型別；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
82. Encounter.serviceType
Definition | 對所提供的服務進行廣泛的分類（如心臟科）
Short | 就醫科別，完整代碼對應表請參照就醫科別對應表。
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 1..1 This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from 對應至 SNOMED CT之就醫科別 + 診療科別值集 (preferred to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw` ) 完整代碼對應表請參照就醫科別對應表。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
84. Encounter.serviceType.id
Definition | resource中資料項目的唯一ID（用於內部參照）。這可以是任何不含空格的字串。
Short | 唯一可識別ID，以供資料項目間相互參照。
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
86. Encounter.serviceType.extension
Definition | 擴充的資料項目
Short | 擴充的資料項目
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
88. Encounter.serviceType.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | 由專門術語系統（terminology system）定義的代碼
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 1..1 This element is affected by the following invariants: ele-1
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding`. The slices areUnordered and Closed, and can be differentiated using the following discriminators: pattern @ system
90. Encounter.serviceType.coding.id
Definition | resource中資料項目的唯一ID（用於內部參照），這可以是任何不含空格的字串。
Short | 唯一可識別ID，以供資料項目間相互參照。
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
92. Encounter.serviceType.coding.extension
Definition | 可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理，對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充，但作為擴充定義的一部分，有一套要求 必須（SHALL） 滿足。
Short | 擴充的資料項目
Comments | 無論使用或定義擴充的機構或管轄區，任何應用程式、專案或標準使用擴充都不背負任何污名（stigma）。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
94. Encounter.serviceType.coding.system
Definition | 定義代碼中符號意義的代碼系統識別
Short | 專門術語系統（terminology system）的識別
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。
Control | 0..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
96. Encounter.serviceType.coding.version
Definition | 選擇此代碼時使用的代碼系統版本；請注意，一個維護良好的代碼系統不需要版本報告，因為代碼的意義在不同系統版本中是一致的；然而，不能始終保證這點，當不能保證意義一致時， 必須（SHALL） 將版本資訊也一併作交換。
Short | 系統的版本—如果相關的話
Comments | 如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本，建議使用版本正式發布的日期（用FHIR日期格式表示）作為版本日期。
Note | This is a business version Id, not a resource version Id (see discussion)
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
98. Encounter.serviceType.coding.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。
Short | 系統定義的語法之符號
Control | 1..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
100. Encounter.serviceType.coding.display
Definition | 遵循系統的規則以呈現代碼含義的表示法
Short | 由系統定義的表示法
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
102. Encounter.serviceType.coding.userSelected
Definition | 表明此編碼是由使用者直接選擇，例如：從可用項目（代碼或顯示名稱）的清單中選擇。
Short | 此編碼是否由使用者直接選擇？
Comments | 在一系列備選方案中，直接選擇的代碼是新翻譯最合適的起點；關於「直接選擇」的確切意義，存在模糊不清之處，可能需要貿易夥伴的同意，以更完整澄清此資料項目的使用及其後果。
Control | 0..1
Type | boolean
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 已被確定為一個臨床安全準則—此確切的系統／代碼對(code pair)是被明確選擇的，而不是由系統根據一些規則或是程式語言處理判斷。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
104. Encounter.serviceType.coding:TWMedicalDepartmentSCT
Slice Name | TWMedicalDepartmentSCT
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | 對應至SNOMED CT之就醫科別
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from 對應至 SNOMED CT之就醫科別 + 診療科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
106. Encounter.serviceType.coding:TWMedicalDepartmentSCT.id
Definition | resource中資料項目的唯一ID（用於內部參照），這可以是任何不含空格的字串。
Short | 唯一可識別ID，以供資料項目間相互參照。
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
108. Encounter.serviceType.coding:TWMedicalDepartmentSCT.extension
Definition | 可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理，對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充，但作為擴充定義的一部分，有一套要求 必須（SHALL） 滿足。
Short | 擴充的資料項目
Comments | 無論使用或定義擴充的機構或管轄區，任何應用程式、專案或標準使用擴充都不背負任何污名（stigma）。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
110. Encounter.serviceType.coding:TWMedicalDepartmentSCT.system
Definition | 定義代碼中符號意義的代碼系統識別
Short | 專門術語系統（terminology system）的識別
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。
Control | 1..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源
Pattern Value | `http://snomed.info/sct`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
112. Encounter.serviceType.coding:TWMedicalDepartmentSCT.version
Definition | 選擇此代碼時使用的代碼系統版本；請注意，一個維護良好的代碼系統不需要版本報告，因為代碼的意義在不同系統版本中是一致的；然而，不能始終保證這點，當不能保證意義一致時， 必須（SHALL） 將版本資訊也一併作交換。
Short | 系統的版本—如果相關的話
Comments | 如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本，建議使用版本正式發布的日期（用FHIR日期格式表示）作為版本日期。
Note | This is a business version Id, not a resource version Id (see discussion)
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
114. Encounter.serviceType.coding:TWMedicalDepartmentSCT.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。
Short | 系統定義的語法之符號
Control | 1..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
116. Encounter.serviceType.coding:TWMedicalDepartmentSCT.display
Definition | 遵循系統的規則以呈現代碼含義的表示法
Short | 由系統定義的表示法
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
118. Encounter.serviceType.coding:TWMedicalDepartmentSCT.userSelected
Definition | 表明此編碼是由使用者直接選擇，例如：從可用項目（代碼或顯示名稱）的清單中選擇。
Short | 此編碼是否由使用者直接選擇？
Comments | 在一系列備選方案中，直接選擇的代碼是新翻譯最合適的起點；關於「直接選擇」的確切意義，存在模糊不清之處，可能需要貿易夥伴的同意，以更完整澄清此資料項目的使用及其後果。
Control | 0..1
Type | boolean
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 已被確定為一個臨床安全準則—此確切的系統／代碼對(code pair)是被明確選擇的，而不是由系統根據一些規則或是程式語言處理判斷。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
120. Encounter.serviceType.coding:TWMedicalConsultationDepartment
Slice Name | TWMedicalConsultationDepartment
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | 無法對應至SNOMED CT之臺灣健保署就醫科別
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from 無法對應至SNOMED CT之臺灣健保署就醫科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-consultation-department-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
122. Encounter.serviceType.coding:TWMedicalConsultationDepartment.id
Definition | resource中資料項目的唯一ID（用於內部參照），這可以是任何不含空格的字串。
Short | 唯一可識別ID，以供資料項目間相互參照。
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
124. Encounter.serviceType.coding:TWMedicalConsultationDepartment.extension
Definition | 可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理，對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充，但作為擴充定義的一部分，有一套要求 必須（SHALL） 滿足。
Short | 擴充的資料項目
Comments | 無論使用或定義擴充的機構或管轄區，任何應用程式、專案或標準使用擴充都不背負任何污名（stigma）。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
126. Encounter.serviceType.coding:TWMedicalConsultationDepartment.system
Definition | 定義代碼中符號意義的代碼系統識別
Short | 專門術語系統（terminology system）的識別
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。
Control | 1..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源
Pattern Value | `https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-consultation-department-nhi-tw`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
128. Encounter.serviceType.coding:TWMedicalConsultationDepartment.version
Definition | 選擇此代碼時使用的代碼系統版本；請注意，一個維護良好的代碼系統不需要版本報告，因為代碼的意義在不同系統版本中是一致的；然而，不能始終保證這點，當不能保證意義一致時， 必須（SHALL） 將版本資訊也一併作交換。
Short | 系統的版本—如果相關的話
Comments | 如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本，建議使用版本正式發布的日期（用FHIR日期格式表示）作為版本日期。
Note | This is a business version Id, not a resource version Id (see discussion)
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
130. Encounter.serviceType.coding:TWMedicalConsultationDepartment.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。
Short | 系統定義的語法之符號
Control | 1..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
132. Encounter.serviceType.coding:TWMedicalConsultationDepartment.display
Definition | 遵循系統的規則以呈現代碼含義的表示法
Short | 由系統定義的表示法
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
134. Encounter.serviceType.coding:TWMedicalConsultationDepartment.userSelected
Definition | 表明此編碼是由使用者直接選擇，例如：從可用項目（代碼或顯示名稱）的清單中選擇。
Short | 此編碼是否由使用者直接選擇？
Comments | 在一系列備選方案中，直接選擇的代碼是新翻譯最合適的起點；關於「直接選擇」的確切意義，存在模糊不清之處，可能需要貿易夥伴的同意，以更完整澄清此資料項目的使用及其後果。
Control | 0..1
Type | boolean
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 已被確定為一個臨床安全準則—此確切的系統／代碼對(code pair)是被明確選擇的，而不是由系統根據一些規則或是程式語言處理判斷。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
136. Encounter.serviceType.coding:TWMedicalTreatmentDepartment
Slice Name | TWMedicalTreatmentDepartment
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | 無法對應至SNOMED CT之臺灣健保署診療科別
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from 無法對應至SNOMED CT之臺灣健保署診療科別值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-treatment-department-tw` )
Type | Coding(TW Coding)
Is Modifier | false
Must Support | true
Requirements | 允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
138. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.id
Definition | resource中資料項目的唯一ID（用於內部參照），這可以是任何不含空格的字串。
Short | 唯一可識別ID，以供資料項目間相互參照。
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
140. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.extension
Definition | 可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理，對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充，但作為擴充定義的一部分，有一套要求 必須（SHALL） 滿足。
Short | 擴充的資料項目
Comments | 無論使用或定義擴充的機構或管轄區，任何應用程式、專案或標準使用擴充都不背負任何污名（stigma）。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
Slicing | This element introduces a set of slices on `Encounter.serviceType.coding.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
142. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.system
Definition | 定義代碼中符號意義的代碼系統識別
Short | 專門術語系統（terminology system）的識別
Comments | URI可以是一個OID（urn:oid:...）或一個UUID（urn:uuid:...）；OID和UUID 必須（SHALL） 參照HL7 OID註冊中心；否則，URI應該來自HL7的FHIR定義的特殊URI列表，或者它應該參照一些明確建立的系统定義。
Control | 1..1
Type | uri
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要明確說明符號定義的來源
Pattern Value | `https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw`
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
144. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.version
Definition | 選擇此代碼時使用的代碼系統版本；請注意，一個維護良好的代碼系統不需要版本報告，因為代碼的意義在不同系統版本中是一致的；然而，不能始終保證這點，當不能保證意義一致時， 必須（SHALL） 將版本資訊也一併作交換。
Short | 系統的版本—如果相關的話
Comments | 如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本，建議使用版本正式發布的日期（用FHIR日期格式表示）作為版本日期。
Note | This is a business version Id, not a resource version Id (see discussion)
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
146. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.code
Definition | 系統定義的語法之符號；符號可能是一個預先定義的代碼，也可能是代碼系統定義的語法中的表達式（如後組合配對／後組合式）。
Short | 系統定義的語法之符號
Control | 1..1
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要參照系統中的一個特定代碼
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
148. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.display
Definition | 遵循系統的規則以呈現代碼含義的表示法
Short | 由系統定義的表示法
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 需要能為不了解此系統的讀者呈現可讀的代碼含義
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
150. Encounter.serviceType.coding:TWMedicalTreatmentDepartment.userSelected
Definition | 表明此編碼是由使用者直接選擇，例如：從可用項目（代碼或顯示名稱）的清單中選擇。
Short | 此編碼是否由使用者直接選擇？
Comments | 在一系列備選方案中，直接選擇的代碼是新翻譯最合適的起點；關於「直接選擇」的確切意義，存在模糊不清之處，可能需要貿易夥伴的同意，以更完整澄清此資料項目的使用及其後果。
Control | 0..1
Type | boolean
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | true
Requirements | 已被確定為一個臨床安全準則—此確切的系統／代碼對(code pair)是被明確選擇的，而不是由系統根據一些規則或是程式語言處理判斷。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
152. Encounter.serviceType.text
Definition | 輸入資料的使用者所見／所選／所說的人類可讀文字表述，和（或）其代表使用者的預期含義。
Short | 概念的文字表示法
Comments | 很多時候，此文字表述與其中一個代碼的顯示名稱相同。
Control | 0..1
Type | string
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Must Support | true
Summary | true
Requirements | 專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義，或者根本就沒有合適的代碼；這些情況下，文字表述被用來捕捉來源的全部意義。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
154. Encounter.priority
Definition | 表明就醫的急迫性
Short | 表明就醫的急迫性
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see ActPriority (example to `http://terminology.hl7.org/ValueSet/v3-ActPriority` ) 表明就醫的迫切性；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
156. Encounter.subject
Definition | 在場就醫的病人或實體集合（Group）
Short | 在場就醫的病人或實體集合（Group）
Comments | 雖然就醫總是關於病人，但在所有的使用情境中，病人實際上可能並不為人所知及可能有一群病人是匿名的（例如：匿名酗酒者的團體治療中—就醫紀錄是以人數/工作人員數計費，而具體病人的情境並不重要）；或者在獸醫照護中，一群羊接受治療（動物沒有被單獨追蹤）。
Control | 0..1
Type | Reference(病人資訊-Patient TWPAS)
Is Modifier | false
Must Support | true
Summary | true
Alternate Names | patient
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
158. Encounter.episodeOfCare
Definition | 當某一特定就醫應被歸類為某一特定照護事件的一部分時，應使用這一個資料項目。這種關聯可方便地將相關的就醫分類，以達到特定的目的，如政府報告、問題追蹤、透過共同的問題進行關聯，關聯通常會在照護事件之後記錄在就醫紀錄上，並在紀錄上分類；而不是將另一個就醫（照護事件可能橫跨多年）附件到照護事件紀錄。
Short | 此次就醫應記錄的照護事件
Control | 0..*
Type | Reference(EpisodeOfCare)
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
160. Encounter.basedOn
Definition | 此就醫事件所要滿足的請求（例如：轉診或手術請求）
Short | 開始此次就醫的服務請求（ServiceRequest）
Control | 0..*
Type | Reference(TW Core ServiceRequest)
Is Modifier | false
Summary | false
Alternate Names | incomingReferral
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
162. Encounter.participant
Definition | 負責提供健康照護服務的人員名單
Short | 參與就醫的健康照護服務提供者之名單
Control | 0..*
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
164. Encounter.participant.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
166. Encounter.participant.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
168. Encounter.participant.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
170. Encounter.participant.type
Definition | 參與者在病人就醫事件中的角色
Short | 參與者在病人就醫事件中的角色
Comments | 參與者的型別表明個人如何參與病人的就醫事件。它包括非執業醫師的參與者，而對於執業醫師來說，這是為了描述在這次就醫中的活動型別（例如：住院醫生、主治醫生、翻譯者、諮詢醫生）。這與執業醫師的角色不同，執業醫師是功能性的角色，衍生自來僱用、教育、執照等。
Control | 0..* This element is affected by the following invariants: ele-1
Binding | Unless not suitable, these codes SHALL be taken from ParticipantType (extensible to `http://hl7.org/fhir/ValueSet/encounter-participant-type` ) 參與者在病人就醫事件中的角色；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
172. Encounter.participant.period
Definition | 指定的參與者參與病人就醫的時段。這些時段可以是重疊的，也可以是整個就醫的時段的子集。
Short | 參與者在病人就醫期間參與的時段
Control | 0..1
Type | Period
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
174. Encounter.participant.individual
Definition | 除病人外，參與病人就醫事件的人。
Short | 除病人外，參與病人就醫事件的人。
Control | 0..1
Type | Reference(TW Core Practitioner, TW Core PractitionerRole, TW Core RelatedPerson)
Is Modifier | false
Must Support | true
Must Support Types | No must-support rules about the choice of types/profiles
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
176. Encounter.appointment
Definition | 這次就醫的預約紀錄
Short | 這次就醫的預約紀錄
Control | 0..*
Type | Reference(Appointment)
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
178. Encounter.period
Definition | 就醫的開始和結束時間
Short | 就醫的開始和結束時間
Comments | 如果（尚）不知道，可以省略「期間」裡的結束日期時間。
Control | 0..1
Type | Period
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
180. Encounter.length
Definition | 就醫持續的時間，這不包括請假缺席的時間。
Short | 就醫持續的時間（扣除缺席時間）
Comments | 由於請假，可能與就醫的開始和結束時間（Encounter.period）不同。
Control | 0..1
Type | Duration
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
182. Encounter.reasonCode
Definition | 就醫發生的原因，以代碼表示。對於住院，這可用於住院診斷代碼。
Short | 就醫發生的編碼原因
Comments | 對於需要知道哪個是主要診斷的系統來說，這些將用標準擴充primaryDiagnosis（這是一個序列值而不是一個標誌，1=主要診斷）來標記。
Control | 0..* This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from EncounterReasonCodes (preferred to `http://hl7.org/fhir/ValueSet/encounter-reason` ) 發生此就醫事件的原因；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Alternate Names | Indication, Admission diagnosis
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
184. Encounter.reasonReference
Definition | 就醫發生的原因，以代碼表示。對於住院，這可用於住院診斷代碼。
Short | 就醫發生的原因（參照）
Comments | 對於需要知道哪個是主要診斷的系統來說，這些將用標準擴充primaryDiagnosis（這是一個序列值而不是一個標誌，1=主要診斷）來標記。
Control | 0..*
Type | Reference(TW Core Condition, TW Core Procedure, TW Core Observation Laboratory Result, ImmunizationRecommendation)
Is Modifier | false
Summary | true
Alternate Names | Indication, Admission diagnosis
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
186. Encounter.diagnosis
Definition | 與此就醫相關的診斷清單
Short | 與此就醫相關的診斷清單
Control | 0..*
Type | BackboneElement
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
188. Encounter.diagnosis.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
190. Encounter.diagnosis.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
192. Encounter.diagnosis.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
194. Encounter.diagnosis.condition
Definition | 就醫的原因，使用其他resource的資訊以具體說明。對於住院，這就是住院診斷。指示通常是一個病情、問題或診斷（Condition）（在evidence.detail中參照其他resource），或一個處置（Procedure）。
Short | 與就醫事件相關的診斷或處置
Comments | 對於需要知道哪個是主要診斷的系統來說，這些將用標準擴充primaryDiagnosis（這是一個序列值而不是一個標誌，1=主要診斷）來標記。
Control | 1..1
Type | Reference(TW Core Condition, TW Core Procedure)
Is Modifier | false
Summary | true
Alternate Names | Admission diagnosis, discharge diagnosis, indication
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
196. Encounter.diagnosis.use
Definition | 此診斷在病人就醫事件中的作用（例如：住院、收費、出院...）。
Short | 此診斷在病人就醫事件中的作用（例如：住院、收費、出院...）。
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from DiagnosisRole (preferred to `http://hl7.org/fhir/ValueSet/diagnosis-role` ) 此情況所代表的診斷型別；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
198. Encounter.diagnosis.rank
Definition | 診斷的排序（針對每個角色型別）
Short | 診斷的排序（針對每個角色型別）
Control | 0..1
Type | positiveInt
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
200. Encounter.account
Definition | 可用於為此病人就醫事件計費的一組帳戶
Short | 可用於為此病人就醫事件計費的一組帳戶
Comments | 計費系統可依據內部業務規則，選擇將與就醫（Encounter）相關的應計費項目分配給不同的參照帳戶。
Control | 0..*
Type | Reference(Account)
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
202. Encounter.hospitalization
Definition | 關於入院接受健康照護服務的細節
Short | 關於入院接受健康照護服務的細節
Comments | 就醫可能不僅僅包括住院治療。其他情境像是門診病人、社區診所和老年照護機構等情況也包括在內。在此就醫期間記錄的持續時間含概此住院紀錄的整個範圍。
Control | 0..1
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
204. Encounter.hospitalization.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
206. Encounter.hospitalization.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
208. Encounter.hospitalization.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
210. Encounter.hospitalization.preAdmissionIdentifier
Definition | 住院前識別碼
Short | 住院前識別碼
Control | 0..1
Type | Identifier
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
212. Encounter.hospitalization.origin
Definition | 病人住院前來自的地點／機構
Short | 病人住院前來自的地點／機構
Control | 0..1
Type | Reference(TW Core Organization, TW Core Location)
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
214. Encounter.hospitalization.admitSource
Definition | 病人從哪裡住院（醫生轉介、轉院）？
Short | 病人從哪裡住院（醫生轉介、轉院）？
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from AdmitSource (preferred to `http://hl7.org/fhir/ValueSet/encounter-admit-source` ) 病人從哪裡住院；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
216. Encounter.hospitalization.reAdmission
Definition | 此次住院是否為再入院，如果知道的話，請說明原因。
Short | 已發生的醫院再入院型別（如果有的話）。如果該值不存在，則不被認定為再入院。
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see hl7VS-re-admissionIndicator (example to `http://terminology.hl7.org/ValueSet/v2-0092` ) 這次住院就醫的再入院原因；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
218. Encounter.hospitalization.dietPreference
Definition | 病人報告的飲食偏好
Short | 病人報告的飲食偏好
Comments | 例如：一個病人可能同時要求無乳製品和無堅果的飲食偏好（不相互排斥）。
Control | 0..* This element is affected by the following invariants: ele-1
Binding | For example codes, see Diet (example to `http://hl7.org/fhir/ValueSet/encounter-diet` ) 醫療、文化或道德方面的食物偏好，以幫助滿足飲食要求；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Requirements | 用於追蹤病人的飲食限制和／或偏好。如果要完整描述病人在住院期間的營養需求，應該使用與Encounter連結的nutritionOrder resource。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
220. Encounter.hospitalization.specialCourtesy
Definition | 特別禮遇（貴賓、董事會成員）
Short | 特別禮遇（貴賓、董事會成員）
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..* This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from SpecialCourtesy (preferred to `http://hl7.org/fhir/ValueSet/encounter-special-courtesy` ) 特別禮遇；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
222. Encounter.hospitalization.specialArrangement
Definition | 對此次住院就醫提出的任何特殊要求，如提供特定設備或其他東西。
Short | 輪椅、翻譯人員、擔架等。
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..* This element is affected by the following invariants: ele-1
Binding | The codes SHOULD be taken from SpecialArrangements (preferred to `http://hl7.org/fhir/ValueSet/encounter-special-arrangements` ) 特殊安排；鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
224. Encounter.hospitalization.destination
Definition | 病人出院地點／機構
Short | 病人出院地點／機構
Control | 0..1
Type | Reference(TW Core Location, TW Core Organization)
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
226. Encounter.hospitalization.dischargeDisposition
Definition | 出院後的地點類別或種類
Short | 出院後的地點類別或種類
Comments | Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see DischargeDisposition (example to `http://hl7.org/fhir/ValueSet/encounter-discharge-disposition` ) 出院處置；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Must Support | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
228. Encounter.location
Definition | 此次就醫期間，病人曾去過的一個或多個地點
Short | 病人曾去過的一個或多個地點
Comments | 透過指定一個型別「種類（kind）」的地點參照，例如「客戶的家」，以及encounter.class =「虛擬（virtual）」。
Control | 0..*
Type | BackboneElement
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
230. Encounter.location.id
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Short | Unique id for inter-element referencing
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
232. Encounter.location.extension
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
234. Encounter.location.modifierExtension
Definition | May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Short | Extensions that cannot be ignored even if unrecognized
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | true because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summary | true
Requirements | Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.
Alternate Names | extensions, user content, modifiers
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
236. Encounter.location.location
Definition | 就醫發生的地點
Short | 就醫發生的地點
Control | 1..1
Type | Reference(TW Core Location)
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
238. Encounter.location.status
Definition | 參與者在指定期間於特定地點的狀態。如果參與者已不在此地點，那麼其期間將有一個結束日期/時間。
Short | planned | active | reserved | completed
Comments | 當病人不再在某一地點活動時，則要輸入期間結束日期，狀態可改為完成。
Control | 0..1
Binding | The codes SHALL be taken from EncounterLocationStatus (required to `http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1` ) 就醫地點的狀態；應填入所綁定值集中的其中一個代碼。
Type | code
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
240. Encounter.location.physicalType
Definition | 這將被用來指定所需的地點層級（床位／病房／房間／等），以簡化訊息傳遞或查詢。
Short | 地點的實體型別（通常是地點的層級—床位、房間、病房等）。
Comments | 此資訊是從Location resource中反正規化(de-normalized)，以較易理解Encounter resource及支持訊息傳遞或查詢的處理。地點的層級結構中可能有許多層級，這可能只挑選特定使用情境所需的特定層級。
Control | 0..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see LocationType (example to `http://hl7.org/fhir/ValueSet/location-physical-type` ) 地點的實體型別；可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
Type | CodeableConcept(TW CodeableConcept)
Is Modifier | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
242. Encounter.location.period
Definition | 病人出現在此地點的時段
Short | 病人出現在此地點的時段
Control | 0..1
Type | Period
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
244. Encounter.serviceProvider
Definition | 對此次就醫的服務負主要責任的機構。這可能與病人紀錄中的機構相同，但也可能不同，例如：如果執行服務的人員來自外部機構（可單獨計費）的外部諮詢。請參考Bundle範例顯示結腸鏡檢查就醫縮略集。
Short | 負責這次就醫的機構
Control | 0..1
Type | Reference(TW Core Organization)
Is Modifier | false
Must Support | true
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
246. Encounter.partOf
Definition | 此就醫是哪次就醫的一部分（行政上或時間上）
Short | 此就醫是哪次就醫的一部份？
Comments | 這也用於將小孩的就醫與母親的就醫作關聯。 詳情請參考Patient resource中的Notes小節。
Control | 0..1
Type | Reference(TW Core Encounter)
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)