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

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

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

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

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

Usage:

Formal Views of Profile Content

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

This structure is derived from TWCoreMedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... extension S 1..1 Extension Extension
... Slices for extension Content/Rules for all slices
.... TotalMedicationDays 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... identifier 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
.... category:typesOfPrescription 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。

.... category:orderType 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... medication[x] 1..1 服用的藥品。
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction
.... timing 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
..... repeat S 1..1 Element 事件定期重複發生的時間
...... frequency S 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
..... code 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
.... route 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
.... doseAndRate S 1..* Element 用藥量
..... Slices for dose[x] S 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity 1..1 Quantity 每一劑量的藥量
....... value S 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... unit S 1..1 string Unit representation.[應填入劑量單位 Dose Units]
... dispenseRequest 1..1 BackboneElement 藥品供應授權
.... validityPeriod 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity S 1..1 SimpleQuantity 每次配藥的藥品(數)量
..... value S 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit S 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
.... expectedSupplyDuration 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... allowed[x] S 1..1 boolean, CodeableConceptTW 是否允許替換
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension S 1..1 Extension Extension
Slice: Unordered, Open by value:url
.... TotalMedicationDays S 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼

... intent ?!SΣ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼

... Slices for category S 1..* CodeableConceptTW 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... category:typesOfPrescription S 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。


.... category:orderType S 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... doNotPerform ?!Σ 0..1 boolean 如果藥品請求是禁止活動,則為真。
... Slices for medication[x] SΣ 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
.... medication[x]:medicationReference Σ 0..1 Reference(TW Core Medication) Medication to be taken
.... medication[x]:medicationCodeableConcept 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTMedicationCodes (example)
..... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
...... coding:fda-medication-tw S 0..1 CodingTW 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
Binding: 臺灣食藥署藥品及醫療器材代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:nhi-medication-tw S 0..1 CodingTW 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: 臺灣健保署健保用藥品項代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:rxnorm-medication-us-core S 0..1 CodingTW RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
Binding: RxNorm藥品代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:atc-medication-code S 0..1 CodingTW ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
Binding: 臺灣食藥署藥品藥理治療分類ATC碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:snomedct-medication-codes S 0..1 CodingTW 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
Binding: SNOMEDCTMedicationCodes (required): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient | Group) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
... 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 | RelatedPerson | Device) 誰/什麼提出藥品請求請求?
... reasonReference S 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note S 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction S 0..* Dosage 應該如何用藥
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... text SΣ 0..1 string 純文字表述的劑量指示,例如:SIG。
.... timing SΣ 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... repeat SΣC 1..1 Element 事件定期重複發生的時間
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... frequency SΣ 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
..... code S 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: TimingAbbreviation (preferred): 已知/確定的時間模式之代碼;鼓勵使用TimingAbbreviation值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

...... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: HL7 TimingAbbreviation + 臺灣衛福部統計處藥品使用頻率值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


...... text SΣ 0..1 string 概念的文字標記法
.... route S 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMEDCTRouteCodes (example): 一個編碼概念,描述治療劑進入或在受試者體內的用藥途徑或生理途徑;此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

..... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMED CT + 臺灣衛福部統計處給藥途徑值集 (extensible)
..... text SΣ 0..1 string 概念的文字標記法
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... doseAndRate SΣ 1..* Element 用藥量
..... Slices for dose[x] SΣ 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity Σ 1..1 Quantity 每一劑量的藥量
....... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit SΣ 1..1 string Unit representation.[應填入劑量單位 Dose Units]
... dispenseRequest S 1..1 BackboneElement 藥品供應授權
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... validityPeriod S 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed S 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity S 1..1 SimpleQuantity 每次配藥的藥品(數)量
..... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit SΣ 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
.... expectedSupplyDuration S 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... allowed[x] S 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept(CodeableConceptTW)
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.intentrequiredmedicationRequest Intent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConcept.coding:fda-medication-twrequiredTWMedicationFDA
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:nhi-medication-twrequiredTWMedicationNHI
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:rxnorm-medication-us-corerequiredTWMedicationRXNORM
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:atc-medication-coderequiredTWMedcationATC
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:snomedct-medication-codesrequiredSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.code.codingextensibleTWMedicationFrequencyHL7
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-frequency-hl7-tw
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.route.codingextensibleTWMedicationPathSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-path-sct-tw
MedicationRequest.dosageInstruction.methodextensibleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf 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-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此MedicationRequest Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述MedicationRequest Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative MedicationRequest Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... Slices for extension S 1..1 Extension Extension
Slice: Unordered, Open by value:url
.... TotalMedicationDays S 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier S 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼

