臺灣健保事前審查實作指引
1.1.0 - STU1.1.0

臺灣健保事前審查實作指引 - Downloaded Version null See the Directory of published versions

## Resource Profile: 事前審查品項-MedicationRequest Apply TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas | Version: 1.1.0
Active as of 2025-12-29 | Computable Name: MedicationRequestApplyTWPAS

此事前審查品項-MedicationRequest Apply TWPAS Profile說明本IG如何進一步定義臺灣核心-藥品請求(TW Core MedicationRequest) Profile以呈現事前審查中申請項目之事前審查品項

Usages:

- Use this Profile: 免疫製劑事前審查-Bundle Immunologic Aagent TWPAS and 癌藥事前審查-Bundle TWPAS
- Refer to this Profile: RequestedService
- Examples for this Profile: MedicationRequest/medReq-apply-2 and MedicationRequest/medReq-apply
- CapabilityStatements using this Profile: 臺灣事前審查-用戶端(TWPAS Client) and 臺灣事前審查-伺服端(TWPAS Server)

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* | TWCoreMedicationRequest | 為病人或實體集合（例如：特定的一群人）開立的藥品請求
meta | Σ | 1..1 | Meta | 此MedicationRequest Resource的metadata
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | 此藥品請求的外部識別碼
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: on-hold
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: plan
category | S | 0..* | CodeableConceptTW | 用藥型別 Binding: medicationRequest Category Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
doNotPerform | ?!Σ | 0..1 | boolean | 如果藥品請求是禁止活動，則為真。
Slices for medication[x] | S Σ C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Slice: Unordered, Closed by type:$this Binding: NHI-健保事前審查-用藥品項值集 (example)
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
Slices for coding | S | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
text | S Σ | 0..1 | string | 概念的文字表示法
subject | S Σ | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
encounter | S | 0..1 | Reference(TW Core Encounter) | 連結至一個或一組即將給予藥品的人
authoredOn | S Σ | 0..1 | dateTime | 藥品請求請求最初何時被撰寫？
requester | S Σ | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) | 誰／什麼提出藥品請求請求？
reasonReference | S | 0..* | Reference(TW Core Condition | TW Core Observation Laboratory Result) | 開立處方的原因，例如：病情、問題或診斷（condition）或者檢驗檢查（observation）
note | S | 0..* | Annotation | 關於處方的資訊
dosageInstruction | S | 1..* | Dosage | 應該如何用藥
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text | S Σ | 0..1 | string | 純文字表述的劑量指示，例如：SIG。
timing | S Σ | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
repeat | S Σ C | 1..1 | Element | 事件定期重複發生的時間 Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
bounds[x] | S Σ | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
start | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S Σ | 0..1 | positiveInt | 事前審查藥品療程／週期數。
code | S | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
coding | S | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
route | S | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
coding | S | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
doseAndRate | S Σ | 1..1 | Element | 用藥量
dose[x] | S Σ | 1..1 | SimpleQuantity | 每一劑量的藥量
value | S Σ | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
system | Σ C | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S Σ | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
dispenseRequest | S | 0..1 | BackboneElement | 藥品供應授權
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
validityPeriod | S | 0..1 | Period | 處方可用以配藥的有效期限
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | 可重複領藥的次數
expectedSupplyDuration | S | 0..1 | Duration | 每次配藥可持續的天數
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.status | Base | required | Medicationrequest status | 📍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.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.dosageInstruction.​timing.code | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​route | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.

