臺灣電子處方箋與調劑單張實作指引(TW EMPD IG)
0.1.0 - ci-build

臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) - Downloaded Version 0.1.0 See the Directory of published versions

## Resource Profile: MedicationEMPD - Detailed Descriptions

Active as of 2023-10-30

Definitions for the Medication-EMPD 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. Medication
Definition | 此resource主要用於識別和定義藥品，以便開立處方、配藥和給藥，以及對藥品使用進行說明。 This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.
Short | 藥品的定義Definition of a Medication
Control | 0..*
Is Modifier | false
Summary | false
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. Medication.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()))
4. Medication.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())
6. Medication.code
Definition | 具體說明此藥品的一個代碼（或一組代碼），如果沒有代碼，則為文字描述。使用說明：這可以是一個標準的藥品代碼，如RxNorm、SNOMED CT、IDMP等的代碼。它也可以是一個國家或地方的處方藥代碼，可以選擇翻譯／交易（transactions）為其他代碼系統。 A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
Short | 指明這種藥品的代碼。[應填入健保代碼與藥品商品名稱 Brand Name]，健保代碼(code)；商品名稱 Brand Name(display)。Codes that identify this medication
Comments | 根據使用情境，實際由使用者（開立處方者、配藥者等）選擇的代碼將把coding.userSelected設置為true。正如coding datatype中所描述的。「如果使用者在使用者介面上選擇了特定的代碼值（例如：使用者在清單中選擇了一個項目），那麼coding可以被標記為 「userSelected」。如果存在一個使用者選擇的代碼，它是進行翻譯等的首選，其他代碼只能字面翻譯至替代的代碼系統或者較小精細度的代碼（例如：一個通用代碼用於一個供應商限定的代碼）。 Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: "A coding may be marked as a "userSelected" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).
Control | 10..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see SNOMEDCTMedicationCodes http://hl7.org/fhir/ValueSet/medication-codes|4.0.1 (example to `http://hl7.org/fhir/ValueSet/medication-codes` ) 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 A coded concept that defines the type of a medication.
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()))
8. Medication.code.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | 由專門術語系統（terminology system）定義的代碼。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。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..* 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 `Medication.code.coding`. The slices areUnordered and Open, and can be differentiated using the following discriminators: pattern @ $this
10. Medication.code.coding:fda-medication-tw
Slice Name | fda-medication-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。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 臺灣食藥署藥品及醫療器材代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-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()))
12. Medication.code.coding:nhi-medication-tw
Slice Name | nhi-medication-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | 此為中央健康保險署(NHI)維護之藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。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 臺灣健保署用藥品項代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-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()))
14. Medication.code.coding:nhi-medication-ch-herb-tw
Slice Name | nhi-medication-ch-herb-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | 此為中央健康保險署(NHI)維護之中藥藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。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 臺灣健保署中藥用藥品項值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/nhi-medication-ch-herb-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()))
16. Medication.code.coding:rxnorm-medication-us-core
Slice Name | rxnorm-medication-us-core
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | RxNorm為美國Unified Medical Language System®中的藥品代碼，取得UMLS®授權即可免費使用，可依情境選用此代碼。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 RxNorm藥品代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-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()))
18. Medication.code.coding:atc-medication-code
Slice Name | atc-medication-code
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。 A reference to a code defined by a terminology system.
Short | ATC代碼的版權為世界衛生組織（WHO）Collaborating Centre for Drug Statistics Methodology，可免費使用，可依情境選用此代碼。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 臺灣食藥署藥品藥理治療分類ATC碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-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()))
20. Medication.code.coding:snomedct-medication-codes
Slice Name | snomedct-medication-codes
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 SNOMEDCTMedicationCodes (required to `http://hl7.org/fhir/ValueSet/medication-codes` ) 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
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()))
22. Medication.code.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 | 概念的文字表示法。[應填入學名 Generic Name]Plain text representation of the concept
Comments | 很多時候，此文字表述與其中一個代碼的顯示名稱相同。 Very often the text is the same as a displayName of one of the codings.
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
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()))
24. Medication.status
Definition | 此代碼指明藥品是否使用中 A code to indicate if the medication is in active use.
Short | active ｜ inactive ｜ entered-in-erroractive | inactive | entered-in-error
Comments | 此狀態是為了識別當地系統中的藥品是否在藥物資料庫或存貨為有效使用狀態。例如：一個藥局系統可能為一個複方產品 「ABC醫院專用藥膏」建立一個新的藥品檔案紀錄，狀態為有效。在未來的某個時間點，可能決定此藥品紀錄在建立時出現了錯誤，於是狀態被改為 「輸入錯誤 」。這種狀態不是為了說明某種藥品是否屬於某個特定的處方集。藥品紀錄有可能被多個處方集或編錄集所參照，每筆紀錄都會有一個單獨的狀態。 This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product "ABC Hospital Special Cream" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to "entered in error". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.
Control | 0..1
Binding | The codes SHALL be taken from Medication Status Codes http://hl7.org/fhir/ValueSet/medication-status|4.0.1 (required to `http://hl7.org/fhir/ValueSet/medication-status|4.0.1` ) 應填入所綁定值集中的其中一個代碼 A coded concept defining if the medication is in active use.
Type | code
Is Modifier | true because This element changes the interpretation of all descriptive attributes.
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()))
26. Medication.form
Definition | 描述藥品的劑型：藥粉、錠劑、膠囊。 Describes the form of the item. Powder; tablets; capsule.
Short | powder ｜ tablets ｜ capsule +此為SNOMED CT代碼，若機構已有購買相關授權，亦可使用。[應填入劑型 Dosage Form]powder | tablets | capsule +
Comments | 當藥品被MedicationRequest參照時，這是開立處方的劑型。當MedicationDispense中參用Medication時，這是配藥的劑型。當在MedicationAdministration中引用Medication時，這是給藥的劑型。 When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.
Control | 10..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see SNOMEDCTFormCodes http://hl7.org/fhir/ValueSet/medication-form-codes|4.0.1 (example to `http://hl7.org/fhir/ValueSet/medication-form-codes` ) 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 A coded concept defining the form of a medication.
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()))
28. Medication.form.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照 A reference to a code defined by a terminology system.
Short | powder ｜ tablets ｜ capsule + 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。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..* 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 `Medication.form.coding`. The slices areUnordered and Open, and can be differentiated using the following discriminators: pattern @ $this
30. Medication.form.coding:v3-orderableDrugForm
Slice Name | v3-orderableDrugForm
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
Binding | The codes SHALL be taken from For codes, see HL7 OrderableDrugForm藥品劑型值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/v3-orderableDrugForm` ) 應填入所綁定值集中的其中一個代碼
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()))
32. Medication.form.coding:snomed-sct-form-codes
Slice Name | snomed-sct-form-codes
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 | 0..1* This element is affected by the following invariants: ele-1
Binding | The codes SHALL be taken from For codes, see SNOMEDCTFormCodes (required to `http://hl7.org/fhir/ValueSet/medication-form-codes` ) 應填入所綁定值集中的其中一個代碼
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. Medication.form.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 | 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
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()))
36. Medication.ingredient
Definition | 指明產品中的特定成份 Identifies a particular constituent of interest in the product.
Short | 有使用或沒有使用的藥品成份Active or inactive ingredient
Comments | 成份不需要是一個完整的清單。如果沒有具體說明某種成份，這並不表明有使用或沒使用某種成份。如果一個成份被具體說明，並不意味著所有的成份都被具體說明。可以同時具體說明有沒有使用及有使用的成份。 The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.
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()))
38. Medication.ingredient.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())
40. Medication.ingredient.item[x]
Definition | 實際成份—不是一種物質（單一成份）就是一種藥品的另一種藥品。 The actual ingredient - either a substance (simple ingredient) or another medication of a medication.
Short | 實際的成份或內容物The actual ingredient or content
Control | 1..1
Type | Choice of: CodeableConcept(TW CodeableConcept), Reference(TW Core Medication, Substance, Substance, Medication)
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
Is Modifier | false
Summary | false
Requirements | 此成份可能是指一種物質（例如：阿莫西林）或另一種藥品（例如：複方葛蘭素史克）。 The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
42. Medication.ingredient.strength
Definition | 指明此藥品中有多少（或多少）項目。例如：每錠250毫克，這表示為一個比率，分子為250毫克，分母為1錠。 Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.
Short | 所含成份的劑量。[應填入藥品單位含量]Quantity of ingredient present
Control | 10..1
Type | Ratio
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. Medication
2. Medication.code
Short | 指明這種藥品的代碼。[應填入健保代碼與藥品商品名稱 Brand Name]，健保代碼(code)；商品名稱 Brand Name(display)。
Control | 1..?
4. Medication.code.text
Short | 概念的文字表示法。[應填入學名 Generic Name]
Control | 1..?
6. Medication.form
Short | powder ｜ tablets ｜ capsule +此為SNOMED CT代碼，若機構已有購買相關授權，亦可使用。[應填入劑型 Dosage Form]
Control | 1..?
8. Medication.form.text
Control | 1..?
10. Medication.ingredient
12. Medication.ingredient.strength
Short | 所含成份的劑量。[應填入藥品單位含量]
Control | 1..?
Must Support | true

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

