TWMedicationRequest
type: StructureDefinition
node role: treeRoot
id:
  v: TWMedicationRequest
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition TWMedicationRequest Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> TWMedicationRequest 0..* Base 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型 #xD; identifier 0..1 Identifier 藥品請求的外部識別碼。 #xD; status 1..1 code 藥品請求的狀態。 #xD; intent 1..1 code 藥品請求的意圖。 #xD; category 0..1 CodeableConcept 藥品請求的類別。 #xD; medication 1..1 BackboneElement 服用的藥品。 #xD; medication 0..1 Medication 藥品的定義。 #xD; code 0..1 CodeableConcept 服用的藥品。 #xD; subject 1..1 BackboneElement 開立此藥品請求的對象。 #xD; patient 0..1 Patient 開立此藥品請求的某病人。 #xD; group 0..1 Group 開立此藥品請求的某團體/群體。 #xD; encounter 0..1 Encounter 與此藥品請求紀錄密切相關的就醫。 #xD; authoredOn 0..1 dateTime 藥品請求最初請求時間。 #xD; requester 0..1 BackboneElement 提出藥品請求的人／對象。 #xD; practitioner 0..1 Practitioner 提出藥品請求的某健康照護服務提供者。 #xD; practitionerRole 0..1 PractitionerRole 提出藥品請求的某健康照護服務角色。 #xD; organization 0..1 Organization 提出藥品請求的某機構。 #xD; patient 0..1 Patient 提出藥品請求的某病人。 #xD; relatedPerson 0..1 RelatedPerson 提出藥品請求的某相關人士。 #xD; device 0..1 Device 提出藥品請求的某設備。 #xD; reasonReference 0..* BackboneElement 開立處方的原因。 #xD; condition 0..* Condition 開立處方的病情、問題或診斷原因。 #xD; observation 0..* Observation 開立處方的檢驗檢查原因。 #xD; note 0..* Annotation 關於處方的資訊。 #xD; dosageInstruction 0..* Dosage 應該如何用藥。 #xD; dispenseRequest 0..1 BackboneElement 藥品供應授權。 #xD; validityPeriod 0..1 Period 處方可用以配藥的有效期限。 #xD; numberOfRepeatsAllowed 0..1 unsignedInt 可重複領藥的次數。 #xD; expectedSupplyDuration 0..1 Duration 每次配藥可持續的天數。 #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationRequest
  l: TWMedicationRequest
version:
  v: 0.3.3
name:
  v: TWMedicationRequestModel
title:
  v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
status:
  v: active
date:
  v: 2025-11-21T02:34:57+00:00
contact:
  name:
    v: 衛生福利部
  telecom:
    system:
      v: url
    value:
      v: https://www.mohw.gov.tw/
  telecom:
    system:
      v: email
description:
  v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: TWMedicationRequest
  uri:
    v: https://twcore.mohw.gov.tw/ig/twcore
    l: twcore
  name:
    v: TW Core IG
kind:
  v: logical
abstract:
  v: false
type:
  v: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationRequest
  l: TWMedicationRequest
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: TWMedicationRequest
    path:
      v: TWMedicationRequest
    short:
      v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
    definition:
      v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: TWMedicationRequest
      map:
        v: TWCoreMedicationRequest
  element:
    id:
      v: TWMedicationRequest.identifier
    path:
      v: TWMedicationRequest.identifier
    short:
      v: 藥品請求的外部識別碼。
    definition:
      v: 藥品請求的外部識別碼。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWMedicationRequest.identifier
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Identifier
        l: Identifier
    mapping:
      identity:
        v: TWMedicationRequest
      map:
        v: TWCoreMedicationRequest.identifier
  element:
    id:
      v: TWMedicationRequest.status
    path:
      v: TWMedicationRequest.status
    short:
      v: 藥品請求的狀態。
    definition:
      v: 藥品請求的狀態。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWMedicationRequest.status
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: code
        l: code
    mapping:
      identity:
        v: TWMedicationRequest
      map:
        v: TWCoreMedicationRequest.status
  element:
    id:
      v: TWMedicationRequest.intent
    path:
      v: TWMedicationRequest.intent
    short:
      v: 藥品請求的意圖。
    definition:
      v: 藥品請求的意圖。
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: TWMedicationRequest.intent
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: code
        l: code
    mapping:
      identity:
        v: TWMedicationRequest
      map:
        v: TWCoreMedicationRequest.intent
  element:
    id:
      v: TWMedicationRequest.category
    path:
      v: TWMedicationRequest.category
    short:
      v: 藥品請求的類別。
    definition:
      v: 藥品請求的類別。
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: TWMedicationRequest.category
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: CodeableConcept
        l: CodeableConcept

