電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build

This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: Extension-給藥總日份

Official URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration Version: 0.1.0
Draft as of 2023-10-30 Computable Name: ExtensionTotalDuration

用於表示給藥總日份 Total Medication Days

Context of Use

This extension may be used on the following element(s):

  • Element ID MedicationRequest

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Simple Extension of type Quantity: 用於表示給藥總日份 Total Medication Days

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension 擴充的資料項目。[應填入給藥總日份 Total Medication Days]
... url 1..1 uri "https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration"
... value[x] S 1..1 Quantity Value of extension
.... value S 1..1 decimal Numerical value (with implicit precision)
.... unit S 0..1 string Unit representation

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension 擴充的資料項目。[應填入給藥總日份 Total Medication Days]
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration"
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit SΣ 0..1 string Unit representation
.... system ΣC 0..1 uri System that defines coded unit form
.... code Σ 0..1 code Coded form of the unit

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type Quantity: 用於表示給藥總日份 Total Medication Days

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension 擴充的資料項目。[應填入給藥總日份 Total Medication Days]
... url 1..1 uri "https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration"
... value[x] S 1..1 Quantity Value of extension
.... value S 1..1 decimal Numerical value (with implicit precision)
.... unit S 0..1 string Unit representation

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension S 0..* Extension 擴充的資料項目。[應填入給藥總日份 Total Medication Days]
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration"
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numerical value (with implicit precision)
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit SΣ 0..1 string Unit representation
.... system ΣC 0..1 uri System that defines coded unit form
.... code Σ 0..1 code Coded form of the unit

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.value[x].comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()