#### 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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  |  | TWCoreMedicationRequest |
meta |  | 1..1 | Meta | 此MedicationRequest Resource的metadata
profile |  | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
status |  | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Required Pattern: on-hold
intent |  | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: plan
medication[x] | C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Binding: NHI-健保事前審查-用藥品項值集 (example)
Slices for medication[x] |  |  |  | Content/Rules for all slices
medication[x]:medicationReference |  | 0..0 |  | Medication to be taken
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
coding |  | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼
Slices for coding |  |  |  | Content/Rules for all slices
coding:fda-medication-tw |  | 0..0 |  | 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。
coding:nhi-medication-tw |  | 0..0 |  | 此為中央健康保險署(NHI)維護之藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
coding:nhi-medication-ch-herb-tw |  | 0..0 |  | 此為中央健康保險署(NHI)維護之中藥藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
coding:rxnorm-medication-us-core |  | 0..0 |  | RxNorm為美國Unified Medical Language System®中的藥品代碼，取得UMLS®授權即可免費使用，可依情境選用此代碼。
coding:atc-medication-code |  | 0..0 |  | ATC代碼的版權為世界衛生組織（WHO）Collaborating Centre for Drug Statistics Methodology，可免費使用，可依情境選用此代碼。
coding:snomedct-medication-codes |  | 0..0 |  | 此為SNOMED CT代碼，若機構已有購買相關授權，亦可使用。
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
subject |  | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
dosageInstruction |  | 1..* | Dosage | 應該如何用藥
timing |  | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
repeat | S | 1..1 | Element | 事件定期重複發生的時間
bounds[x] | S | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
start | S | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S | 0..1 | positiveInt | 事前審查藥品療程／週期數。
code |  | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
coding |  | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
route |  | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
coding |  | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
doseAndRate | S | 1..1 | Element | 用藥量
dose[x] | S | 1..1 | SimpleQuantity | 每一劑量的藥量
value | S | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
system |  | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.dosageInstruction.​timing.code | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​route | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* | TWCoreMedicationRequest | 為病人或實體集合（例如：特定的一群人）開立的藥品請求
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄，通常又稱為邏輯性ID。
meta | Σ | 1..1 | Meta | 此MedicationRequest Resource的metadata
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則
language |  | 0..1 | code | 用以表述MedicationRequest Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
AllLanguages | Max Binding
Example Value: zh-TW
text |  | 0..1 | Narrative | MedicationRequest Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | 此藥品請求的外部識別碼
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: on-hold
statusReason |  | 0..1 | CodeableConceptTW | 當前狀態的原因 Binding: medicationRequest Status Reason Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: plan
category | S | 0..* | CodeableConceptTW | 用藥型別 Binding: medicationRequest Category Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
priority | Σ | 0..1 | code | routine ｜ urgent ｜ asap ｜ stat Binding: RequestPriority (required): 應填入RequestPriority值集中的其中一個代碼
doNotPerform | ?!Σ | 0..1 | boolean | 如果藥品請求是禁止活動，則為真。
reported[x] | Σ | 0..1 |  | 被報告的而不是主要的紀錄
reportedBoolean |  |  | boolean |
reportedReference |  |  | Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Organization) |
Slices for medication[x] | S Σ C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Slice: Unordered, Closed by type:$this Binding: NHI-健保事前審查-用藥品項值集 (example)
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
Slices for coding | S | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
text | S Σ | 0..1 | string | 概念的文字表示法
subject | S Σ | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
encounter | S | 0..1 | Reference(TW Core Encounter) | 連結至一個或一組即將給予藥品的人
supportingInformation |  | 0..* | Reference(Resource) | 任何與藥品請求相關的補充資訊
authoredOn | S Σ | 0..1 | dateTime | 藥品請求請求最初何時被撰寫？
requester | S Σ | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) | 誰／什麼提出藥品請求請求？
performer |  | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson | TW Core CareTeam) | 預期的給藥執行者
performerType |  | 0..1 | CodeableConceptTW | 所需的給藥執行者種類 Binding: ProcedurePerformerRoleCodes (extensible): 應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
recorder |  | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 輸入藥品請求請求的人
reasonCode |  | 0..* | CodeableConcept | 開立醫令或不開立醫令的原因或指示 Binding: Condition/Problem/DiagnosisCodes (extensible): 應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
reasonReference | S | 0..* | Reference(TW Core Condition | TW Core Observation Laboratory Result) | 開立處方的原因，例如：病情、問題或診斷（condition）或者檢驗檢查（observation）
instantiatesCanonical | Σ | 0..* | canonical() | 實例化FHIR計畫書（protocol）或定義
instantiatesUri | Σ | 0..* | uri | 實例化外部計畫書（protocol）或定義
basedOn | Σ | 0..* | Reference(TW Core CarePlan | TW Core MedicationRequest | TW Core ServiceRequest | ImmunizationRecommendation) | 此MedicationRquest是基於什麼而履行？
groupIdentifier | Σ | 0..1 | Identifier | 此為綜合請求的一部分
courseOfTherapyType |  | 0..1 | CodeableConceptTW | 給藥的整體模式 Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | 相關的保險承保範圍
note | S | 0..* | Annotation | 關於處方的資訊
dosageInstruction | S | 1..* | Dosage | 應該如何用藥
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
sequence | Σ | 0..1 | integer | 劑量指示的順序
text | S Σ | 0..1 | string | 純文字表述的劑量指示，例如：SIG。
additionalInstruction |  | 0..* | CodeableConceptTW | 對病人的補充指示或警告－例如：「隨餐服用」，「可能引起嗜睡」 Binding: SNOMEDCTAdditionalDosageInstructions (extensible): 一個編碼的概念，確定額外的指示，如「與水一起服用」或「避免操作重型機器」；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
patientInstruction | Σ | 0..1 | string | 以病人或消費者為導向的指示
timing | S Σ | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
event | Σ | 0..* | dateTime | 事件發生的時間
repeat | S Σ C | 1..1 | Element | 事件定期重複發生的時間 Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
bounds[x] | S Σ | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S Σ | 0..1 | positiveInt | 事前審查藥品療程／週期數。
countMax | Σ | 0..1 | positiveInt | 重複的最大次數
duration | Σ | 0..1 | decimal | 此事件持續多久時間
durationMax | Σ | 0..1 | decimal | 此事件持續多久時間 （最長時間／最大值）
durationUnit | Σ | 0..1 | code | s ｜ min ｜ h ｜ d ｜ wk ｜ mo ｜ a - 單位時間 （unit of time，UCUM） Binding: UnitsOfTime (required): 時間的單位（單位來自UCUM）；應填入UnitsOfTime值集中的其中一個代碼
frequency | Σ | 0..1 | positiveInt | 此事件於每一期間的發生頻率
frequencyMax | Σ | 0..1 | positiveInt | 此事件於每一期間的最大發生頻率
period | Σ | 0..1 | decimal | 此事件於特定時間區間所發生的頻率
periodMax | Σ | 0..1 | decimal | 時間區間的上限（3-4小時）
periodUnit | Σ | 0..1 | code | s ｜ min ｜ h ｜ d ｜ wk ｜ mo ｜ a - 單位時間 （unit of time，UCUM） Binding: UnitsOfTime (required): 時間的單位（單位來自UCUM）；應填入UnitsOfTime值集中的其中一個代碼
dayOfWeek | Σ | 0..* | code | mon ｜ tue ｜ wed ｜ thu ｜ fri ｜ sat ｜ sun Binding: DaysOfWeek (required): 應填入DaysOfWeek值集中的其中一個代碼
timeOfDay | Σ | 0..* | time | 一天中的活動時間
when | Σ | 0..* | code | 事件發生的時間區間之代碼 Binding: EventTiming (required): 與時程表有關的真實世界事件；應填入EventTiming值集中的其中一個代碼
offset | Σ | 0..1 | unsignedInt | 事件的分鐘數（之前或之後）
code | S | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
coding | S | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
asNeeded[x] | Σ | 0..1 |  | 「根據（對x的）需要」服用 Binding：一個編碼概念，指明在服用或用藥之前應滿足或評估的先決條件。例如：「疼痛」、「性行為前30分鐘」、「發作時」等；可參考SNOMEDCTMedicationAsNeededReasonCodes值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。 Binding: SNOMEDCTMedicationAsNeededReasonCodes (extensible): 一個編碼概念，指明在服用或用藥之前應滿足或評估的先決條件。例如：「疼痛」、「性行為前30分鐘」、「發作時」等；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
asNeededBoolean |  |  | boolean |
asNeededCodeableConcept |  |  | CodeableConcept(CodeableConceptTW) |
site |  | 0..1 | CodeableConceptTW | 用藥之身體部位 Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (extensible): 一個編碼概念，描述藥品進入或在身體上的位置；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
route | S | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
coding | S | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
method |  | 0..1 | CodeableConceptTW | 用藥的技術 Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念，描述用藥的技術；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
doseAndRate | S Σ | 1..1 | Element | 用藥量
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type |  | 0..1 | CodeableConceptTW | 特定劑量或比率種類 Binding: DoseAndRateType (example): 可參考DoseAndRateType值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
dose[x] | S Σ | 1..1 | SimpleQuantity | 每一劑量的藥量
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
unit | Σ | 0..1 | string | Unit representation
system | Σ C | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S Σ | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
rate[x] | Σ | 0..1 |  | 每時間單位內的用藥量
rateRatio |  |  | Ratio |
rateRange |  |  | Range |
rateQuantity |  |  | Quantity(SimpleQuantity) |
maxDosePerPeriod | Σ | 0..1 | Ratio | 每時間單位內用藥的上限
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | 每次用藥的上限
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | 病人一生中用藥的上限
dispenseRequest | S | 0..1 | BackboneElement | 藥品供應授權
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
initialFill |  | 0..1 | BackboneElement | 首次依照處方配藥的細節
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
quantity |  | 0..1 | SimpleQuantity | 首次配藥的數量
duration |  | 0..1 | Duration | 首次配藥的持續時間
dispenseInterval |  | 0..1 | Duration | 前後兩次配藥的最短時間間隔
validityPeriod | S | 0..1 | Period | 處方可用以配藥的有效期限
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | 可重複領藥的次數
quantity |  | 0..1 | SimpleQuantity | 每次配藥的藥品（數）量
expectedSupplyDuration | S | 0..1 | Duration | 每次配藥可持續的天數
performer |  | 0..1 | Reference(TW Core Organization) | 預定的配藥人員
substitution |  | 0..1 | BackboneElement | 對替代藥品的任何限制
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
allowed[x] |  | 1..1 |  | 是否允許替換 Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept(CodeableConceptTW) |
reason |  | 0..1 | CodeableConceptTW | 為什麼要（不）進行替換 Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
priorPrescription |  | 0..1 | Reference(TW Core MedicationRequest) | 正被替換的醫令／處方
detectedIssue |  | 0..* | Reference(DetectedIssue) | 活動的臨床問題
eventHistory |  | 0..* | Reference(TW Core Provenance) | 生命週期中感興趣的事件清單
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.meta.​security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
MedicationRequest.meta.​tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
MedicationRequest.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std.
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.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std.
MedicationRequest.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | 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.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | 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 | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
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.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.
MedicationRequest.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.0
MedicationRequest.substitution.​reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.0