identity:
  v: TWMedicationRequest
map:
  v: TWCoreMedicationRequest.category

id:
  v: TWMedicationRequest.medication
path:
  v: TWMedicationRequest.medication
short:
  v: 服用的藥品。
definition:
  v: 服用的藥品。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.medication
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TWMedicationRequest.medication.id
path:
  v: TWMedicationRequest.medication.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.medication.extension
path:
  v: TWMedicationRequest.medication.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.medication.modifierExtension
path:
  v: TWMedicationRequest.medication.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TWMedicationRequest.medication.medication
path:
  v: TWMedicationRequest.medication.medication
short:
  v: 藥品的定義。
definition:
  v: 藥品的定義。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.medication.medication
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Medication
    l: Medication
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.medication.Reference(TW Core Medication)

id:
  v: TWMedicationRequest.medication.code
path:
  v: TWMedicationRequest.medication.code
short:
  v: 服用的藥品。
definition:
  v: 服用的藥品。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.medication.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.medication

id:
  v: TWMedicationRequest.subject
path:
  v: TWMedicationRequest.subject
short:
  v: 開立此藥品請求的對象。
definition:
  v: 開立此藥品請求的對象。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TWMedicationRequest.subject.id
path:
  v: TWMedicationRequest.subject.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.subject.extension
path:
  v: TWMedicationRequest.subject.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.subject.modifierExtension
path:
  v: TWMedicationRequest.subject.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TWMedicationRequest.subject.patient
path:
  v: TWMedicationRequest.subject.patient
short:
  v: 開立此藥品請求的某病人。
definition:
  v: 開立此藥品請求的某病人。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.subject.patient
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.subject.Reference(TW Core Patient)

id:
  v: TWMedicationRequest.subject.group
path:
  v: TWMedicationRequest.subject.group
short:
  v: 開立此藥品請求的某團體/群體。
definition:
  v: 開立此藥品請求的某團體/群體。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.subject.group
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Group
    l: Group
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.subject.Reference(Group)

id:
  v: TWMedicationRequest.encounter
path:
  v: TWMedicationRequest.encounter
short:
  v: 與此藥品請求紀錄密切相關的就醫。
definition:
  v: 與此藥品請求紀錄密切相關的就醫。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Encounter
    l: Encounter
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.encounter.Reference(TW Core Encounter)

id:
  v: TWMedicationRequest.authoredOn
path:
  v: TWMedicationRequest.authoredOn
short:
  v: 藥品請求最初請求時間。
definition:
  v: 藥品請求最初請求時間。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.authoredOn
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.authoredOn

id:
  v: TWMedicationRequest.requester
path:
  v: TWMedicationRequest.requester
short:
  v: 提出藥品請求的人／對象。
definition:
  v: 提出藥品請求的人／對象。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TWMedicationRequest.requester.id
path:
  v: TWMedicationRequest.requester.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.requester.extension
path:
  v: TWMedicationRequest.requester.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.requester.modifierExtension
path:
  v: TWMedicationRequest.requester.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TWMedicationRequest.requester.practitioner
path:
  v: TWMedicationRequest.requester.practitioner
short:
  v: 提出藥品請求的某健康照護服務提供者。
definition:
  v: 提出藥品請求的某健康照護服務提供者。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.practitioner
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Practitioner
    l: Practitioner
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Practitioner)

id:
  v: TWMedicationRequest.requester.practitionerRole
path:
  v: TWMedicationRequest.requester.practitionerRole
