臺灣電子處方箋與調劑單張實作指引(TW EMPD IG)
0.2.1 - ci-build
臺灣電子處方箋與調劑單張實作指引(TW EMPD IG), published by NHI. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/empd/ and changes regularly. See the Directory of published versions
| Official URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-Self-EMPD | Version: 0.2.1 | |||
| Active as of 2026-05-26 | Computable Name: MedicationSelfEMPD | |||
Copyright/Legal: 衛生福利部 |
||||
此Profile用於描述電子處方箋與調劑單張中之健保代碼欄位。
本Profile之Medication.code用於承載電子處方箋與調劑單張中之健保代碼。
一、無健保代碼之藥品:
(一)、為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」,填入許可證字號(共12~14碼)。
(二)、無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼(共10碼)。
二、無健保代碼之特材:
依下列說明編碼 (共12碼):
第 1-2 碼:依現行特材代碼前 2 碼編碼原則 (2碼),請參照「全民健保特殊材料品項分類代碼編訂原則」。
第 3 碼:半形大寫「 Z 」 (1 碼)。
第 4-9 碼:許可證號 (6 碼)。
第 10-12 碼:流水號 (3 碼) 。
本Profile中健保代碼之藥品與特材編碼僅提供參考。
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之藥品名稱 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之特材名稱 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | error | Medication | 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 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 |
![]() ![]() |
S | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] |
![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | 無健保代碼之藥品名稱 |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | 無健保代碼之特材名稱 |
![]() ![]() ![]() |
S | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之藥品名稱 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之特材名稱 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | |||||
![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | The actual ingredient or content | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Quantity of ingredient present | |||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | error | Medication | 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 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
This structure is derived from Medication
Summary
Mandatory: 2 elements(4 nested mandatory elements)
Must-Support: 11 elements
Fixed: 2 elements
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. |
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之藥品名稱 |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之特材名稱 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | error | Medication | 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 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
Differential View
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 |
![]() ![]() |
S | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] |
![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | 無健保代碼之藥品名稱 |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | 無健保代碼之特材名稱 |
![]() ![]() ![]() |
S | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Medication | Definition of a Medication Constraints: med-self-1, med-self-2, med-self-3 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | 健保代碼。[無健保代碼之藥品或特材,請依規定暫編碼並填寫對應代碼系統] Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之藥品暫編碼 Binding: 自費藥物值集 (example): 值集僅提供參考,請依規定自行編碼。 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之藥品代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之藥品暫編碼。[如為主管機關核准發給之藥品,請參照「藥品許可證類別資料標準」填入許可證字號(共12~14碼);無上開藥品許可證字號,請以999999+流水號4碼(流水號由院所自訂)編碼 (共10碼)] | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之藥品名稱 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | 無健保代碼之特材健保代碼暫編碼 Binding: 無健保代碼之特材值集 (example): 值集僅提供參考,請依規定自行編碼。 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 無健保代碼之特材代碼系統。[請固定填寫此代碼系統] Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 無健保代碼之特材暫編碼。[第 1-2 碼依現行特材代碼前 2 碼編碼原則 (2碼) + 第 3 碼為 半形大寫「 Z 」 (1 碼) + 第 4-9 碼為許可證號 (6 碼) + 第 10-12 碼為流水號 (3 碼)] | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 無健保代碼之特材名稱 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 健保代碼對應之品項名稱。[全民健保已收載及列項之特材,沿用本署全民健康保險藥物給付項目及支付標準特材中英文名稱,非健保已收載醫材,請填列醫療器材許可證中英文名稱] | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | |||||
![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | The actual ingredient or content | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Quantity of ingredient present | |||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.code.coding:nonNHIMedication | Base | example | 自費藥物值集 | 📦0.2.1 | This IG |
| Medication.code.coding:nonNHIMaterial | Base | example | 無健保代碼之特材值集 | 📦0.2.1 | This IG |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | error | Medication | 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 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| med-self-1 | error | Medication | Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()
|
| med-self-2 | error | Medication | 無健保代碼之藥品暫編碼須符合編碼規則:藥品許可證字號長度為12~14碼,或999999+流水號4碼(共10碼) |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').all(code.matches('^999999[0-9]{4}$') or (code.length() >= 12 and code.length() <= 14))
|
| med-self-3 | error | Medication | 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼為特材代碼前2碼、第3碼為半形大寫 Z、第4-9碼為許可證號、第10-12碼為流水號 |
code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').empty() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^[A-Z]{2}[Z].{6}[0-9]{3}$'))
|
This structure is derived from Medication
Summary
Mandatory: 2 elements(4 nested mandatory elements)
Must-Support: 11 elements
Fixed: 2 elements
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron