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

臺灣電子處方箋與調劑單張實作指引(TW EMPD IG), published by 衛生福利部中央健康保險署. 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

Resource Profile: 電子處方箋-處方內容(MedicationRequest)

Official URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationRequest-EMPD Version: 0.2.1
Active as of 2026-10-21 Computable Name: MedicationRequestEMPD

此Profile繼承於臺灣核心-藥品處方(TW Core MedicationRequest),並用於描述電子處方箋的處方內容[FMM1]

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: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays This element must be supported. 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.extension 0..0 Extension
Slice: Unordered, Open by value:url
MedicationRequest.Slices for extension.extension:TotalMedicationDays.url 1..1 uri "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration"
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] This element must be supported. 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationRequest.Slices for identifier This element must be supported. 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋單號 Prescription No.]
Example General: 123456
Max Length:64
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋項次 Item]
Example General: 123456
Max Length:2
MedicationRequest.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼
MedicationRequest.Slices for category This element must be supported. 3..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for category.category:typesOfPrescription This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean 如果藥品請求是禁止活動,則為真。
MedicationRequest.Slices for medication[x] This element must be supported. This element is included in summaries. 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.Slices for medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. This element is included in summaries. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMEDCTMedicationCodes (example)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)

Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 無健保代碼之特材名稱
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
MedicationRequest.subject This element must be supported. This element is included in summaries. 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.encounter This element must be supported. 0..1 Reference(TW Core Encounter) 連結至一個或一組即將給予藥品的人
MedicationRequest.authoredOn This element must be supported. This element is included in summaries. 0..1 dateTime 藥品請求請求最初何時被撰寫?
MedicationRequest.requester This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) 誰/什麼提出藥品請求請求?
MedicationRequest.reasonReference This element must be supported. 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.note This element must be supported. 0..* Annotation 關於處方的資訊
MedicationRequest.dosageInstruction This element must be supported. 0..* Dosage 應該如何用藥
MedicationRequest.dosageInstruction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.text This element must be supported. This element is included in summaries. 0..1 string 純文字表述的劑量指示,例如:SIG。
MedicationRequest.dosageInstruction.timing This element must be supported. This element is included in summaries. 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.timing.repeat This element is included in summaries. C 0..1 Element 事件定期重複發生的時間
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. This element is included in summaries. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text This element must be supported. This element is included in summaries. 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.route This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字標記法
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.method.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.dosageInstruction.method.text This element must be supported. This element is included in summaries. 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. This element is included in summaries. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. This element is included in summaries. 0..1 每一劑量的藥量
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseRange Range
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dispenseRequest This element must be supported. 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.validityPeriod This element must be supported. 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed This element must be supported. 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. C 1..1 SimpleQuantity 每次配藥的藥品(數)量
Constraints: sqty-1
MedicationRequest.dispenseRequest.quantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.expectedSupplyDuration This element must be supported. 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.value This element is included in summaries. 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit This element is included in summaries. 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system This element is included in summaries. C 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code This element is included in summaries. 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 為什麼要(不)進行替換
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.reason.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.substitution.reason.text This element must be supported. This element is included in summaries. 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.identifier:PrescriptionNo.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​method Base extensible SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.
MedicationRequest.dispenseRequest.​expectedSupplyDuration.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 MedicationRequest 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 MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest 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())
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error MedicationRequest.dosageInstruction.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationRequest.dosageInstruction.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationRequest.dosageInstruction.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationRequest.dosageInstruction.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationRequest.dosageInstruction.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationRequest.dosageInstruction.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationRequest.dosageInstruction.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationRequest.dosageInstruction.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error MedicationRequest.dosageInstruction.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from TWCoreMedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.Slices for identifier 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element must be supported. 1..1 code usual | official | temp | secondary | old (If known)
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. 1..1 string [應填入處方箋單號 Prescription No.]
Max Length:64
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.use This element must be supported. 1..1 code usual | official | temp | secondary | old (If known)
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. 1..1 string [應填入處方箋項次 Item]
Max Length:2
MedicationRequest.status 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.Slices for category.category:typesOfPrescription 1..1 CodeableConceptTW [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType 1..1 CodeableConceptTW [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus 1..1 CodeableConceptTW [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.medication[x] 1..1 服用的藥品。
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x] Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:fda-medication-tw 0..0 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nhi-medication-tw 0..0 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nhi-medication-ch-herb-tw 0..0 此為中央健康保險署(NHI)維護之中藥藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:rxnorm-medication-us-core 0..0 RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:atc-medication-code 0..0 ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:snomedct-medication-codes 0..0 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)
Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display 0..1 string 無健保代碼之特材名稱
MedicationRequest.subject 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.dosageInstruction
MedicationRequest.dosageInstruction.timing 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.repeat
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.code 1..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.coding 1..* CodingTW 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.route 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
MedicationRequest.dosageInstruction.method.text 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. 0..1 Range, SimpleQuantity 每一劑量的藥量
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. 0..1 SimpleQuantity 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dispenseRequest 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.validityPeriod 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. 1..1 SimpleQuantity 每次配藥的藥品(數)量
MedicationRequest.dispenseRequest.quantity.value This element must be supported. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.value 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 boolean, CodeableConceptTW 是否允許替換
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW 為什麼要(不)進行替換
MedicationRequest.substitution.reason.text 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())
NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄,通常又稱為邏輯性ID。
MedicationRequest.meta This element is included in summaries. 0..1 Meta 此MedicationRequest Resource的metadata
MedicationRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
MedicationRequest.language 0..1 code 用以表述MedicationRequest Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
MedicationRequest.text 0..1 Narrative MedicationRequest Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationRequest.contained 0..* Resource Contained, inline Resources
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays This element must be supported. 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for extension.extension:TotalMedicationDays.extension 0..0 Extension
Slice: Unordered, Open by value:url
MedicationRequest.Slices for extension.extension:TotalMedicationDays.url 1..1 uri "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration"
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] This element must be supported. 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationRequest.Slices for identifier This element must be supported. 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋單號 Prescription No.]
Example General: 123456
Max Length:64
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for identifier.identifier:Item.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.Slices for identifier.identifier:Item.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
MedicationRequest.Slices for identifier.identifier:Item.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋項次 Item]
Example General: 123456
Max Length:2
MedicationRequest.Slices for identifier.identifier:Item.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
MedicationRequest.Slices for identifier.identifier:Item.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
MedicationRequest.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.statusReason 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 當前狀態的原因
Binding: medicationRequest Status Reason Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼
MedicationRequest.Slices for category This element must be supported. 3..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for category.category:typesOfPrescription This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): 應填入RequestPriority值集中的其中一個代碼
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean 如果藥品請求是禁止活動,則為真。
MedicationRequest.reported[x] This element is included in summaries. 0..1 被報告的而不是主要的紀錄
MedicationRequest.reported[x].reportedBoolean boolean
MedicationRequest.reported[x].reportedReference Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Organization)
MedicationRequest.Slices for medication[x] This element must be supported. This element is included in summaries. 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.Slices for medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. This element is included in summaries. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMEDCTMedicationCodes (example)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)

Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 無健保代碼之特材名稱
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
MedicationRequest.subject This element must be supported. This element is included in summaries. 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.encounter This element must be supported. 0..1 Reference(TW Core Encounter) 連結至一個或一組即將給予藥品的人
MedicationRequest.supportingInformation 0..* Reference(Resource) 任何與藥品請求相關的補充資訊
MedicationRequest.authoredOn This element must be supported. This element is included in summaries. 0..1 dateTime 藥品請求請求最初何時被撰寫?
MedicationRequest.requester This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) 誰/什麼提出藥品請求請求?
MedicationRequest.performer 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson | TW Core CareTeam) 預期的給藥執行者
MedicationRequest.performerType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 所需的給藥執行者種類
Binding: ProcedurePerformerRoleCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.recorder 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole) 輸入藥品請求請求的人
MedicationRequest.reasonCode 0..* CodeableConcept 開立醫令或不開立醫令的原因或指示
Binding: Condition/Problem/DiagnosisCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.reasonReference This element must be supported. 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
MedicationRequest.instantiatesCanonical This element is included in summaries. 0..* canonical() 實例化FHIR計畫書(protocol)或定義
MedicationRequest.instantiatesUri This element is included in summaries. 0..* uri 實例化外部計畫書(protocol)或定義
MedicationRequest.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan | TW Core MedicationRequest | TW Core ServiceRequest | ImmunizationRecommendation) 此MedicationRquest是基於什麼而履行?
MedicationRequest.groupIdentifier This element is included in summaries. 0..1 Identifier 此為綜合請求的一部分
MedicationRequest.courseOfTherapyType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 給藥的整體模式
Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.note This element must be supported. 0..* Annotation 關於處方的資訊
MedicationRequest.dosageInstruction This element must be supported. 0..* Dosage 應該如何用藥
MedicationRequest.dosageInstruction.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.sequence This element is included in summaries. 0..1 integer 劑量指示的順序
MedicationRequest.dosageInstruction.text This element must be supported. This element is included in summaries. 0..1 string 純文字表述的劑量指示,例如:SIG。
MedicationRequest.dosageInstruction.additionalInstruction 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對病人的補充指示或警告-例如:「隨餐服用」,「可能引起嗜睡」
Binding: SNOMEDCTAdditionalDosageInstructions (extensible): 一個編碼的概念,確定額外的指示,如「與水一起服用」或「避免操作重型機器」;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.patientInstruction This element is included in summaries. 0..1 string 以病人或消費者為導向的指示
MedicationRequest.dosageInstruction.timing This element must be supported. This element is included in summaries. 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.timing.event This element is included in summaries. 0..* dateTime 事件發生的時間
MedicationRequest.dosageInstruction.timing.repeat This element is included in summaries. C 0..1 Element 事件定期重複發生的時間
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
MedicationRequest.dosageInstruction.timing.repeat.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.repeat.bounds[x] This element is included in summaries. 0..1 時間或期間長度/長度範圍,或(開始和/或結束)限制
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsDuration Duration
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsRange Range
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsPeriod Period
MedicationRequest.dosageInstruction.timing.repeat.count This element is included in summaries. 0..1 positiveInt 重複的次數
MedicationRequest.dosageInstruction.timing.repeat.countMax This element is included in summaries. 0..1 positiveInt 重複的最大次數
MedicationRequest.dosageInstruction.timing.repeat.duration This element is included in summaries. 0..1 decimal 此事件持續多久時間
MedicationRequest.dosageInstruction.timing.repeat.durationMax This element is included in summaries. 0..1 decimal 此事件持續多久時間 (最長時間/最大值)
MedicationRequest.dosageInstruction.timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - 單位時間 (unit of time,UCUM)
Binding: UnitsOfTime (required): 時間的單位(單位來自UCUM);應填入UnitsOfTime值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. This element is included in summaries. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt 此事件於每一期間的最大發生頻率
MedicationRequest.dosageInstruction.timing.repeat.period This element is included in summaries. 0..1 decimal 此事件於特定時間區間所發生的頻率
MedicationRequest.dosageInstruction.timing.repeat.periodMax This element is included in summaries. 0..1 decimal 時間區間的上限(3-4小時)
MedicationRequest.dosageInstruction.timing.repeat.periodUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - 單位時間 (unit of time,UCUM)
Binding: UnitsOfTime (required): 時間的單位(單位來自UCUM);應填入UnitsOfTime值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): 應填入DaysOfWeek值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.timeOfDay This element is included in summaries. 0..* time 一天中的活動時間
MedicationRequest.dosageInstruction.timing.repeat.when This element is included in summaries. 0..* code 事件發生的時間區間之代碼
Binding: EventTiming (required): 與時程表有關的真實世界事件;應填入EventTiming值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.offset This element is included in summaries. 0..1 unsignedInt 事件的分鐘數(之前或之後)
MedicationRequest.dosageInstruction.timing.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.timing.code.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.code.coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text This element must be supported. This element is included in summaries. 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.asNeeded[x] This element is included in summaries. 0..1 「根據(對x的)需要」服用 Binding:一個編碼概念,指明在服用或用藥之前應滿足或評估的先決條件。例如:「疼痛」、「性行為前30分鐘」、「發作時」等;可參考SNOMEDCTMedicationAsNeededReasonCodes值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Binding: SNOMEDCTMedicationAsNeededReasonCodes (extensible): 一個編碼概念,指明在服用或用藥之前應滿足或評估的先決條件。例如:「疼痛」、「性行為前30分鐘」、「發作時」等;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.asNeeded[x].asNeededBoolean boolean
MedicationRequest.dosageInstruction.asNeeded[x].asNeededCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.dosageInstruction.site 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥之身體部位
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (extensible): 一個編碼概念,描述藥品進入或在身體上的位置;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.route This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.route.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.route.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字標記法
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.method.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.method.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.method.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.dosageInstruction.method.text This element must be supported. This element is included in summaries. 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. This element is included in summaries. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.doseAndRate.type 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 特定劑量或比率種類
Binding: DoseAndRateType (example): 可參考DoseAndRateType值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. This element is included in summaries. 0..1 每一劑量的藥量
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseRange Range
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.system This element is included in summaries. C 0..1 uri System that defines coded unit form
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.code This element is included in summaries. 0..1 code Coded form of the unit
MedicationRequest.dosageInstruction.doseAndRate.rate[x] This element is included in summaries. 0..1 每時間單位內的用藥量
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateRatio Ratio
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateRange Range
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.maxDosePerPeriod This element is included in summaries. 0..1 Ratio 每時間單位內用藥的上限
MedicationRequest.dosageInstruction.maxDosePerAdministration This element is included in summaries. C 0..1 SimpleQuantity 每次用藥的上限
Constraints: sqty-1
MedicationRequest.dosageInstruction.maxDosePerLifetime This element is included in summaries. C 0..1 SimpleQuantity 病人一生中用藥的上限
Constraints: sqty-1
MedicationRequest.dispenseRequest This element must be supported. 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill 0..1 BackboneElement 首次依照處方配藥的細節
MedicationRequest.dispenseRequest.initialFill.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.initialFill.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.initialFill.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill.quantity C 0..1 SimpleQuantity 首次配藥的數量
Constraints: sqty-1
MedicationRequest.dispenseRequest.initialFill.duration 0..1 Duration 首次配藥的持續時間
MedicationRequest.dispenseRequest.dispenseInterval 0..1 Duration 前後兩次配藥的最短時間間隔
MedicationRequest.dispenseRequest.validityPeriod This element must be supported. 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed This element must be supported. 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. C 1..1 SimpleQuantity 每次配藥的藥品(數)量
Constraints: sqty-1
MedicationRequest.dispenseRequest.quantity.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.quantity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dispenseRequest.quantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.quantity.system This element is included in summaries. C 0..1 uri System that defines coded unit form
MedicationRequest.dispenseRequest.quantity.code This element is included in summaries. 0..1 code Coded form of the unit
MedicationRequest.dispenseRequest.expectedSupplyDuration This element must be supported. 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.expectedSupplyDuration.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dispenseRequest.expectedSupplyDuration.value This element is included in summaries. 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit This element is included in summaries. 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system This element is included in summaries. C 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code This element is included in summaries. 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.performer 0..1 Reference(TW Core Organization) 預定的配藥人員
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.id 0..1 string Unique id for inter-element referencing
MedicationRequest.substitution.extension 0..* Extension Additional content defined by implementations
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 為什麼要(不)進行替換
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.reason.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.substitution.reason.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.substitution.reason.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.substitution.reason.text This element must be supported. This element is included in summaries. 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800
MedicationRequest.priorPrescription 0..1 Reference(TW Core MedicationRequest) 正被替換的醫令/處方
MedicationRequest.detectedIssue 0..* Reference(DetectedIssue) 活動的臨床問題
MedicationRequest.eventHistory 0..* Reference(TW Core Provenance) 生命週期中感興趣的事件清單

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationRequest.identifier:PrescriptionNo.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:PrescriptionNo.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.performerType Base extensible Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base extensible Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base extensible SNOMED CT Additional Dosage Instructions 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.when Base required EventTiming 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​asNeeded[x] Base extensible SNOMED CT Medication As Needed Reason Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​site Base extensible SNOMED CT Anatomical Structure for Administration Site Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​method Base extensible SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📦4.0.1 FHIR Std.
MedicationRequest.dispenseRequest.​expectedSupplyDuration.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 MedicationRequest 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 MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest 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())
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error MedicationRequest.dosageInstruction.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationRequest.dosageInstruction.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationRequest.dosageInstruction.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationRequest.dosageInstruction.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationRequest.dosageInstruction.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationRequest.dosageInstruction.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationRequest.dosageInstruction.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationRequest.dosageInstruction.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error MedicationRequest.dosageInstruction.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from TWCoreMedicationRequest