short:
  v: 提出藥品請求的某健康照護服務角色。
definition:
  v: 提出藥品請求的某健康照護服務角色。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.practitionerRole
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: PractitionerRole
    l: PractitionerRole
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core PractitionerRole)

id:
  v: TWMedicationRequest.requester.organization
path:
  v: TWMedicationRequest.requester.organization
short:
  v: 提出藥品請求的某機構。
definition:
  v: 提出藥品請求的某機構。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Organization Hospital Department)

id:
  v: TWMedicationRequest.requester.patient
path:
  v: TWMedicationRequest.requester.patient
short:
  v: 提出藥品請求的某病人。
definition:
  v: 提出藥品請求的某病人。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.patient
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Patient)

id:
  v: TWMedicationRequest.requester.relatedPerson
path:
  v: TWMedicationRequest.requester.relatedPerson
short:
  v: 提出藥品請求的某相關人士。
definition:
  v: 提出藥品請求的某相關人士。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.relatedPerson
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(RelatedPerson)

id:
  v: TWMedicationRequest.requester.device
path:
  v: TWMedicationRequest.requester.device
short:
  v: 提出藥品請求的某設備。
definition:
  v: 提出藥品請求的某設備。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.requester.device
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Device
    l: Device
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(Device)

id:
  v: TWMedicationRequest.reasonReference
path:
  v: TWMedicationRequest.reasonReference
short:
  v: 開立處方的原因。
definition:
  v: 開立處方的原因。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWMedicationRequest.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TWMedicationRequest.reasonReference.id
path:
  v: TWMedicationRequest.reasonReference.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.reasonReference.extension
path:
  v: TWMedicationRequest.reasonReference.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.reasonReference.modifierExtension
path:
  v: TWMedicationRequest.reasonReference.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TWMedicationRequest.reasonReference.condition
path:
  v: TWMedicationRequest.reasonReference.condition
short:
  v: 開立處方的病情、問題或診斷原因。
definition:
  v: 開立處方的病情、問題或診斷原因。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWMedicationRequest.reasonReference.condition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Condition
    l: Condition
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.reasonReference.Reference(TW Core Condition)

id:
  v: TWMedicationRequest.reasonReference.observation
path:
  v: TWMedicationRequest.reasonReference.observation
short:
  v: 開立處方的檢驗檢查原因。
definition:
  v: 開立處方的檢驗檢查原因。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWMedicationRequest.reasonReference.observation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Observation
    l: Observation
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.reasonReference.Reference(TW Core Observation Laboratory Result)

id:
  v: TWMedicationRequest.note
path:
  v: TWMedicationRequest.note
short:
  v: 關於處方的資訊。
definition:
  v: 關於處方的資訊。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWMedicationRequest.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.note

id:
  v: TWMedicationRequest.dosageInstruction
path:
  v: TWMedicationRequest.dosageInstruction
short:
  v: 應該如何用藥。
definition:
  v: 應該如何用藥。
min:
  v: 0
max:
  v: *
base:
  path:
    v: TWMedicationRequest.dosageInstruction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Dosage
    l: Dosage
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dosageInstruction

id:
  v: TWMedicationRequest.dispenseRequest
path:
  v: TWMedicationRequest.dispenseRequest
short:
  v: 藥品供應授權。
definition:
  v: 藥品供應授權。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.dispenseRequest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest

id:
  v: TWMedicationRequest.dispenseRequest.id
path:
  v: TWMedicationRequest.dispenseRequest.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.dispenseRequest.extension
path:
  v: TWMedicationRequest.dispenseRequest.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TWMedicationRequest.dispenseRequest.modifierExtension
path:
  v: TWMedicationRequest.dispenseRequest.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TWMedicationRequest.dispenseRequest.validityPeriod
path:
  v: TWMedicationRequest.dispenseRequest.validityPeriod
short:
  v: 處方可用以配藥的有效期限。
definition:
  v: 處方可用以配藥的有效期限。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.dispenseRequest.validityPeriod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.validityPeriod

id:
  v: TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed
path:
  v: TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed
short:
  v: 可重複領藥的次數。