... 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): 應填入所綁定值集中的其中一個代碼

... Slices for category S 1..* CodeableConceptTW 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... category:typesOfPrescription S 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。


.... category:orderType S 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... 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 | RelatedPerson | TW Core Organization)
... Slices for medication[x] SΣ 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
.... medication[x]:medicationReference Σ 0..1 Reference(TW Core Medication) Medication to be taken
.... medication[x]:medicationCodeableConcept 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTMedicationCodes (example)
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
...... coding:fda-medication-tw S 0..1 CodingTW 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
Binding: 臺灣食藥署藥品及醫療器材代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:nhi-medication-tw S 0..1 CodingTW 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: 臺灣健保署健保用藥品項代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:rxnorm-medication-us-core S 0..1 CodingTW RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
Binding: RxNorm藥品代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:atc-medication-code S 0..1 CodingTW ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
Binding: 臺灣食藥署藥品藥理治療分類ATC碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:snomedct-medication-codes S 0..1 CodingTW 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
Binding: SNOMEDCTMedicationCodes (required): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient | Group) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
... 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 | RelatedPerson | Device) 誰/什麼提出藥品請求請求?
... performer 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | RelatedPerson | 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(CarePlan | TW Core MedicationRequest | ServiceRequest | ImmunizationRecommendation) 此MedicationRquest是基於什麼而履行?
... groupIdentifier Σ 0..1 Identifier 此為綜合請求的一部分
... courseOfTherapyType 0..1 CodeableConceptTW 給藥的整體模式
Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note S 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction S 0..* Dosage 應該如何用藥
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... 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 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... event Σ 0..* dateTime 事件發生的時間
..... repeat SΣC 1..1 Element 事件定期重複發生的時間
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 時間或期間長度/長度範圍,或(開始和/或結束)限制
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count Σ 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 SΣ 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
...... 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 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: TimingAbbreviation (preferred): 已知/確定的時間模式之代碼;鼓勵使用TimingAbbreviation值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: HL7 TimingAbbreviation + 臺灣衛福部統計處藥品使用頻率值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


...... 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 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMEDCTRouteCodes (example): 一個編碼概念,描述治療劑進入或在受試者體內的用藥途徑或生理途徑;此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMED CT + 臺灣衛福部統計處給藥途徑值集 (extensible)
..... text SΣ 0..1 string 概念的文字標記法
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... doseAndRate SΣ 1..* Element 用藥量
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... type 0..1 CodeableConceptTW 特定劑量或比率種類
Binding: DoseAndRateType (example): 可參考DoseAndRateType值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... Slices for dose[x] SΣ 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity Σ 1..1 Quantity 每一劑量的藥量
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit SΣ 1..1 string Unit representation.[應填入劑量單位 Dose Units]
....... system ΣC 0..1 uri System that defines coded unit form
....... code Σ 0..1 code Coded form of the unit
..... 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 1..1 BackboneElement 藥品供應授權
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... initialFill 0..1 BackboneElement 首次依照處方配藥的細節
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... quantity 0..1 SimpleQuantity 首次配藥的數量
..... duration 0..1 Duration 首次配藥的持續時間
.... dispenseInterval 0..1 Duration 前後兩次配藥的最短時間間隔
.... validityPeriod S 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed S 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity 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 Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit SΣ 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
..... system ΣC 0..1 uri System that defines coded unit form
..... code Σ 0..1 code Coded form of the unit
.... expectedSupplyDuration S 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
.... performer 0..1 Reference(TW Core Organization) 預定的配藥人員
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... allowed[x] S 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept(CodeableConceptTW)
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... priorPrescription 0..1 Reference(TW Core MedicationRequest) 正被替換的醫令/處方
... detectedIssue 0..* Reference(DetectedIssue) 活動的臨床問題
... eventHistory 0..* Reference(Provenance) 生命週期中感興趣的事件清單

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredmedicationRequest Intent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConcept.coding:fda-medication-twrequiredTWMedicationFDA
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:nhi-medication-twrequiredTWMedicationNHI
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:rxnorm-medication-us-corerequiredTWMedicationRXNORM
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:atc-medication-coderequiredTWMedcationATC
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:snomedct-medication-codesrequiredSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.performerTypeextensibleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeextensibleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.dosageInstruction.additionalInstructionextensibleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.code.codingextensibleTWMedicationFrequencyHL7
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-frequency-hl7-tw
MedicationRequest.dosageInstruction.asNeeded[x]extensibleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.dosageInstruction.siteextensibleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
http://hl7.org/fhir/ValueSet/approach-site-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.route.codingextensibleTWMedicationPathSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-path-sct-tw
MedicationRequest.dosageInstruction.methodextensibleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://hl7.org/fhir/ValueSet/dose-rate-type
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf 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-10errorMedicationRequest.dosageInstruction.timing.repeatIf 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: 12 elements(9 nested mandatory elements)
Must-Support: 15 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.category
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

Differential View

This structure is derived from TWCoreMedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... extension S 1..1 Extension Extension
... Slices for extension Content/Rules for all slices
.... TotalMedicationDays 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... identifier 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
.... category:typesOfPrescription 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。

.... category:orderType 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... medication[x] 1..1 服用的藥品。
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction
.... timing 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
..... repeat S 1..1 Element 事件定期重複發生的時間
...... frequency S 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
..... code 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
.... route 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
.... doseAndRate S 1..* Element 用藥量
..... Slices for dose[x] S 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity 1..1 Quantity 每一劑量的藥量
....... value S 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... unit S 1..1 string Unit representation.[應填入劑量單位 Dose Units]
... dispenseRequest 1..1 BackboneElement 藥品供應授權
.... validityPeriod 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity S 1..1 SimpleQuantity 每次配藥的藥品(數)量
..... value S 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit S 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
.... expectedSupplyDuration 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... allowed[x] S 1..1 boolean, CodeableConceptTW 是否允許替換
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension S 1..1 Extension Extension
Slice: Unordered, Open by value:url
.... TotalMedicationDays S 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼

... intent ?!SΣ 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): 應填入所綁定值集中的其中一個代碼

... Slices for category S 1..* CodeableConceptTW 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... category:typesOfPrescription S 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。


.... category:orderType S 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... doNotPerform ?!Σ 0..1 boolean 如果藥品請求是禁止活動,則為真。
... Slices for medication[x] SΣ 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
.... medication[x]:medicationReference Σ 0..1 Reference(TW Core Medication) Medication to be taken
.... medication[x]:medicationCodeableConcept 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTMedicationCodes (example)
..... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
...... coding:fda-medication-tw S 0..1 CodingTW 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
Binding: 臺灣食藥署藥品及醫療器材代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:nhi-medication-tw S 0..1 CodingTW 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: 臺灣健保署健保用藥品項代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:rxnorm-medication-us-core S 0..1 CodingTW RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
Binding: RxNorm藥品代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:atc-medication-code S 0..1 CodingTW ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
Binding: 臺灣食藥署藥品藥理治療分類ATC碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:snomedct-medication-codes S 0..1 CodingTW 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
Binding: SNOMEDCTMedicationCodes (required): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient | Group) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
... 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 | RelatedPerson | Device) 誰/什麼提出藥品請求請求?
... reasonReference S 0..* Reference(TW Core Condition | TW Core Observation Laboratory Result) 開立處方的原因,例如:病情、問題或診斷(condition)或者檢驗檢查(observation)
... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note S 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction S 0..* Dosage 應該如何用藥
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... text SΣ 0..1 string 純文字表述的劑量指示,例如:SIG。
.... timing SΣ 1..1 Timing 應該何時給藥;時間的寫法請參照Timimg datatype。
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... repeat SΣC 1..1 Element 事件定期重複發生的時間
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... frequency SΣ 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
..... code S 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: TimingAbbreviation (preferred): 已知/確定的時間模式之代碼;鼓勵使用TimingAbbreviation值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

...... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: HL7 TimingAbbreviation + 臺灣衛福部統計處藥品使用頻率值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


...... text SΣ 0..1 string 概念的文字標記法
.... route S 1..1 CodeableConceptTW 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMEDCTRouteCodes (example): 一個編碼概念,描述治療劑進入或在受試者體內的用藥途徑或生理途徑;此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

..... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMED CT + 臺灣衛福部統計處給藥途徑值集 (extensible)
..... text SΣ 0..1 string 概念的文字標記法
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... doseAndRate SΣ 1..* Element 用藥量
..... Slices for dose[x] SΣ 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity Σ 1..1 Quantity 每一劑量的藥量
....... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit SΣ 1..1 string Unit representation.[應填入劑量單位 Dose Units]
... dispenseRequest S 1..1 BackboneElement 藥品供應授權
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... validityPeriod S 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed S 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity S 1..1 SimpleQuantity 每次配藥的藥品(數)量
..... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit SΣ 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
.... expectedSupplyDuration S 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... allowed[x] S 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept(CodeableConceptTW)
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.intentrequiredmedicationRequest Intent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConcept.coding:fda-medication-twrequiredTWMedicationFDA
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:nhi-medication-twrequiredTWMedicationNHI
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:rxnorm-medication-us-corerequiredTWMedicationRXNORM
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:atc-medication-coderequiredTWMedcationATC
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:snomedct-medication-codesrequiredSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.code.codingextensibleTWMedicationFrequencyHL7
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-frequency-hl7-tw
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.route.codingextensibleTWMedicationPathSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-path-sct-tw
MedicationRequest.dosageInstruction.methodextensibleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf 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-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..* TWCoreMedicationRequest 為病人或實體集合(例如:特定的一群人)開立的藥品請求
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的MedicationRequest紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此MedicationRequest Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述MedicationRequest Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative MedicationRequest Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... Slices for extension S 1..1 Extension Extension
Slice: Unordered, Open by value:url
.... TotalMedicationDays S 1..1 Quantity 擴充的資料項目。[應填入電子處方箋給藥總日份 Total Medication Days]
URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/Extension-TotalDuration
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier S 2..* Identifier 此藥品處方的外部識別碼。[應填入處方箋單號 Prescription No.與項次 Item]
... status ?!SΣ 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): 應填入所綁定值集中的其中一個代碼

... 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): 應填入所綁定值集中的其中一個代碼

... Slices for category S 1..* CodeableConceptTW 用藥型別
Slice: Unordered, Open by pattern:$this
Binding: medicationRequest Category Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


.... category:typesOfPrescription S 1..1 CodeableConceptTW 用藥型別。[應填入處方箋種類註記 Types of Prescription]。
Binding: 處方箋種類註記值集 (required): 應填入MedicationRequestPrescription值集中的其中一個代碼。


.... category:orderType S 0..1 CodeableConceptTW 用藥型別。[應填入醫令類別]。
Binding: 醫令類別值集 (required): 醫令類別;應填入OrderType值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... 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 | RelatedPerson | TW Core Organization)
... Slices for medication[x] SΣ 1..1 服用的藥品。
Slice: Unordered, Closed by type:$this
Binding: SNOMEDCTMedicationCodes (example): 此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(電子處方箋-藥物處方內容(Medication))
.... medication[x]:medicationReference Σ 0..1 Reference(TW Core Medication) Medication to be taken
.... medication[x]:medicationCodeableConcept 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: SNOMEDCTMedicationCodes (example)
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
...... coding:fda-medication-tw S 0..1 CodingTW 此為臺灣食品藥物管理署(TFDA)維護之藥品代碼,涵蓋範圍相對完整,可免費使用,可優先選用此代碼。
Binding: 臺灣食藥署藥品及醫療器材代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:nhi-medication-tw S 0..1 CodingTW 此為中央健康保險署(NHI)維護之藥品代碼,主要針對申報使用,更新頻率相對頻繁,可免費使用,可依情境選用此代碼。
Binding: 臺灣健保署健保用藥品項代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:rxnorm-medication-us-core S 0..1 CodingTW RxNorm為美國Unified Medical Language System®中的藥品代碼,取得UMLS®授權即可免費使用,可依情境選用此代碼。
Binding: RxNorm藥品代碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:atc-medication-code S 0..1 CodingTW ATC代碼的版權為世界衛生組織(WHO)Collaborating Centre for Drug Statistics Methodology,可免費使用,可依情境選用此代碼。
Binding: 臺灣食藥署藥品藥理治療分類ATC碼值集 (required): 應填入所綁定值集中的其中一個代碼。


