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

臺灣電子處方箋與調劑單張實作指引(TW EMPD IG), published by NHI. This guide is not an authorized publication; it is the continuous build for version 0.2.0 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

Resource Profile: 電子處方箋與調劑單張-無健保代碼之藥品與特材(Medication)

Official URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-Self-EMPD Version: 0.2.0
Active as of 2026-05-26 Computable Name: MedicationSelfEMPD

Copyright/Legal: 衛生福利部

此Profile用於描述電子處方箋與調劑單張中之健保代碼欄位。

本Profile之Medication.code用於承載電子處方箋與調劑單張中之健保代碼。若品項具有正式健保代碼,應填入正式健保代碼;若為無健保代碼之藥品,應使用本IG定義之無健保代碼藥品暫編碼,其代碼格式為999999加流水號4碼,流水號由院所自訂;若為無健保代碼之特材,應使用本IG定義之無健保代碼特材暫編碼,其代碼格式為99999999加流水號4碼,流水號由院所自訂。

本Profile中健保代碼之藥品與特材編碼僅提供參考。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication SΣ 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... system SΣ 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... code SΣ 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display SΣ 0..1 string 無健保代碼之藥品名稱
..... coding:nonNHIMaterial SΣ 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... system SΣ 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... code SΣ 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display SΣ 0..1 string 無健保代碼之特材名稱
.... text SΣ 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]

doco Documentation for this format

Terminology Bindings

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.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

Constraints

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()

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... code S 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication S 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... system S 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... code S 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display S 0..1 string 無健保代碼之藥品名稱
..... coding:nonNHIMaterial S 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... system S 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... code S 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display S 0..1 string 無健保代碼之特材名稱
.... text S 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code.coding:nonNHIMedication Base example 自費藥物值集 📦0.2.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 This IG

Constraints

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()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code SΣ 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication SΣ 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display SΣ 0..1 string 無健保代碼之藥品名稱
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:nonNHIMaterial SΣ 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display SΣ 0..1 string 無健保代碼之特材名稱
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

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.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 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.

Constraints

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()

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:

  • The element 1 is sliced based on the value of Medication.code.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code SΣ 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication SΣ 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... system SΣ 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... code SΣ 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display SΣ 0..1 string 無健保代碼之藥品名稱
..... coding:nonNHIMaterial SΣ 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... system SΣ 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... code SΣ 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display SΣ 0..1 string 無健保代碼之特材名稱
.... text SΣ 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]

doco Documentation for this format

Terminology Bindings

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.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 This IG
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

Constraints

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()

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... code S 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
.... Slices for coding S 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication S 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... system S 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... code S 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display S 0..1 string 無健保代碼之藥品名稱
..... coding:nonNHIMaterial S 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... system S 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... code S 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display S 0..1 string 無健保代碼之特材名稱
.... text S 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code.coding:nonNHIMedication Base example 自費藥物值集 📦0.2.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 This IG

Constraints

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication C 0..* Medication Definition of a Medication
Constraints: med-self-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code SΣ 1..1 CodeableConcept 健保代碼。[應填入正式健保代碼;若為無健保代碼之藥品,應填入999999加流水號4碼;若為無健保代碼之特材,應填入99999999加流水號4碼]
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:nonNHIMedication SΣ 0..1 Coding 無健保代碼之藥品健保代碼暫編碼
Binding: 自費藥物值集 (example): NonNHIMedication值集僅提供參考。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 無健保代碼之藥品健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼,例如9999990001。
...... display SΣ 0..1 string 無健保代碼之藥品名稱
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:nonNHIMaterial SΣ 0..1 Coding 無健保代碼之特材健保代碼暫編碼
Binding: 無健保代碼之特材值集 (example): nonNHIMaterial值集僅提供參考。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri 無健保代碼之特材健保代碼暫編碼CodeSystem
Fixed Value: https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code 無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼,例如999999990001。
...... display SΣ 0..1 string 無健保代碼之特材名稱
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string 健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

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.0 This IG
Medication.code.coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.0 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.

Constraints

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()

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:

  • The element 1 is sliced based on the value of Medication.code.coding

 

Other representations of profile: CSV, Excel, Schematron