definition:
  v: 可重複領藥的次數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.numberOfRepeatsAllowed

id:
  v: TWMedicationRequest.dispenseRequest.expectedSupplyDuration
path:
  v: TWMedicationRequest.dispenseRequest.expectedSupplyDuration
short:
  v: 每次配藥可持續的天數。
definition:
  v: 每次配藥可持續的天數。
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TWMedicationRequest.dispenseRequest.expectedSupplyDuration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Duration
    l: Duration
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.expectedSupplyDuration

element:
  id:
    v: TWMedicationRequest
  path:
    v: TWMedicationRequest
  short:
    v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
  definition:
    v: 臺灣核心-藥品請求(TW Core MedicationRequest) 之資料模型
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest
element:
  id:
    v: TWMedicationRequest.identifier
  path:
    v: TWMedicationRequest.identifier
  short:
    v: 藥品請求的外部識別碼。
  definition:
    v: 藥品請求的外部識別碼。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.identifier
element:
  id:
    v: TWMedicationRequest.status
  path:
    v: TWMedicationRequest.status
  short:
    v: 藥品請求的狀態。
  definition:
    v: 藥品請求的狀態。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.status
element:
  id:
    v: TWMedicationRequest.intent
  path:
    v: TWMedicationRequest.intent
  short:
    v: 藥品請求的意圖。
  definition:
    v: 藥品請求的意圖。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.intent
element:
  id:
    v: TWMedicationRequest.category
  path:
    v: TWMedicationRequest.category
  short:
    v: 藥品請求的類別。
  definition:
    v: 藥品請求的類別。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.category
element:
  id:
    v: TWMedicationRequest.medication
  path:
    v: TWMedicationRequest.medication
  short:
    v: 服用的藥品。
  definition:
    v: 服用的藥品。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: TWMedicationRequest.medication.medication
  path:
    v: TWMedicationRequest.medication.medication
  short:
    v: 藥品的定義。
  definition:
    v: 藥品的定義。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Medication
      l: Medication
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.medication.Reference(TW Core Medication)
element:
  id:
    v: TWMedicationRequest.medication.code
  path:
    v: TWMedicationRequest.medication.code
  short:
    v: 服用的藥品。
  definition:
    v: 服用的藥品。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.medication
element:
  id:
    v: TWMedicationRequest.subject
  path:
    v: TWMedicationRequest.subject
  short:
    v: 開立此藥品請求的對象。
  definition:
    v: 開立此藥品請求的對象。
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: TWMedicationRequest.subject.patient
  path:
    v: TWMedicationRequest.subject.patient
  short:
    v: 開立此藥品請求的某病人。
  definition:
    v: 開立此藥品請求的某病人。
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Patient
      l: Patient
  mapping:
    identity:
      v: TWMedicationRequest
    map:
      v: TWCoreMedicationRequest.subject.Reference(TW Core Patient)

id:
  v: TWMedicationRequest.subject.group
path:
  v: TWMedicationRequest.subject.group
short:
  v: 開立此藥品請求的某團體/群體。
definition:
  v: 開立此藥品請求的某團體/群體。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Group
    l: Group
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.subject.Reference(Group)

id:
  v: TWMedicationRequest.encounter
path:
  v: TWMedicationRequest.encounter
short:
  v: 與此藥品請求紀錄密切相關的就醫。
definition:
  v: 與此藥品請求紀錄密切相關的就醫。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Encounter
    l: Encounter
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.encounter.Reference(TW Core Encounter)

id:
  v: TWMedicationRequest.authoredOn
path:
  v: TWMedicationRequest.authoredOn
short:
  v: 藥品請求最初請求時間。
definition:
  v: 藥品請求最初請求時間。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.authoredOn

id:
  v: TWMedicationRequest.requester
path:
  v: TWMedicationRequest.requester
short:
  v: 提出藥品請求的人／對象。
definition:
  v: 提出藥品請求的人／對象。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TWMedicationRequest.requester.practitioner
path:
  v: TWMedicationRequest.requester.practitioner
short:
  v: 提出藥品請求的某健康照護服務提供者。