...... coding:snomedct-medication-codes S 0..1 CodingTW 此為SNOMED CT代碼,若機構已有購買相關授權,亦可使用。
Binding: SNOMEDCTMedicationCodes (required): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


..... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient | Group) 為誰或哪個實體集合(例如:特定的一群人)所開立的藥品請求
... 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 | RelatedPerson | Device) 誰/什麼提出藥品請求請求?
... performer 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core Patient | Device | RelatedPerson | 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(CarePlan | TW Core MedicationRequest | ServiceRequest | ImmunizationRecommendation) 此MedicationRquest是基於什麼而履行?
... groupIdentifier Σ 0..1 Identifier 此為綜合請求的一部分
... courseOfTherapyType 0..1 CodeableConceptTW 給藥的整體模式
Binding: medicationRequest Course of Therapy Codes (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... insurance S 1..* Reference(ClaimResponse | 電子處方箋/調劑單張-就醫身分別) 相關的保險承保範圍
... note S 0..* Annotation 關於處方的資訊。[應填入處方箋註銷註記/須被合併之處方箋註記/自費註記]。
... dosageInstruction S 0..* Dosage 應該如何用藥
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... 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 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... event Σ 0..* dateTime 事件發生的時間
..... repeat SΣC 1..1 Element 事件定期重複發生的時間
tim-1: if there's a duration, there needs to be duration units
tim-2: if there's a period, there needs to be period units
tim-4: duration SHALL be a non-negative value
tim-5: period SHALL be a non-negative value
tim-6: If there's a periodMax, there must be a period
tim-7: If there's a durationMax, there must be a duration
tim-8: If there's a countMax, there must be a count
tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV)
tim-10: If there's a timeOfDay, there cannot be a when, or vice versa
...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 時間或期間長度/長度範圍,或(開始和/或結束)限制
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count Σ 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 SΣ 1..1 positiveInt 此事件於每一期間的發生頻率。[應填入頻率 Frequency]
...... 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 0..1 CodeableConceptTW BID | TID | QID | AM | PM | QD | QOD | + [應填入使用時間]
Binding: TimingAbbreviation (preferred): 已知/確定的時間模式之代碼;鼓勵使用TimingAbbreviation值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

...... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
...... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: HL7 TimingAbbreviation + 臺灣衛福部統計處藥品使用頻率值集 (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


...... 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 藥品應如何進入體內。[應填入給藥途徑 Route of Administration]
Binding: SNOMEDCTRouteCodes (example): 一個編碼概念,描述治療劑進入或在受試者體內的用藥途徑或生理途徑;此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。

..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼。此資料項目為可擴充綁定預設國際標準值集,但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表,待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理,以利進行跨國與跨系統之資料交換。
Binding: SNOMED CT + 臺灣衛福部統計處給藥途徑值集 (extensible)
..... text SΣ 0..1 string 概念的文字標記法
.... method S 0..1 CodeableConceptTW 用藥的技術。[應填入用藥指示]
Binding: SNOMEDCTAdministrationMethodCodes (extensible): 一個編碼概念,描述用藥的技術;可參考所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... doseAndRate SΣ 1..* Element 用藥量
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... type 0..1 CodeableConceptTW 特定劑量或比率種類
Binding: DoseAndRateType (example): 可參考DoseAndRateType值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... Slices for dose[x] SΣ 1..1 SimpleQuantity 每一劑量的藥量
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity Σ 1..1 Quantity 每一劑量的藥量
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision).[應填入劑量 Dose]
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