Summary

Mandatory: 18 elements(13 nested mandatory elements)
Must-Support: 25 elements
Prohibited: 6 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier (Closed)
  • The element 1 is sliced based on the value of MedicationRequest.category
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays This element must be supported. 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.extension 0..0 Extension
Slice: Unordered, Open by value:url
MedicationRequest.Slices for extension.extension:TotalMedicationDays.url 1..1 uri "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration"
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] This element must be supported. 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationRequest.Slices for identifier This element must be supported. 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋單號 Prescription No.]
Example General: 123456
Max Length:64
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋項次 Item]
Example General: 123456
Max Length:2
MedicationRequest.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼
MedicationRequest.Slices for category This element must be supported. 3..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for category.category:typesOfPrescription This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean 如果藥品請求是禁止活動,則為真。
MedicationRequest.Slices for medication[x] This element must be supported. This element is included in summaries. 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.Slices for medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. This element is included in summaries. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMEDCTMedicationCodes (example)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)

Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 無健保代碼之特材名稱
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
MedicationRequest.subject This element must be supported. This element is included in summaries. 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.encounter This element must be supported. 0..1 Reference(TW Core Encounter) 連結至一個或一組即將給予藥品的人
MedicationRequest.authoredOn This element must be supported. This element is included in summaries. 0..1 dateTime 藥品請求請求最初何時被撰寫?
MedicationRequest.requester This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) 誰/什麼提出藥品請求請求?
MedicationRequest.reasonReference This element must be supported. 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.note This element must be supported. 0..* Annotation 關於處方的資訊
MedicationRequest.dosageInstruction This element must be supported. 0..* Dosage 應該如何用藥
MedicationRequest.dosageInstruction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.text This element must be supported. This element is included in summaries. 0..1 string 純文字表述的劑量指示,例如:SIG。
MedicationRequest.dosageInstruction.timing This element must be supported. This element is included in summaries. 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.timing.repeat This element is included in summaries. C 0..1 Element 事件定期重複發生的時間
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. This element is included in summaries. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text This element must be supported. This element is included in summaries. 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.route This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字標記法
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.method.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.dosageInstruction.method.text This element must be supported. This element is included in summaries. 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. This element is included in summaries. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. This element is included in summaries. 0..1 每一劑量的藥量
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseRange Range
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dispenseRequest This element must be supported. 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.validityPeriod This element must be supported. 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed This element must be supported. 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. C 1..1 SimpleQuantity 每次配藥的藥品(數)量
Constraints: sqty-1
MedicationRequest.dispenseRequest.quantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.expectedSupplyDuration This element must be supported. 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.value This element is included in summaries. 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit This element is included in summaries. 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system This element is included in summaries. C 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code This element is included in summaries. 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 為什麼要(不)進行替換
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.reason.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.substitution.reason.text This element must be supported. This element is included in summaries. 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.identifier:PrescriptionNo.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​method Base extensible SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.
MedicationRequest.dispenseRequest.​expectedSupplyDuration.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 MedicationRequest 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 MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest 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())
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error MedicationRequest.dosageInstruction.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationRequest.dosageInstruction.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationRequest.dosageInstruction.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationRequest.dosageInstruction.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationRequest.dosageInstruction.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationRequest.dosageInstruction.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationRequest.dosageInstruction.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationRequest.dosageInstruction.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error MedicationRequest.dosageInstruction.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Differential View