definition:
  v: 提出藥品請求的某健康照護服務提供者。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Practitioner
    l: Practitioner
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Practitioner)

id:
  v: TWMedicationRequest.requester.practitionerRole
path:
  v: TWMedicationRequest.requester.practitionerRole
short:
  v: 提出藥品請求的某健康照護服務角色。
definition:
  v: 提出藥品請求的某健康照護服務角色。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: PractitionerRole
    l: PractitionerRole
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core PractitionerRole)

id:
  v: TWMedicationRequest.requester.organization
path:
  v: TWMedicationRequest.requester.organization
short:
  v: 提出藥品請求的某機構。
definition:
  v: 提出藥品請求的某機構。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Organization
    l: Organization
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Organization Hospital Department)

id:
  v: TWMedicationRequest.requester.patient
path:
  v: TWMedicationRequest.requester.patient
short:
  v: 提出藥品請求的某病人。
definition:
  v: 提出藥品請求的某病人。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Patient
    l: Patient
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(TW Core Patient)

id:
  v: TWMedicationRequest.requester.relatedPerson
path:
  v: TWMedicationRequest.requester.relatedPerson
short:
  v: 提出藥品請求的某相關人士。
definition:
  v: 提出藥品請求的某相關人士。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(RelatedPerson)

id:
  v: TWMedicationRequest.requester.device
path:
  v: TWMedicationRequest.requester.device
short:
  v: 提出藥品請求的某設備。
definition:
  v: 提出藥品請求的某設備。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Device
    l: Device
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.requester.Reference(Device)

id:
  v: TWMedicationRequest.reasonReference
path:
  v: TWMedicationRequest.reasonReference
short:
  v: 開立處方的原因。
definition:
  v: 開立處方的原因。
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TWMedicationRequest.reasonReference.condition
path:
  v: TWMedicationRequest.reasonReference.condition
short:
  v: 開立處方的病情、問題或診斷原因。
definition:
  v: 開立處方的病情、問題或診斷原因。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Condition
    l: Condition
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.reasonReference.Reference(TW Core Condition)

id:
  v: TWMedicationRequest.reasonReference.observation
path:
  v: TWMedicationRequest.reasonReference.observation
short:
  v: 開立處方的檢驗檢查原因。
definition:
  v: 開立處方的檢驗檢查原因。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Observation
    l: Observation
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.reasonReference.Reference(TW Core Observation Laboratory Result)

id:
  v: TWMedicationRequest.note
path:
  v: TWMedicationRequest.note
short:
  v: 關於處方的資訊。
definition:
  v: 關於處方的資訊。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.note

id:
  v: TWMedicationRequest.dosageInstruction
path:
  v: TWMedicationRequest.dosageInstruction
short:
  v: 應該如何用藥。
definition:
  v: 應該如何用藥。
min:
  v: 0
max:
  v: *
type:
  code:
    v: Dosage
    l: Dosage
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dosageInstruction

id:
  v: TWMedicationRequest.dispenseRequest
path:
  v: TWMedicationRequest.dispenseRequest
short:
  v: 藥品供應授權。
definition:
  v: 藥品供應授權。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest

id:
  v: TWMedicationRequest.dispenseRequest.validityPeriod
path:
  v: TWMedicationRequest.dispenseRequest.validityPeriod
short:
  v: 處方可用以配藥的有效期限。
definition:
  v: 處方可用以配藥的有效期限。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.validityPeriod

id:
  v: TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed
path:
  v: TWMedicationRequest.dispenseRequest.numberOfRepeatsAllowed
short:
  v: 可重複領藥的次數。
definition:
  v: 可重複領藥的次數。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.numberOfRepeatsAllowed

id:
  v: TWMedicationRequest.dispenseRequest.expectedSupplyDuration
path:
  v: TWMedicationRequest.dispenseRequest.expectedSupplyDuration
short:
  v: 每次配藥可持續的天數。
definition:
  v: 每次配藥可持續的天數。
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Duration
    l: Duration
mapping:
  identity:
    v: TWMedicationRequest
  map:
    v: TWCoreMedicationRequest.dispenseRequest.expectedSupplyDuration