....... unit SΣ 1..1 string Unit representation.[應填入劑量單位 Dose Units]
....... system ΣC 0..1 uri System that defines coded unit form
....... code Σ 0..1 code Coded form of the unit
..... 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 1..1 BackboneElement 藥品供應授權
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... initialFill 0..1 BackboneElement 首次依照處方配藥的細節
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
..... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
..... quantity 0..1 SimpleQuantity 首次配藥的數量
..... duration 0..1 Duration 首次配藥的持續時間
.... dispenseInterval 0..1 Duration 前後兩次配藥的最短時間間隔
.... validityPeriod S 1..1 Period 處方可用以配藥的有效期限[應填入處方箋有效日期]
.... numberOfRepeatsAllowed S 1..1 unsignedInt 可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]
.... quantity 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 Numerical value (with implicit precision).[應填入給藥總量 Total Amount]
..... unit SΣ 1..1 string Unit representation.[應填入給藥總量單位 Total Units]
..... system ΣC 0..1 uri System that defines coded unit form
..... code Σ 0..1 code Coded form of the unit
.... expectedSupplyDuration S 1..1 Duration 每次配藥可持續的天數。[應填入給藥日數 Medication Days]
.... performer 0..1 Reference(TW Core Organization) 預定的配藥人員
... substitution S 0..1 BackboneElement 對替代藥品的任何限制。填寫說明:有特殊情況時才填寫。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... allowed[x] S 1..1 是否允許替換
Binding: ActSubstanceAdminSubstitutionCode (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

..... allowedBoolean boolean
..... allowedCodeableConcept CodeableConcept(CodeableConceptTW)
.... reason S 0..1 CodeableConceptTW 為什麼要(不)進行替換。[應填入不得以其他廠牌藥品替代之理由],有特殊情況時才填寫。
Binding: SubstanceAdminSubstitutionReason (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... priorPrescription 0..1 Reference(TW Core MedicationRequest) 正被替換的醫令/處方
... detectedIssue 0..* Reference(DetectedIssue) 活動的臨床問題
... eventHistory 0..* Reference(Provenance) 生命週期中感興趣的事件清單

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MedicationRequest.statusrequiredmedicationrequest Status
http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1
from the FHIR Standard
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
from the FHIR Standard
MedicationRequest.intentrequiredmedicationRequest Intent
http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1
from the FHIR Standard
MedicationRequest.categoryexamplemedicationRequest Category Codes
http://hl7.org/fhir/ValueSet/medicationrequest-category
from the FHIR Standard
MedicationRequest.category:typesOfPrescriptionrequiredMedicationRequestPrescription (a valid code from 處方箋種類註記)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-prescription
from this IG
MedicationRequest.category:orderTyperequiredMedicationRequestOrderType (a valid code from 醫令類別)
https://twcore.mohw.gov.tw/ig/emr/ValueSet/medicationrequest-ordertype
from this IG
MedicationRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.medication[x]:medicationCodeableConcept.coding:fda-medication-twrequiredTWMedicationFDA
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-fda-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:nhi-medication-twrequiredTWMedicationNHI
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-nhi-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:rxnorm-medication-us-corerequiredTWMedicationRXNORM
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-rxnorm-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:atc-medication-coderequiredTWMedcationATC
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medcation-atc-tw
MedicationRequest.medication[x]:medicationCodeableConcept.coding:snomedct-medication-codesrequiredSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
MedicationRequest.performerTypeextensibleProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
MedicationRequest.reasonCodeextensibleCondition/Problem/DiagnosisCodes
http://hl7.org/fhir/ValueSet/condition-code
from the FHIR Standard
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
from the FHIR Standard
MedicationRequest.dosageInstruction.additionalInstructionextensibleSNOMEDCTAdditionalDosageInstructions
http://hl7.org/fhir/ValueSet/additional-instruction-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
http://hl7.org/fhir/ValueSet/event-timing|4.0.1
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
http://hl7.org/fhir/ValueSet/timing-abbreviation
from the FHIR Standard
MedicationRequest.dosageInstruction.timing.code.codingextensibleTWMedicationFrequencyHL7
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-frequency-hl7-tw
MedicationRequest.dosageInstruction.asNeeded[x]extensibleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
MedicationRequest.dosageInstruction.siteextensibleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
http://hl7.org/fhir/ValueSet/approach-site-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.route.codingextensibleTWMedicationPathSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medication-path-sct-tw
MedicationRequest.dosageInstruction.methodextensibleSNOMEDCTAdministrationMethodCodes
http://hl7.org/fhir/ValueSet/administration-method-codes
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
http://hl7.org/fhir/ValueSet/dose-rate-type
from the FHIR Standard
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantity.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason
http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf 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-4errorMedicationRequestIf 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-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf 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-10errorMedicationRequest.dosageInstruction.timing.repeatIf 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: 12 elements(9 nested mandatory elements)
Must-Support: 15 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.category
  • The element 1 is sliced based on the value of MedicationRequest.dosageInstruction.doseAndRate.dose[x]

 

Other representations of profile: CSV, Excel, Schematron