臺灣電子處方箋與調劑單張實作指引(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
| Official URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration | Version: 0.2.0 | |||
| Active as of 2026-06-16 | Computable Name: ExtensionTotalDuration | |||
用於表示給藥總日份 Total Medication Days
Context of Use
This extension may be used on the following element(s)
MedicationRequest
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
S | 0..* | Extension | 擴充的資料項目。[應填入給藥總日份 Total Medication Days] |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration" | |
![]() ![]() |
S | 1..1 | Quantity | Value of extension |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 0..1 | string | Unit representation |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
S | 0..* | Extension | 擴充的資料項目。[應填入給藥總日份 Total Medication Days] |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration" | |
![]() ![]() |
S | 1..1 | Quantity | Value of extension |
![]() ![]() ![]() |
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 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit |
Documentation for this format | ||||
This structure is derived from Extension
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
S | 0..* | Extension | 擴充的資料項目。[應填入給藥總日份 Total Medication Days] |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration" | |
![]() ![]() |
S | 1..1 | Quantity | Value of extension |
![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
S | 0..1 | string | Unit representation |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
S | 0..* | Extension | 擴充的資料項目。[應填入給藥總日份 Total Medication Days] |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration" | |
![]() ![]() |
S | 1..1 | Quantity | Value of extension |
![]() ![]() ![]() |
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 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
ΣC | 0..1 | uri | System that defines coded unit form |
![]() ![]() ![]() |
Σ | 0..1 | code | Coded form of the unit |
Documentation for this format | ||||
This structure is derived from Extension
Other representations of profile: CSV, Excel, Schematron
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x].comparator | Base | required | QuantityComparator | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|