#### 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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
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: 20 elements
Must-Support: 11 elements
Prohibited: 7 elements

Structures

This structure refers to these other structures:

- TW CodeableConcept (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw)
- TW Core Medication (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore)
- 病人資訊-Patient TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas)
- SimpleQuantity (http://hl7.org/fhir/StructureDefinition/SimpleQuantity)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* | TWCoreMedicationRequest | 為病人或實體集合（例如：特定的一群人）開立的藥品請求
meta | Σ | 1..1 | Meta | 此MedicationRequest Resource的metadata
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | 此藥品請求的外部識別碼
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: on-hold
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: plan
category | S | 0..* | CodeableConceptTW | 用藥型別 Binding: medicationRequest Category Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
doNotPerform | ?!Σ | 0..1 | boolean | 如果藥品請求是禁止活動，則為真。
Slices for medication[x] | S Σ C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Slice: Unordered, Closed by type:$this Binding: NHI-健保事前審查-用藥品項值集 (example)
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
Slices for coding | S | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
text | S Σ | 0..1 | string | 概念的文字表示法
subject | S Σ | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
encounter | S | 0..1 | Reference(TW Core Encounter) | 連結至一個或一組即將給予藥品的人
authoredOn | S Σ | 0..1 | dateTime | 藥品請求請求最初何時被撰寫？
requester | S Σ | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) | 誰／什麼提出藥品請求請求？
reasonReference | S | 0..* | Reference(TW Core Condition | TW Core Observation Laboratory Result) | 開立處方的原因，例如：病情、問題或診斷（condition）或者檢驗檢查（observation）
note | S | 0..* | Annotation | 關於處方的資訊
dosageInstruction | S | 1..* | Dosage | 應該如何用藥
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text | S Σ | 0..1 | string | 純文字表述的劑量指示，例如：SIG。
timing | S Σ | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
repeat | S Σ C | 1..1 | Element | 事件定期重複發生的時間 Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
bounds[x] | S Σ | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
start | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S Σ | 0..1 | positiveInt | 事前審查藥品療程／週期數。
code | S | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
coding | S | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
route | S | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
coding | S | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
doseAndRate | S Σ | 1..1 | Element | 用藥量
dose[x] | S Σ | 1..1 | SimpleQuantity | 每一劑量的藥量
value | S Σ | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
system | Σ C | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S Σ | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
dispenseRequest | S | 0..1 | BackboneElement | 藥品供應授權
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
validityPeriod | S | 0..1 | Period | 處方可用以配藥的有效期限
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | 可重複領藥的次數
expectedSupplyDuration | S | 0..1 | Duration | 每次配藥可持續的天數
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.status | Base | required | Medicationrequest status | 📍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.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.dosageInstruction.​timing.code | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​route | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.