0. Medication
Definition | 此resource主要用於識別和定義藥品，以便開立處方、配藥和給藥，以及對藥品使用進行說明。
Short | 藥品的定義
Control | 0..*
Is Modifier | false
Summary | false
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. Medication.id
Definition | resource的邏輯ID，在resource的URL中使用。一旦指定，這個值永遠不會改變。
Short | 不重複的ID用以識別儲存在特定FHIR Server中的Medication紀錄，通常又稱為邏輯性ID。
Comments | 一個resource使用新增操作（create operation）提交給伺服器時，此resource沒有id，它的id在resource被創建後由伺器分配/指定。
Control | 0..1
Type | id
Is Modifier | false
Summary | true
4. Medication.meta
Definition | 關於resource的metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與resource的版本更改相關聯。
Short | 此Medication Resource的metadata
Control | 0..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. Medication.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())`)
8. Medication.language
Definition | 編寫此resource的語言
Short | 用以表述Medication 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())`)
10. Medication.text
Definition | 人可讀的敘述，包含resource的摘要，可用於向人表述resource的內容。敘述不需要對所有的結構化資料進行編碼，但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource定義有哪些內容應該在敘述中表示，以確保臨床安全。
Short | Medication 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())`)
12. Medication.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
14. Medication.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()`)
16. Medication.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()`)
18. Medication.identifier
Definition | 此藥品的業務用識別碼
Short | 此藥品的業務用識別碼
Comments | 序號可被包含於一個識別碼
Note | This is a business identifier, not a resource identifier (see discussion)
Control | 0..*
Type | Identifier
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
20. Medication.code
Definition | 具體說明此藥品的一個代碼（或一組代碼），如果沒有代碼，則為文字描述。使用說明：這可以是一個標準的藥品代碼，如RxNorm、SNOMED CT、IDMP等的代碼。它也可以是一個國家或地方的處方藥代碼，可以選擇翻譯／交易（transactions）為其他代碼系統。
Short | 指明這種藥品的代碼。[應填入健保代碼與藥品商品名稱 Brand Name]，健保代碼(code)；商品名稱 Brand Name(display)。
Comments | 根據使用情境，實際由使用者（開立處方者、配藥者等）選擇的代碼將把coding.userSelected設置為true。正如coding datatype中所描述的。「如果使用者在使用者介面上選擇了特定的代碼值（例如：使用者在清單中選擇了一個項目），那麼coding可以被標記為 「userSelected」。如果存在一個使用者選擇的代碼，它是進行翻譯等的首選，其他代碼只能字面翻譯至替代的代碼系統或者較小精細度的代碼（例如：一個通用代碼用於一個供應商限定的代碼）。
Control | 1..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see SNOMEDCTMedicationCodes (example to `http://hl7.org/fhir/ValueSet/medication-codes` ) 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。
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())`)
22. Medication.code.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
24. Medication.code.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 `Medication.code.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
26. Medication.code.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | 由專門術語系統（terminology system）定義的代碼。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 0..* 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 `Medication.code.coding`. The slices areUnordered and Open, and can be differentiated using the following discriminators: pattern @ $this
28. Medication.code.coding:fda-medication-tw
Slice Name | fda-medication-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。
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 臺灣食藥署藥品及醫療器材代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-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())`)
30. Medication.code.coding:nhi-medication-tw
Slice Name | nhi-medication-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | 此為中央健康保險署(NHI)維護之藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
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 臺灣健保署用藥品項代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-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())`)
32. Medication.code.coding:nhi-medication-ch-herb-tw
Slice Name | nhi-medication-ch-herb-tw
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | 此為中央健康保險署(NHI)維護之中藥藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
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 臺灣健保署中藥用藥品項值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/nhi-medication-ch-herb-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())`)
34. Medication.code.coding:rxnorm-medication-us-core
Slice Name | rxnorm-medication-us-core
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | RxNorm為美國Unified Medical Language System®中的藥品代碼，取得UMLS®授權即可免費使用，可依情境選用此代碼。
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 RxNorm藥品代碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-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())`)
36. Medication.code.coding:atc-medication-code
Slice Name | atc-medication-code
Definition | 由專門術語系統（terminology system）所定義之代碼的參照。
Short | ATC代碼的版權為世界衛生組織（WHO）Collaborating Centre for Drug Statistics Methodology，可免費使用，可依情境選用此代碼。
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 臺灣食藥署藥品藥理治療分類ATC碼值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-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())`)
38. Medication.code.coding:snomedct-medication-codes
Slice Name | snomedct-medication-codes
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 SNOMEDCTMedicationCodes (required to `http://hl7.org/fhir/ValueSet/medication-codes` ) 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
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())`)
40. Medication.code.text
Definition | 輸入資料的使用者所見／所選／所說的人類可讀文字表述，和（或）其代表使用者的預期含義。
Short | 概念的文字表示法。[應填入學名 Generic Name]
Comments | 很多時候，此文字表述與其中一個代碼的顯示名稱相同。
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
Requirements | 專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義，或者根本就沒有合適的代碼；這些情況下，文字表述被用來捕捉來源的全部意義。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
42. Medication.status
Definition | 此代碼指明藥品是否使用中
Short | active ｜ inactive ｜ entered-in-error
Comments | 此狀態是為了識別當地系統中的藥品是否在藥物資料庫或存貨為有效使用狀態。例如：一個藥局系統可能為一個複方產品 「ABC醫院專用藥膏」建立一個新的藥品檔案紀錄，狀態為有效。在未來的某個時間點，可能決定此藥品紀錄在建立時出現了錯誤，於是狀態被改為 「輸入錯誤 」。這種狀態不是為了說明某種藥品是否屬於某個特定的處方集。藥品紀錄有可能被多個處方集或編錄集所參照，每筆紀錄都會有一個單獨的狀態。
Control | 0..1
Binding | The codes SHALL be taken from Medication Status Codes (required to `http://hl7.org/fhir/ValueSet/medication-status|4.0.1` ) 應填入所綁定值集中的其中一個代碼
Type | code
Is Modifier | true because This element changes the interpretation of all descriptive attributes.
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())`)
44. Medication.manufacturer
Definition | 描述藥品製造商的詳細訊息。這並不意味著代表藥品的經銷商。
Short | 此藥品的製造商
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())`)
46. Medication.form
Definition | 描述藥品的劑型：藥粉、錠劑、膠囊。
Short | powder ｜ tablets ｜ capsule +此為SNOMED CT代碼，若機構已有購買相關授權，亦可使用。[應填入劑型 Dosage Form]
Comments | 當藥品被MedicationRequest參照時，這是開立處方的劑型。當MedicationDispense中參用Medication時，這是配藥的劑型。當在MedicationAdministration中引用Medication時，這是給藥的劑型。
Control | 1..1 This element is affected by the following invariants: ele-1
Binding | For example codes, see SNOMEDCTFormCodes (example to `http://hl7.org/fhir/ValueSet/medication-form-codes` ) 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。
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())`)
48. Medication.form.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
50. Medication.form.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 `Medication.form.extension`. The slices areUnordered and Open, and can be differentiated using the following discriminators: value @ url
52. Medication.form.coding
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | powder ｜ tablets ｜ capsule + 此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。
Comments | 代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 必須沒有（SHALL NOT） 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。
Control | 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 `Medication.form.coding`. The slices areUnordered and Open, and can be differentiated using the following discriminators: pattern @ $this
54. Medication.form.coding:v3-orderableDrugForm
Slice Name | v3-orderableDrugForm
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
Binding | The codes SHALL be taken from HL7 OrderableDrugForm藥品劑型值集 (required to `https://twcore.mohw.gov.tw/ig/twcore/ValueSet/v3-orderableDrugForm` ) 應填入所綁定值集中的其中一個代碼
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())`)
56. Medication.form.coding:snomed-sct-form-codes
Slice Name | snomed-sct-form-codes
Definition | 由專門術語系統（terminology system）所定義之代碼的參照
Short | 由專門術語系統（terminology system）定義的代碼
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 SNOMEDCTFormCodes (required to `http://hl7.org/fhir/ValueSet/medication-form-codes` ) 應填入所綁定值集中的其中一個代碼
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())`)
58. Medication.form.text
Definition | 輸入資料的使用者所見／所選／所說的人類可讀文字表述，和（或）其代表使用者的預期含義。
Short | 概念的文字表示法
Comments | 很多時候，此文字表述與其中一個代碼的顯示名稱相同。
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
Requirements | 專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義，或者根本就沒有合適的代碼；這些情況下，文字表述被用來捕捉來源的全部意義。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
60. Medication.amount
Definition | 每包裝產品中藥品的具體數量或容量。例如：當指定一個具有相同強度的藥品時（例如：每毫升注射用胰島素100單位），該屬性提供了每包裝數量與容量的附加說明（例如：3mL、10mL等）。
Short | 每包裝的藥品數量或容量
Control | 0..1
Type | Ratio
Is Modifier | false
Summary | true
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
62. Medication.ingredient
Definition | 指明產品中的特定成份
Short | 有使用或沒有使用的藥品成份
Comments | 成份不需要是一個完整的清單。如果沒有具體說明某種成份，這並不表明有使用或沒使用某種成份。如果一個成份被具體說明，並不意味著所有的成份都被具體說明。可以同時具體說明有沒有使用及有使用的成份。
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())`)
64. Medication.ingredient.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
66. Medication.ingredient.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()`)
68. Medication.ingredient.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()`)
70. Medication.ingredient.item[x]
Definition | 實際成份—不是一種物質（單一成份）就是一種藥品的另一種藥品。
Short | 實際的成份或內容物
Control | 1..1
Type | Choice of: CodeableConcept(TW CodeableConcept), Reference(TW Core Medication, Substance)
[x] Note | SeeChoice of Data Typesfor further information about how to use [x]
Is Modifier | false
Summary | false
Requirements | 此成份可能是指一種物質（例如：阿莫西林）或另一種藥品（例如：複方葛蘭素史克）。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
72. Medication.ingredient.isActive
Definition | 說明此成份是否會影響藥物的治療作用
Short | 有效成份指標
Control | 0..1
Type | boolean
Is Modifier | false
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
Summary | false
Requirements | True表示此成份會影響藥物的治療作用（意即：active），False表示此成份不影響藥物的治療作用（意即：inactive）。
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
74. Medication.ingredient.strength
Definition | 指明此藥品中有多少（或多少）項目。例如：每錠250毫克，這表示為一個比率，分子為250毫克，分母為1錠。
Short | 所含成份的劑量。[應填入藥品單位含量]
Control | 1..1
Type | Ratio
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. Medication.batch
Definition | 只適用於包裝（不是產品）的資訊
Short | 關於包裝藥品的細節
Control | 0..1
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())`)
78. Medication.batch.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
80. Medication.batch.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()`)
82. Medication.batch.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. Medication.batch.lotNumber
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
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`)
86. Medication.batch.expirationDate
Definition | 此批號藥品之有效期限
Short | 有效期限
Control | 0..1
Type | dateTime
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())`)