This structure is derived from TWCoreMedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.Slices for identifier 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element must be supported. 1..1 code usual | official | temp | secondary | old (If known)
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. 1..1 string [應填入處方箋單號 Prescription No.]
Max Length:64
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.use This element must be supported. 1..1 code usual | official | temp | secondary | old (If known)
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. 1..1 string [應填入處方箋項次 Item]
Max Length:2
MedicationRequest.status 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.Slices for category 3..* CodeableConceptTW 用藥型別
Slice: Unordered, Open by pattern:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for category.category:typesOfPrescription 1..1 CodeableConceptTW [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType 1..1 CodeableConceptTW [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus 1..1 CodeableConceptTW [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.medication[x] 1..1 服用的藥品。
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x] Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:fda-medication-tw 0..0 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nhi-medication-tw 0..0 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nhi-medication-ch-herb-tw 0..0 此為中央健康保險署(NHI)維護之中藥藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:rxnorm-medication-us-core 0..0 RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:atc-medication-code 0..0 ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:snomedct-medication-codes 0..0 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)
Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display 0..1 string 無健保代碼之特材名稱
MedicationRequest.subject 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.dosageInstruction
MedicationRequest.dosageInstruction.timing 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.repeat
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.code 1..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.coding 1..* CodingTW 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.route 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
MedicationRequest.dosageInstruction.method.text 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. 0..1 Range, SimpleQuantity 每一劑量的藥量
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. 0..1 SimpleQuantity 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dispenseRequest 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.validityPeriod 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. 1..1 SimpleQuantity 每次配藥的藥品(數)量
MedicationRequest.dispenseRequest.quantity.value This element must be supported. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.value 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 boolean, CodeableConceptTW 是否允許替換
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW 為什麼要(不)進行替換
MedicationRequest.substitution.reason.text 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest C 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
Constraints: empd-ord-1, empd-medreq-2, empd-medreq-3, empd-medreq-4, empd-medreq-5, empd-medreq-6
MedicationRequest.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄,通常又稱為邏輯性ID。
MedicationRequest.meta This element is included in summaries. 0..1 Meta 此MedicationRequest Resource的metadata
MedicationRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
MedicationRequest.language 0..1 code 用以表述MedicationRequest Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
MedicationRequest.text 0..1 Narrative MedicationRequest Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationRequest.contained 0..* Resource Contained, inline Resources
MedicationRequest.Slices for extension This element must be supported. 1..1 Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for extension.extension:TotalMedicationDays This element must be supported. 1..1 (Complex) 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration
MedicationRequest.Slices for extension.extension:TotalMedicationDays.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for extension.extension:TotalMedicationDays.extension 0..0 Extension
Slice: Unordered, Open by value:url
MedicationRequest.Slices for extension.extension:TotalMedicationDays.url 1..1 uri "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration"
MedicationRequest.Slices for extension.extension:TotalMedicationDays.value[x] This element must be supported. 1..1 positiveInt Value of extension
Max Value: 999
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
MedicationRequest.Slices for identifier This element must be supported. 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
Slice: Unordered, Closed by value:use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for identifier.identifier:PrescriptionNo This element must be supported. 1..1 Identifier 用以識別電子處方箋之處方箋單號
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: usual (extensions allowed)
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋單號 Prescription No.]
Example General: 123456
Max Length:64
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
MedicationRequest.Slices for identifier.identifier:PrescriptionNo.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
MedicationRequest.Slices for identifier.identifier:Item This element must be supported. 1..1 Identifier 用以識別電子處方箋中處方項目之項次
MedicationRequest.Slices for identifier.identifier:Item.id 0..1 string Unique id for inter-element referencing
MedicationRequest.Slices for identifier.identifier:Item.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.Slices for identifier.identifier:Item.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Required Pattern: secondary (extensions allowed)
MedicationRequest.Slices for identifier.identifier:Item.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
MedicationRequest.Slices for identifier.identifier:Item.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
MedicationRequest.Slices for identifier.identifier:Item.value This element must be supported. This element is included in summaries. 1..1 string [應填入處方箋項次 Item]
Example General: 123456
Max Length:2
MedicationRequest.Slices for identifier.identifier:Item.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
MedicationRequest.Slices for identifier.identifier:Item.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
MedicationRequest.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code 表示處方箋目前之狀態。本實作指引限使用 active 與 cancelled;active 表示處方箋有效,cancelled 表示處方箋已註銷。[應填入處方箋註銷註記]
Binding: EMPD MedicationRequest Status (required)
MedicationRequest.statusReason 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 當前狀態的原因
Binding: medicationRequest Status Reason Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.intent This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼
MedicationRequest.Slices for category This element must be supported. 3..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for category.category:typesOfPrescription This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。
MedicationRequest.Slices for category.category:orderType This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.Slices for category.category:selfpayStatus This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well [應填入自費註記]。用於判別就醫識別碼是否必填。如自費註記為"Y",無須檢核健保代碼。
Binding: 自費註記值集 (required): 自費註記;應填入SelfpayStatus值集中適合的代碼。
MedicationRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): 應填入RequestPriority值集中的其中一個代碼
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean 如果藥品請求是禁止活動,則為真。
MedicationRequest.reported[x] This element is included in summaries. 0..1 被報告的而不是主要的紀錄
MedicationRequest.reported[x].reportedBoolean boolean
MedicationRequest.reported[x].reportedReference Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Organization)
MedicationRequest.Slices for medication[x] This element must be supported. This element is included in summaries. 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.Slices for medication[x].medicationCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.Slices for medication[x].medicationReference Reference(電子處方箋-藥物處方內容(Medication))
MedicationRequest.Slices for medication[x].medication[x]:medicationReference This element must be supported. This element is included in summaries. 0..1 Reference(電子處方箋-藥物處方內容(Medication)) Medication to be taken
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 服用的藥品。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMEDCTMedicationCodes (example)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding Content/Rules for all slices
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 此為中央健康保險署(NHI)維護之特材代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: NHI-電子處方箋-健保特材值集 (required)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:NHIMaterial.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 無健保代碼之特材健保代碼暫編碼。依下列說明編碼(共12碼):第1- 2 碼依現行特材代碼前 2 碼編碼原則 (2碼)+ 第 3 碼為 半形「 z 」 (1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼) 。
Binding: 無健保代碼之特材值集 (example)