#### 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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  |  | TWCoreMedicationRequest |
meta |  | 1..1 | Meta | 此MedicationRequest Resource的metadata
profile |  | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
status |  | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Required Pattern: on-hold
intent |  | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Required Pattern: plan
medication[x] | C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Binding: NHI-健保事前審查-用藥品項值集 (example)
Slices for medication[x] |  |  |  | Content/Rules for all slices
medication[x]:medicationReference |  | 0..0 |  | Medication to be taken
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
coding |  | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼
Slices for coding |  |  |  | Content/Rules for all slices
coding:fda-medication-tw |  | 0..0 |  | 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。
coding:nhi-medication-tw |  | 0..0 |  | 此為中央健康保險署(NHI)維護之藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
coding:nhi-medication-ch-herb-tw |  | 0..0 |  | 此為中央健康保險署(NHI)維護之中藥藥品代碼，主要針對申報使用，更新頻率相對頻繁，可免費使用，可依情境選用此代碼。
coding:rxnorm-medication-us-core |  | 0..0 |  | RxNorm為美國Unified Medical Language System®中的藥品代碼，取得UMLS®授權即可免費使用，可依情境選用此代碼。
coding:atc-medication-code |  | 0..0 |  | ATC代碼的版權為世界衛生組織（WHO）Collaborating Centre for Drug Statistics Methodology，可免費使用，可依情境選用此代碼。
coding:snomedct-medication-codes |  | 0..0 |  | 此為SNOMED CT代碼，若機構已有購買相關授權，亦可使用。
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
subject |  | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
dosageInstruction |  | 1..* | Dosage | 應該如何用藥
timing |  | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
repeat | S | 1..1 | Element | 事件定期重複發生的時間
bounds[x] | S | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
start | S | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S | 0..1 | positiveInt | 事前審查藥品療程／週期數。
code |  | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
coding |  | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
route |  | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
coding |  | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
doseAndRate | S | 1..1 | Element | 用藥量
dose[x] | S | 1..1 | SimpleQuantity | 每一劑量的藥量
value | S | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
system |  | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.dosageInstruction.​timing.code | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | This IG
MedicationRequest.dosageInstruction.​route | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* | TWCoreMedicationRequest | 為病人或實體集合（例如：特定的一群人）開立的藥品請求
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄，通常又稱為邏輯性ID。
meta | Σ | 1..1 | Meta | 此MedicationRequest Resource的metadata
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/MedicationRequest-apply-twpas
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則
language |  | 0..1 | code | 用以表述MedicationRequest Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
AllLanguages | Max Binding
Example Value: zh-TW
text |  | 0..1 | Narrative | MedicationRequest Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | 此藥品請求的外部識別碼
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: on-hold
statusReason |  | 0..1 | CodeableConceptTW | 當前狀態的原因 Binding: medicationRequest Status Reason Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼 Required Pattern: plan
category | S | 0..* | CodeableConceptTW | 用藥型別 Binding: medicationRequest Category Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
priority | Σ | 0..1 | code | routine ｜ urgent ｜ asap ｜ stat Binding: RequestPriority (required): 應填入RequestPriority值集中的其中一個代碼
doNotPerform | ?!Σ | 0..1 | boolean | 如果藥品請求是禁止活動，則為真。
reported[x] | Σ | 0..1 |  | 被報告的而不是主要的紀錄
reportedBoolean |  |  | boolean |
reportedReference |  |  | Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Organization) |
Slices for medication[x] | S Σ C | 1..1 | CodeableConceptTW | 事前審查品項代碼，事前審查醫令代碼。 Slice: Unordered, Closed by type:$this Binding: NHI-健保事前審查-用藥品項值集 (example)
medication[x]:medicationCodeableConcept | S | 1..1 | CodeableConceptTW | 服用的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。 Binding: NHI-健保事前審查-用藥品項值集 (example)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
Slices for coding | S | 1..* | CodingTW | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this
coding:nhi-medication | S | 1..1 | CodingTW | 事前審查品項代碼。 Binding: NHI-健保事前審查-用藥品項值集 (required)
text | S Σ | 0..1 | string | 概念的文字表示法
subject | S Σ | 1..1 | Reference(病人資訊-Patient TWPAS) | 為誰或哪個實體集合（例如：特定的一群人）所開立的藥品請求
encounter | S | 0..1 | Reference(TW Core Encounter) | 連結至一個或一組即將給予藥品的人
supportingInformation |  | 0..* | Reference(Resource) | 任何與藥品請求相關的補充資訊
authoredOn | S Σ | 0..1 | dateTime | 藥品請求請求最初何時被撰寫？
requester | S Σ | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | TW Core RelatedPerson | Device) | 誰／什麼提出藥品請求請求？
performer |  | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | TW Core RelatedPerson | TW Core CareTeam) | 預期的給藥執行者
performerType |  | 0..1 | CodeableConceptTW | 所需的給藥執行者種類 Binding: ProcedurePerformerRoleCodes (extensible): 應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
recorder |  | 0..1 | Reference(TW Core Practitioner | TW Core PractitionerRole) | 輸入藥品請求請求的人
reasonCode |  | 0..* | CodeableConcept | 開立醫令或不開立醫令的原因或指示 Binding: Condition/Problem/DiagnosisCodes (extensible): 應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
reasonReference | S | 0..* | Reference(TW Core Condition | TW Core Observation Laboratory Result) | 開立處方的原因，例如：病情、問題或診斷（condition）或者檢驗檢查（observation）
instantiatesCanonical | Σ | 0..* | canonical() | 實例化FHIR計畫書（protocol）或定義
instantiatesUri | Σ | 0..* | uri | 實例化外部計畫書（protocol）或定義
basedOn | Σ | 0..* | Reference(TW Core CarePlan | TW Core MedicationRequest | TW Core ServiceRequest | ImmunizationRecommendation) | 此MedicationRquest是基於什麼而履行？
groupIdentifier | Σ | 0..1 | Identifier | 此為綜合請求的一部分
courseOfTherapyType |  | 0..1 | CodeableConceptTW | 給藥的整體模式 Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | 相關的保險承保範圍
note | S | 0..* | Annotation | 關於處方的資訊
dosageInstruction | S | 1..* | Dosage | 應該如何用藥
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
sequence | Σ | 0..1 | integer | 劑量指示的順序
text | S Σ | 0..1 | string | 純文字表述的劑量指示，例如：SIG。
additionalInstruction |  | 0..* | CodeableConceptTW | 對病人的補充指示或警告－例如：「隨餐服用」，「可能引起嗜睡」 Binding: SNOMEDCTAdditionalDosageInstructions (extensible): 一個編碼的概念，確定額外的指示，如「與水一起服用」或「避免操作重型機器」；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
patientInstruction | Σ | 0..1 | string | 以病人或消費者為導向的指示
timing | S Σ | 1..1 | Timing | 應該何時給藥；時間的寫法請參照Timimg datatype。
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
event | Σ | 0..* | dateTime | 事件發生的時間
repeat | S Σ C | 1..1 | Element | 事件定期重複發生的時間 Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
bounds[x] | S Σ | 1..1 | Period | 時間或期間長度／長度範圍，或（開始和／或結束）限制
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方起始日期，YYYY-MM-DD，西元年月日。
end | S Σ C | 1..1 | dateTime | 事前審查藥物預定處方終止日期，YYYY-MM-DD，西元年月日。
count | S Σ | 0..1 | positiveInt | 事前審查藥品療程／週期數。
countMax | Σ | 0..1 | positiveInt | 重複的最大次數
duration | Σ | 0..1 | decimal | 此事件持續多久時間
durationMax | Σ | 0..1 | decimal | 此事件持續多久時間 （最長時間／最大值）
durationUnit | Σ | 0..1 | code | s ｜ min ｜ h ｜ d ｜ wk ｜ mo ｜ a - 單位時間 （unit of time，UCUM） Binding: UnitsOfTime (required): 時間的單位（單位來自UCUM）；應填入UnitsOfTime值集中的其中一個代碼
frequency | Σ | 0..1 | positiveInt | 此事件於每一期間的發生頻率
frequencyMax | Σ | 0..1 | positiveInt | 此事件於每一期間的最大發生頻率
period | Σ | 0..1 | decimal | 此事件於特定時間區間所發生的頻率
periodMax | Σ | 0..1 | decimal | 時間區間的上限（3-4小時）
periodUnit | Σ | 0..1 | code | s ｜ min ｜ h ｜ d ｜ wk ｜ mo ｜ a - 單位時間 （unit of time，UCUM） Binding: UnitsOfTime (required): 時間的單位（單位來自UCUM）；應填入UnitsOfTime值集中的其中一個代碼
dayOfWeek | Σ | 0..* | code | mon ｜ tue ｜ wed ｜ thu ｜ fri ｜ sat ｜ sun Binding: DaysOfWeek (required): 應填入DaysOfWeek值集中的其中一個代碼
timeOfDay | Σ | 0..* | time | 一天中的活動時間
when | Σ | 0..* | code | 事件發生的時間區間之代碼 Binding: EventTiming (required): 與時程表有關的真實世界事件；應填入EventTiming值集中的其中一個代碼
offset | Σ | 0..1 | unsignedInt | 事件的分鐘數（之前或之後）
code | S | 1..1 | CodeableConceptTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
coding | S | 1..* | CodingTW | 事前審查藥品使用頻率及服用時間。 Binding: HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
asNeeded[x] | Σ | 0..1 |  | 「根據（對x的）需要」服用 Binding：一個編碼概念，指明在服用或用藥之前應滿足或評估的先決條件。例如：「疼痛」、「性行為前30分鐘」、「發作時」等；可參考SNOMEDCTMedicationAsNeededReasonCodes值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。 Binding: SNOMEDCTMedicationAsNeededReasonCodes (extensible): 一個編碼概念，指明在服用或用藥之前應滿足或評估的先決條件。例如：「疼痛」、「性行為前30分鐘」、「發作時」等；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
asNeededBoolean |  |  | boolean |
asNeededCodeableConcept |  |  | CodeableConcept(CodeableConceptTW) |
site |  | 0..1 | CodeableConceptTW | 用藥之身體部位 Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (extensible): 一個編碼概念，描述藥品進入或在身體上的位置；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
route | S | 1..1 | CodeableConceptTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。
extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url
coding | S | 1..1 | CodingTW | 給藥途徑／作用部位。 Binding: SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 (required)
text | S Σ | 0..1 | string | 概念的文字標記法
method |  | 0..1 | CodeableConceptTW | 用藥的技術 Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念，描述用藥的技術；可參考所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。
doseAndRate | S Σ | 1..1 | Element | 用藥量
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type |  | 0..1 | CodeableConceptTW | 特定劑量或比率種類 Binding: DoseAndRateType (example): 可參考DoseAndRateType值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
dose[x] | S Σ | 1..1 | SimpleQuantity | 每一劑量的藥量
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
value | S Σ | 1..1 | decimal | 事前審查藥品每次處方劑量，數字。
unit | Σ | 0..1 | string | Unit representation
system | Σ C | 1..1 | uri | 事前審查藥品每次處方劑量單位之代碼系統，固定為「http://unitsofmeasure.org」。 Required Pattern: http://unitsofmeasure.org
code | S Σ | 1..1 | code | 事前審查藥品每次處方劑量單位，每次使用之顆數、mL數、支數等。 Binding: UCUMCodes (required): 用藥單位的代碼範圍請參考 Common UCUM units。
rate[x] | Σ | 0..1 |  | 每時間單位內的用藥量
rateRatio |  |  | Ratio |
rateRange |  |  | Range |
rateQuantity |  |  | Quantity(SimpleQuantity) |
maxDosePerPeriod | Σ | 0..1 | Ratio | 每時間單位內用藥的上限
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | 每次用藥的上限
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | 病人一生中用藥的上限
dispenseRequest | S | 0..1 | BackboneElement | 藥品供應授權
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
initialFill |  | 0..1 | BackboneElement | 首次依照處方配藥的細節
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
quantity |  | 0..1 | SimpleQuantity | 首次配藥的數量
duration |  | 0..1 | Duration | 首次配藥的持續時間
dispenseInterval |  | 0..1 | Duration | 前後兩次配藥的最短時間間隔
validityPeriod | S | 0..1 | Period | 處方可用以配藥的有效期限
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | 可重複領藥的次數
quantity |  | 0..1 | SimpleQuantity | 每次配藥的藥品（數）量
expectedSupplyDuration | S | 0..1 | Duration | 每次配藥可持續的天數
performer |  | 0..1 | Reference(TW Core Organization) | 預定的配藥人員
substitution |  | 0..1 | BackboneElement | 對替代藥品的任何限制
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
allowed[x] |  | 1..1 |  | 是否允許替換 Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept(CodeableConceptTW) |
reason |  | 0..1 | CodeableConceptTW | 為什麼要（不）進行替換 Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集，但此值集只是針對這個欄位的一個可能值的範例，不預期也不鼓勵使用者一定要使用此值集的代碼。
priorPrescription |  | 0..1 | Reference(TW Core MedicationRequest) | 正被替換的醫令／處方
detectedIssue |  | 0..* | Reference(DetectedIssue) | 活動的臨床問題
eventHistory |  | 0..* | Reference(TW Core Provenance) | 生命週期中感興趣的事件清單
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
MedicationRequest.meta.​security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
MedicationRequest.meta.​tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
MedicationRequest.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std.
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.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std.
MedicationRequest.medication[x] | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept | Base | example | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | This IG
MedicationRequest.medication[x]:medicationCodeableConcept.​coding:nhi-medication | Base | required | NHI-健保事前審查-用藥品項值集 | 📦2025-05-26 | 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.3 | This IG
MedicationRequest.dosageInstruction.​timing.code.coding | Base | required | HL7 TimingAbbreviation + NHI-健保事前審查-藥品使用頻率值集 | 📦0.2.3 | 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 | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
MedicationRequest.dosageInstruction.​route.coding | Base | required | SNOMED CT + 臺灣健保署-健保事前審查-給藥途徑值集 | 📦0.3.0 | This IG
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.dosageInstruction.​doseAndRate.dose[x].​code | Base | required | UCUM Codes | 📦4.0.1 | FHIR Std.
MedicationRequest.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v7.0
MedicationRequest.substitution.​reason | Base | example | SubstanceAdminSubstitutionReason | 📦3.0.0 | THO v7.0

#### 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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
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: 20 elements
Must-Support: 11 elements
Prohibited: 7 elements

Structures

This structure refers to these other structures:

- TW CodeableConcept (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw)
- TW Core Medication (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore)
- 病人資訊-Patient TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas)
- SimpleQuantity (http://hl7.org/fhir/StructureDefinition/SimpleQuantity)

Other representations of profile: CSV, Excel, Schematron