Required Pattern:
{
  "system" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs"
}
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.system This element must be supported. This element is included in summaries. 1..1 uri 無健保代碼之特材代碼系統。[請固定填寫此代碼系統]
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.code This element must be supported. This element is included in summaries. 1..1 code 第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為半形「 z 」(1 碼)+ 第 4-9 碼為許可證號 (6 碼)+ 第 10-12 碼為流水號 (3 碼)
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.display This element must be supported. This element is included in summaries. 0..1 string 無健保代碼之特材名稱
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.Slices for coding.coding:nonNHIMaterial.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
MedicationRequest.Slices for medication[x].medication[x]:medicationCodeableConcept.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
MedicationRequest.subject This element must be supported. This element is included in summaries. 1..1 Reference(Group | 電子處方箋-病人基本資料) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
MedicationRequest.encounter This element must be supported. 0..1 Reference(TW Core Encounter) 連結至一個或一組即將給予藥品的人
MedicationRequest.supportingInformation 0..* Reference(Resource) 任何與藥品請求相關的補充資訊
MedicationRequest.authoredOn This element must be supported. This element is included in summaries. 0..1 dateTime 藥品請求請求最初何時被撰寫?
MedicationRequest.requester This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) 誰/什麼提出藥品請求請求?
MedicationRequest.performer 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson | TW Core CareTeam) 預期的給藥執行者
MedicationRequest.performerType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 所需的給藥執行者種類
Binding: ProcedurePerformerRoleCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.recorder 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole) 輸入藥品請求請求的人
MedicationRequest.reasonCode 0..* CodeableConcept 開立醫令或不開立醫令的原因或指示
Binding: Condition/Problem/DiagnosisCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.reasonReference This element must be supported. 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
MedicationRequest.instantiatesCanonical This element is included in summaries. 0..* canonical() 實例化FHIR計畫書(protocol)或定義
MedicationRequest.instantiatesUri This element is included in summaries. 0..* uri 實例化外部計畫書(protocol)或定義
MedicationRequest.basedOn This element is included in summaries. 0..* Reference(TW Core CarePlan | TW Core MedicationRequest | TW Core ServiceRequest | ImmunizationRecommendation) 此MedicationRquest是基於什麼而履行?
MedicationRequest.groupIdentifier This element is included in summaries. 0..1 Identifier 此為綜合請求的一部分
MedicationRequest.courseOfTherapyType 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 給藥的整體模式
Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.insurance This element must be supported. 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
MedicationRequest.note This element must be supported. 0..* Annotation 關於處方的資訊
MedicationRequest.dosageInstruction This element must be supported. 0..* Dosage 應該如何用藥
MedicationRequest.dosageInstruction.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.sequence This element is included in summaries. 0..1 integer 劑量指示的順序
MedicationRequest.dosageInstruction.text This element must be supported. This element is included in summaries. 0..1 string 純文字表述的劑量指示,例如:SIG。
MedicationRequest.dosageInstruction.additionalInstruction 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 對病人的補充指示或警告-例如:「隨餐服用」,「可能引起嗜睡」
Binding: SNOMEDCTAdditionalDosageInstructions (extensible): 一個編碼的概念,確定額外的指示,如「與水一起服用」或「避免操作重型機器」;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.patientInstruction This element is included in summaries. 0..1 string 以病人或消費者為導向的指示
MedicationRequest.dosageInstruction.timing This element must be supported. This element is included in summaries. 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
MedicationRequest.dosageInstruction.timing.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dosageInstruction.timing.event This element is included in summaries. 0..* dateTime 事件發生的時間
MedicationRequest.dosageInstruction.timing.repeat This element is included in summaries. C 0..1 Element 事件定期重複發生的時間
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
MedicationRequest.dosageInstruction.timing.repeat.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.repeat.bounds[x] This element is included in summaries. 0..1 時間或期間長度/長度範圍,或(開始和/或結束)限制
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsDuration Duration
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsRange Range
MedicationRequest.dosageInstruction.timing.repeat.bounds[x].boundsPeriod Period
MedicationRequest.dosageInstruction.timing.repeat.count This element is included in summaries. 0..1 positiveInt 重複的次數
MedicationRequest.dosageInstruction.timing.repeat.countMax This element is included in summaries. 0..1 positiveInt 重複的最大次數
MedicationRequest.dosageInstruction.timing.repeat.duration This element is included in summaries. 0..1 decimal 此事件持續多久時間
MedicationRequest.dosageInstruction.timing.repeat.durationMax This element is included in summaries. 0..1 decimal 此事件持續多久時間 (最長時間/最大值)
MedicationRequest.dosageInstruction.timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - 單位時間 (unit of time,UCUM)
Binding: UnitsOfTime (required): 時間的單位(單位來自UCUM);應填入UnitsOfTime值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.frequency This element must be supported. This element is included in summaries. 0..1 positiveInt 藥品於指定使用時間週期內之使用次數。[應填入藥品使用次數 Frequency]
MedicationRequest.dosageInstruction.timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt 此事件於每一期間的最大發生頻率
MedicationRequest.dosageInstruction.timing.repeat.period This element is included in summaries. 0..1 decimal 此事件於特定時間區間所發生的頻率
MedicationRequest.dosageInstruction.timing.repeat.periodMax This element is included in summaries. 0..1 decimal 時間區間的上限(3-4小時)
MedicationRequest.dosageInstruction.timing.repeat.periodUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - 單位時間 (unit of time,UCUM)
Binding: UnitsOfTime (required): 時間的單位(單位來自UCUM);應填入UnitsOfTime值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): 應填入DaysOfWeek值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.timeOfDay This element is included in summaries. 0..* time 一天中的活動時間
MedicationRequest.dosageInstruction.timing.repeat.when This element is included in summaries. 0..* code 事件發生的時間區間之代碼
Binding: EventTiming (required): 與時程表有關的真實世界事件;應填入EventTiming值集中的其中一個代碼
MedicationRequest.dosageInstruction.timing.repeat.offset This element is included in summaries. 0..1 unsignedInt 事件的分鐘數(之前或之後)
MedicationRequest.dosageInstruction.timing.code This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.timing.code.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.timing.code.coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品使用頻率及服用時間。[應填入藥品使用頻率及服用時間 Usagetime]
Binding: HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 (required)
MedicationRequest.dosageInstruction.timing.code.text This element must be supported. This element is included in summaries. 0..1 string 藥品使用頻率及使用時間之文字表示,並可補充代碼未能完整表達之資訊。
MedicationRequest.dosageInstruction.asNeeded[x] This element is included in summaries. 0..1 「根據(對x的)需要」服用 Binding:一個編碼概念,指明在服用或用藥之前應滿足或評估的先決條件。例如:「疼痛」、「性行為前30分鐘」、「發作時」等;可參考SNOMEDCTMedicationAsNeededReasonCodes值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
Binding: SNOMEDCTMedicationAsNeededReasonCodes (extensible): 一個編碼概念,指明在服用或用藥之前應滿足或評估的先決條件。例如:「疼痛」、「性行為前30分鐘」、「發作時」等;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.asNeeded[x].asNeededBoolean boolean
MedicationRequest.dosageInstruction.asNeeded[x].asNeededCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.dosageInstruction.site 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥之身體部位
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (extensible): 一個編碼概念,描述藥品進入或在身體上的位置;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.route This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMED CT + 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.route.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.route.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: 臺灣健保署給藥途徑值集 (extensible)
MedicationRequest.dosageInstruction.route.text This element must be supported. This element is included in summaries. 0..1 string 概念的文字標記法
MedicationRequest.dosageInstruction.method This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
MedicationRequest.dosageInstruction.method.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.dosageInstruction.method.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.method.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.dosageInstruction.method.text This element must be supported. This element is included in summaries. 0..1 string 給藥方法之文字描述;當無適用代碼可完整表達給藥方法時,可於此以文字說明。
Max Length:600
MedicationRequest.dosageInstruction.doseAndRate This element must be supported. This element is included in summaries. 1..* Element 用藥量
MedicationRequest.dosageInstruction.doseAndRate.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.doseAndRate.type 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 特定劑量或比率種類
Binding: DoseAndRateType (example): 可參考DoseAndRateType值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x] This element must be supported. This element is included in summaries. 0..1 每一劑量的藥量
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseRange Range
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].doseQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity This element must be supported. This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 每一劑量的藥量
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入劑量單位 Dose units]
Max Length:30
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.system This element is included in summaries. C 0..1 uri System that defines coded unit form
MedicationRequest.dosageInstruction.doseAndRate.Slices for dose[x].dose[x]:doseQuantity.code This element is included in summaries. 0..1 code Coded form of the unit
MedicationRequest.dosageInstruction.doseAndRate.rate[x] This element is included in summaries. 0..1 每時間單位內的用藥量
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateRatio Ratio
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateRange Range
MedicationRequest.dosageInstruction.doseAndRate.rate[x].rateQuantity Quantity(SimpleQuantity)
MedicationRequest.dosageInstruction.maxDosePerPeriod This element is included in summaries. 0..1 Ratio 每時間單位內用藥的上限
MedicationRequest.dosageInstruction.maxDosePerAdministration This element is included in summaries. C 0..1 SimpleQuantity 每次用藥的上限
Constraints: sqty-1
MedicationRequest.dosageInstruction.maxDosePerLifetime This element is included in summaries. C 0..1 SimpleQuantity 病人一生中用藥的上限
Constraints: sqty-1
MedicationRequest.dispenseRequest This element must be supported. 1..1 BackboneElement 藥品供應授權
MedicationRequest.dispenseRequest.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill 0..1 BackboneElement 首次依照處方配藥的細節
MedicationRequest.dispenseRequest.initialFill.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.initialFill.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.initialFill.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill.quantity C 0..1 SimpleQuantity 首次配藥的數量
Constraints: sqty-1
MedicationRequest.dispenseRequest.initialFill.duration 0..1 Duration 首次配藥的持續時間
MedicationRequest.dispenseRequest.dispenseInterval 0..1 Duration 前後兩次配藥的最短時間間隔
MedicationRequest.dispenseRequest.validityPeriod This element must be supported. 1..1 Period 處方可用以配藥的有效期限,包含起日與迄日[應填入處方箋有效日期]
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed This element must be supported. 1..1 unsignedInt 可重複領藥的次數。[應填入處方可調劑次數 Refill Times]
Max Value: 99
MedicationRequest.dispenseRequest.quantity This element must be supported. C 1..1 SimpleQuantity 每次配藥的藥品(數)量
Constraints: sqty-1
MedicationRequest.dispenseRequest.quantity.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.quantity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dispenseRequest.quantity.value This element must be supported. This element is included in summaries. 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
MedicationRequest.dispenseRequest.quantity.unit This element must be supported. This element is included in summaries. 1..1 string Unit representation.[應填入給藥總量單位 Dose units]
MedicationRequest.dispenseRequest.quantity.system This element is included in summaries. C 0..1 uri System that defines coded unit form
MedicationRequest.dispenseRequest.quantity.code This element is included in summaries. 0..1 code Coded form of the unit
MedicationRequest.dispenseRequest.expectedSupplyDuration This element must be supported. 0..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days],不得超過999天。
MedicationRequest.dispenseRequest.expectedSupplyDuration.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.expectedSupplyDuration.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.dispenseRequest.expectedSupplyDuration.value This element is included in summaries. 0..1 decimal Numerical value (with implicit precision)
Max Value: 999
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator This element is a modifier element. This element is included in summaries. 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
MedicationRequest.dispenseRequest.expectedSupplyDuration.unit This element is included in summaries. 0..1 string Unit representation
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.system This element is included in summaries. C 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org (extensions allowed)
MedicationRequest.dispenseRequest.expectedSupplyDuration.code This element is included in summaries. 0..1 code Coded form of the unit
Required Pattern: d (extensions allowed)
MedicationRequest.dispenseRequest.performer 0..1 Reference(TW Core Organization) 預定的配藥人員
MedicationRequest.substitution This element must be supported. 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
MedicationRequest.substitution.id 0..1 string Unique id for inter-element referencing
MedicationRequest.substitution.extension 0..* Extension Additional content defined by implementations
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] This element must be supported. 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept(CodeableConceptTW)
MedicationRequest.substitution.reason This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 為什麼要(不)進行替換
Binding: SubstanceAdminSubstitutionReason (3.0.0) (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
MedicationRequest.substitution.reason.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
MedicationRequest.substitution.reason.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
MedicationRequest.substitution.reason.coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
MedicationRequest.substitution.reason.text This element must be supported. This element is included in summaries. 1..1 string 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Max Length:800
MedicationRequest.priorPrescription 0..1 Reference(TW Core MedicationRequest) 正被替換的醫令/處方
MedicationRequest.detectedIssue 0..* Reference(DetectedIssue) 活動的臨床問題
MedicationRequest.eventHistory 0..* Reference(TW Core Provenance) 生命週期中感興趣的事件清單

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationRequest.identifier:PrescriptionNo.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:PrescriptionNo.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationRequest.identifier:Item.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
MedicationRequest.status Base required EMPD MedicationRequest Status 📦0.2.1 This IG
MedicationRequest.statusReason Base example Medication request status reason codes 📦4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📦4.0.1 FHIR Std.
MedicationRequest.category:typesOfPrescription Base required 處方箋種類註記值集 📦0.2.1 This IG
MedicationRequest.category:orderType Base required 醫令類別值集 📦0.2.1 This IG
MedicationRequest.category:selfpayStatus Base required 自費註記值集 📦0.2.1 This IG
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:NHIMaterial Base required NHI-電子處方箋-健保特材值集 📦0.2.1 This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nonNHIMaterial Base example 無健保代碼之特材值集 📦0.2.1 This IG
MedicationRequest.performerType Base extensible Procedure Performer Role Codes 📦4.0.1 FHIR Std.
MedicationRequest.reasonCode Base extensible Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​additionalInstruction Base extensible SNOMED CT Additional Dosage Instructions 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.repeat.when Base required EventTiming 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​timing.code Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​timing.code.coding Base required HL7 TimingAbbreviation + NHI-電子處方箋-藥品使用頻率值集 📦0.2.1 This IG
MedicationRequest.dosageInstruction.​asNeeded[x] Base extensible SNOMED CT Medication As Needed Reason Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​site Base extensible SNOMED CT Anatomical Structure for Administration Site Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​route Base extensible SNOMED CT + 臺灣健保署給藥途徑值集 📦0.3.0 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​route.coding Base extensible 臺灣健保署給藥途徑值集 📦2024-06-04 臺灣核心實作指引 v0.3
MedicationRequest.dosageInstruction.​method Base extensible SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​doseAndRate.type Base example DoseAndRateType 📦4.0.1 FHIR Std.
MedicationRequest.dispenseRequest.​expectedSupplyDuration.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📍3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📍3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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 MedicationRequest 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 MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest 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())
empd-medreq-2 error MedicationRequest 未使用 medicationReference 表示藥品時,應於 medicationCodeableConcept 填寫特材代碼。 medication.ofType(Reference).exists() or medication.ofType(CodeableConcept).exists()
empd-medreq-3 error MedicationRequest 無健保代碼之特材暫編碼須符合編碼規則:共12碼,第1-2碼依現行特材代碼前2碼編碼原則(2碼)+第3碼為大寫「Z」(1碼)+第4-9碼為許可證號(6碼)+ 第10-12碼為流水號(3碼) medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists() implies (medication.ofType(CodeableConcept).coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').all(code.matches('^(AC|BB|C[ABCDEFGHKMPRTVX]|F[ABEHNPSU]|H[EFH]|LE|N[ABCE]|RR|S[ACS]|T[BFKS]|W[BD])Z.{6}[0-9]{3}$')))
empd-medreq-4 error MedicationRequest 當藥品使用頻率為依照醫師指示使用(ASORDER)時,給藥方法(dosageInstruction.method)應填寫。 dosageInstruction.where(timing.code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NHIMedicationFrequency-cs' and code = 'ASORDER').exists()).all(method.exists())
empd-medreq-5 error MedicationRequest 劑量(dosageInstruction.doseAndRate.doseQuantity.value)總長度不得超過11位數,其中小數不得超過3位。 dosageInstruction.doseAndRate.dose.ofType(Quantity).value.all(toString().matches('^[0-9]{1,8}([.][0-9]{1,3})?$'))
empd-medreq-6 error MedicationRequest 給藥總量(dispenseRequest.quantity.value)總長度不得超過6位數,其中小數不得超過2位。 dispenseRequest.quantity.value.all(toString().matches('^[0-9]{1,4}([.][0-9]{1,2})?$'))
empd-ord-1 error MedicationRequest 當醫令類別不是特殊材料(code=3)時,應填寫劑量、劑量單位、頻率、給藥途徑、給藥日數及給藥總量。 category.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/OrderType-cs' and code = '3').exists() or (dosageInstruction.exists() and dosageInstruction.all(doseAndRate.dose.ofType(Quantity).value.exists() and doseAndRate.dose.ofType(Quantity).unit.exists() and timing.code.coding.code.exists() and route.exists()) and dispenseRequest.expectedSupplyDuration.exists() and dispenseRequest.quantity.exists())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dosageInstruction.maxDosePerAdministration, MedicationRequest.dosageInstruction.maxDosePerLifetime, MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error MedicationRequest.dosageInstruction.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationRequest.dosageInstruction.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationRequest.dosageInstruction.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationRequest.dosageInstruction.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationRequest.dosageInstruction.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationRequest.dosageInstruction.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationRequest.dosageInstruction.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationRequest.dosageInstruction.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error MedicationRequest.dosageInstruction.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from TWCoreMedicationRequest

Summary

Mandatory: 18 elements(13 nested mandatory elements)
Must-Support: 25 elements
Prohibited: 6 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of MedicationRequest.identifier (Closed)
  • The element 1 is sliced based on the value of MedicationRequest.category
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

 

Other representations of profile: CSV, Excel, Schematron