ds-model
type: StructureDefinition
node role: treeRoot
id:
  v: ds-model
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ds-model Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> DSModel 0..* Element 調劑單張邏輯模型 Elements defined in Ancestors:@id, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="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.">extension #xD; hospital 1..1 BackboneElement 醫療機構基本資料 #xD; hospitalId 1..1 Identifier 醫療機構代碼 #xD; hospitalName 1..1 string 醫療機構名稱 #xD; hospitalTelecom 1..1 ContactPoint 醫療機構電話 #xD; dispensingId 1..1 Identifier 調劑機構代碼 #xD; dispensingName 1..1 string 調劑機構名稱 #xD; dispensingAddress 1..1 string 調劑機構地址 #xD; dispensingTelecom 1..1 ContactPoint 調劑機構電話 #xD; patientInformation 1..1 BackboneElement 病患基本資料 #xD; personalIDNumber 1..1 Identifier 身分證號 #xD; chartNo 0..1 Identifier 病歷號碼 #xD; name 1..1 string 姓名 #xD; gender 1..1 code 性別 #xD; birthDate 1..1 date 出生日期 #xD; age 1..1 Age 就診年齡 #xD; identityType 1..1 BackboneElement 就醫身分別 #xD; bodyWeight 0..1 Quantity 體重 #xD; outpatientInformation 1..1 BackboneElement 門診基本資料 #xD; opdDate 1..1 date 門診日期 #xD; department 1..1 string 科別 #xD; originalIdentifier 0..1 Identifier 原就醫識別碼 #xD; identifier 0..1 Identifier 就醫識別碼 #xD; note 1..1 Annotation 部分負擔代碼 #xD; medicaltreatmentNumber 0..1 Identifier 健保卡就醫序號 #xD; class 0..1 Coding 案件分類 #xD; type 0..1 CodeableConcept 給付類別 #xD; pharmacyServiceCode 0..1 Coding 藥事服務代碼 #xD; authorizationCode 0..1 Identifier 處方箋存取授權碼 #xD; belong 0..* CodeableConcept 歸屬 #xD; practitionerInformation 1..1 BackboneElement 醫事人員基本資料 #xD; physicianName 1..1 HumanName 醫師姓名 #xD; licenseNumber 0..1 Identifier 管制藥品使用執照號碼 #xD; physicianTelecom 0..1 ContactPoint 醫師聯絡電話 #x…
url:
  v: https://nhicore.nhi.gov.tw/empd/StructureDefinition/ds-model
version:
  v: 0.2.0
name:
  v: DSModel
title:
  v: 調劑單張-邏輯模型
status:
  v: active
date:
  v: 2024-04-20
publisher:
  v: NHI
contact:
  name:
    v: NHI
  telecom:
    system:
      v: url
    value:
      v: https://www.nhi.gov.tw/en/mp-2.html
description:
  v: 用於描述調劑單張邏輯模型
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: DS
  uri:
    v: https://nhicore.nhi.gov.tw/empd
  name:
    v: DSModel
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://nhicore.nhi.gov.tw/empd/StructureDefinition/DSModel
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: DSModel
    path:
      v: DSModel
    short:
      v: 調劑單張邏輯模型
    definition:
      v: 用於描述調劑單張邏輯模型
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    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
        link: http://hl7.org/fhir/StructureDefinition/Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: DSModel.id
    path:
      v: DSModel.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:
        value: url
      code:
        v: http://hl7.org/fhirpath/System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: DSModel.extension
    path:
      v: DSModel.extension
    slicing:
      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
    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
        link: http://hl7.org/fhir/StructureDefinition/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")])

url
v: string

v: value

v: url

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: DSModel.hospital
path:
  v: DSModel.hospital
short:
  v: 醫療機構基本資料
definition:
  v: 醫療機構基本資料
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.hospital.id
path:
  v: DSModel.hospital.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.hospital.extension
path:
  v: DSModel.hospital.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.hospital.modifierExtension
path:
  v: DSModel.hospital.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.hospital.hospitalId
path:
  v: DSModel.hospital.hospitalId
short:
  v: 醫療機構代碼
definition:
  v: 醫療機構代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.hospitalId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 醫療機構代碼:Organization.identifier.value

id:
  v: DSModel.hospital.hospitalName
path:
  v: DSModel.hospital.hospitalName
short:
  v: 醫療機構名稱
definition:
  v: 醫療機構名稱
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.hospitalName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 醫療機構名稱:Organization.name

id:
  v: DSModel.hospital.hospitalTelecom
path:
  v: DSModel.hospital.hospitalTelecom
short:
  v: 醫療機構電話
definition:
  v: 醫療機構電話
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.hospitalTelecom
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 醫療機構電話:Organization.telecom.value

id:
  v: DSModel.hospital.dispensingId
path:
  v: DSModel.hospital.dispensingId
short:
  v: 調劑機構代碼
definition:
  v: 調劑機構代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.dispensingId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 調劑機構代碼:Organization.identifier.value

id:
  v: DSModel.hospital.dispensingName
path:
  v: DSModel.hospital.dispensingName
short:
  v: 調劑機構名稱
definition:
  v: 調劑機構名稱
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.dispensingName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 調劑機構名稱:Organization.name

id:
  v: DSModel.hospital.dispensingAddress
path:
  v: DSModel.hospital.dispensingAddress
short:
  v: 調劑機構地址
definition:
  v: 調劑機構地址
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.dispensingAddress
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 調劑機構地址:Organization.address.text

id:
  v: DSModel.hospital.dispensingTelecom
path:
  v: DSModel.hospital.dispensingTelecom
short:
  v: 調劑機構電話
definition:
  v: 調劑機構電話
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.hospital.dispensingTelecom
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 調劑機構電話:Organization.telecom.value

id:
  v: DSModel.patientInformation
path:
  v: DSModel.patientInformation
short:
  v: 病患基本資料
definition:
  v: 病患基本資料
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.patientInformation.id
path:
  v: DSModel.patientInformation.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.patientInformation.extension
path:
  v: DSModel.patientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.patientInformation.modifierExtension
path:
  v: DSModel.patientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.patientInformation.personalIDNumber
path:
  v: DSModel.patientInformation.personalIDNumber
short:
  v: 身分證號
definition:
  v: 身分證號/護照號碼/居留證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.personalIDNumber
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 身分證號:Patient.identifier

id:
  v: DSModel.patientInformation.chartNo
path:
  v: DSModel.patientInformation.chartNo
short:
  v: 病歷號碼
definition:
  v: 開立處方箋機構之病人病歷號碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.chartNo
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 病歷號碼:Patient.identifier

id:
  v: DSModel.patientInformation.name
path:
  v: DSModel.patientInformation.name
short:
  v: 姓名
definition:
  v: 姓名
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 姓名:Patient.name

id:
  v: DSModel.patientInformation.gender
path:
  v: DSModel.patientInformation.gender
short:
  v: 性別
definition:
  v: 性別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.gender
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
mapping:
  identity:
    v: DS
  map:
    v: 性別:Patient.gender

id:
  v: DSModel.patientInformation.birthDate
path:
  v: DSModel.patientInformation.birthDate
short:
  v: 出生日期
definition:
  v: 出生日期。格式為西元YYYYMMDD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.birthDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 出生日期:birthDate

id:
  v: DSModel.patientInformation.age
path:
  v: DSModel.patientInformation.age
short:
  v: 就診年齡
definition:
  v: 就診年齡
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.age
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Age
mapping:
  identity:
    v: DS
  map:
    v: 就診年齡:Patient.extension

id:
  v: DSModel.patientInformation.identityType
path:
  v: DSModel.patientInformation.identityType
short:
  v: 就醫身分別
definition:
  v: 就醫身分別。健保/非健保
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.identityType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.patientInformation.bodyWeight
path:
  v: DSModel.patientInformation.bodyWeight
short:
  v: 體重
definition:
  v: 體重。若調劑藥物劑量須配合體重而有所調整，此欄位為必填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.patientInformation.bodyWeight
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity

id:
  v: DSModel.outpatientInformation
path:
  v: DSModel.outpatientInformation
short:
  v: 門診基本資料
definition:
  v: 門診基本資料
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.outpatientInformation.id
path:
  v: DSModel.outpatientInformation.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.outpatientInformation.extension
path:
  v: DSModel.outpatientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.outpatientInformation.modifierExtension
path:
  v: DSModel.outpatientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.outpatientInformation.opdDate
path:
  v: DSModel.outpatientInformation.opdDate
short:
  v: 門診日期
definition:
  v: 門診日期。等同開立處方日期，格式為西元YYYMMDD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.opdDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 門診日期:Encounter.period.star

id:
  v: DSModel.outpatientInformation.department
path:
  v: DSModel.outpatientInformation.department
short:
  v: 科別
definition:
  v: 科別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.department
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 科別:Encounter.serviceType

id:
  v: DSModel.outpatientInformation.originalIdentifier
path:
  v: DSModel.outpatientInformation.originalIdentifier
short:
  v: 原就醫識別碼
definition:
  v: 原就醫識別碼。醫療院所開立處方時之就醫識別碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.originalIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 原就醫識別碼:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.identifier
path:
  v: DSModel.outpatientInformation.identifier
short:
  v: 就醫識別碼
definition:
  v: 就醫識別碼。本次調劑處方所產製之就醫識別碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 就醫識別碼:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.note
path:
  v: DSModel.outpatientInformation.note
short:
  v: 部分負擔代碼
definition:
  v: 部分負擔代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.note
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 部分負擔代碼:Condition.note

id:
  v: DSModel.outpatientInformation.medicaltreatmentNumber
path:
  v: DSModel.outpatientInformation.medicaltreatmentNumber
short:
  v: 健保卡就醫序號
definition:
  v: 健保卡就醫序號
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.medicaltreatmentNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 健保卡就醫序號:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.class
path:
  v: DSModel.outpatientInformation.class
short:
  v: 案件分類
definition:
  v: 案件分類
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.class
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: DS
  map:
    v: 案件分類:Encounter.class

id:
  v: DSModel.outpatientInformation.type
path:
  v: DSModel.outpatientInformation.type
short:
  v: 給付類別
definition:
  v: 給付類別
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 給付類別:Coverage.type

id:
  v: DSModel.outpatientInformation.pharmacyServiceCode
path:
  v: DSModel.outpatientInformation.pharmacyServiceCode
short:
  v: 藥事服務代碼
definition:
  v: 藥事服務代碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.pharmacyServiceCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: DS
  map:
    v: 藥事服務代碼:ChargeItem.code

id:
  v: DSModel.outpatientInformation.authorizationCode
path:
  v: DSModel.outpatientInformation.authorizationCode
short:
  v: 處方箋存取授權碼
definition:
  v: 處方箋存取授權碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.outpatientInformation.authorizationCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 處方箋存取授權碼:MedicationRequest.identifier

id:
  v: DSModel.outpatientInformation.belong
path:
  v: DSModel.outpatientInformation.belong
short:
  v: 歸屬
definition:
  v: 歸屬。建議為計畫案之開立處方，如：藥事照護計畫、戒菸門診、COVID-19…等特殊案件代碼
min:
  v: 0
max:
  v: *
base:
  path:
    v: DSModel.outpatientInformation.belong
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 歸屬:Encounter.type

id:
  v: DSModel.practitionerInformation
path:
  v: DSModel.practitionerInformation
short:
  v: 醫事人員基本資料
definition:
  v: 醫事人員基本資料
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.practitionerInformation.id
path:
  v: DSModel.practitionerInformation.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.practitionerInformation.extension
path:
  v: DSModel.practitionerInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.practitionerInformation.modifierExtension
path:
  v: DSModel.practitionerInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.practitionerInformation.physicianName
path:
  v: DSModel.practitionerInformation.physicianName
short:
  v: 醫師姓名
definition:
  v: 醫師姓名
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation.physicianName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 醫師姓名:Practitioner.name

id:
  v: DSModel.practitionerInformation.licenseNumber
path:
  v: DSModel.practitionerInformation.licenseNumber
short:
  v: 管制藥品使用執照號碼
definition:
  v: 管制藥品使用執照號碼。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation.licenseNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 管制藥品使用執照號碼:Practitioner.identifier.value

id:
  v: DSModel.practitionerInformation.physicianTelecom
path:
  v: DSModel.practitionerInformation.physicianTelecom
short:
  v: 醫師聯絡電話
definition:
  v: 醫師聯絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation.physicianTelecom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 醫師聯絡電話:Practitioner.telecom.value

id:
  v: DSModel.practitionerInformation.professionalCertificate
path:
  v: DSModel.practitionerInformation.professionalCertificate
short:
  v: 調劑人員專業證書字號
definition:
  v: 調劑人員專業證書字號。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填。 此欄位等同藥師證書字號
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation.professionalCertificate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 調劑人員專業證書字號:Practitioner.qualification.identifier.value

id:
  v: DSModel.practitionerInformation.pharmacyPersonnelName
path:
  v: DSModel.practitionerInformation.pharmacyPersonnelName
short:
  v: 藥事人員姓名
definition:
  v: 藥事人員姓名。註：此為調製藥事人員姓名
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.practitionerInformation.pharmacyPersonnelName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 藥事人員姓名:Practitioner.name

id:
  v: DSModel.diagnosis
path:
  v: DSModel.diagnosis
short:
  v: 診斷
definition:
  v: 診斷
min:
  v: 1
max:
  v: *
base:
  path:
    v: DSModel.diagnosis
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.diagnosis.id
path:
  v: DSModel.diagnosis.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.diagnosis.extension
path:
  v: DSModel.diagnosis.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.diagnosis.modifierExtension
path:
  v: DSModel.diagnosis.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.diagnosis.code
path:
  v: DSModel.diagnosis.code
short:
  v: 國際疾病分類代碼 ICD Code(International Classification of Diseases)
definition:
  v: 國際疾病分類代碼 ICD Code(International Classification of Diseases)。應含主診斷或次診斷之ICD代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.diagnosis.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 國際疾病分類代碼 ICD Code(International Classification of Diseases):Condition.code

id:
  v: DSModel.diagnosis.note
path:
  v: DSModel.diagnosis.note
short:
  v: 醫療評估內容註記
definition:
  v: 醫療評估內容註記
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.diagnosis.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 醫療評估內容註記:Condition.note

id:
  v: DSModel.typeOfPrescriptionNo
path:
  v: DSModel.typeOfPrescriptionNo
short:
  v: 處方箋單號
definition:
  v: 處方箋單號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.typeOfPrescriptionNo
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 處方箋單號:MedicationRequest.identifier

id:
  v: DSModel.typesofPrescription
path:
  v: DSModel.typesofPrescription
short:
  v: 處方箋種類註記
definition:
  v: 處方箋種類註記。 填寫代碼如下 A：一般處方箋：處方用藥，一次給予7日(含)以下之用藥量 B：慢性病處方箋 C：慢性病連續處方箋 D：管制藥品專用處方箋(一般) E：管制藥品專用處方箋(慢箋) F：管制藥品專用處方箋（慢連箋）
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.typesofPrescription
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 處方箋種類註記:MedicationRequest.category

id:
  v: DSModel.typeOfPrescriptionNote
path:
  v: DSModel.typeOfPrescriptionNote
short:
  v: 須被合併之處方箋註記
definition:
  v: 須被合併之處方箋註記。合併請填是，預設值為「否」。說明：同時開立管制藥品及一般藥品時，須開立二張處方箋，並在這二張處方箋此欄位上註記「是」
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.typeOfPrescriptionNote
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 須被合併之處方箋註記:MedicationRequest.note

id:
  v: DSModel.typeOfPrescriptionDate
path:
  v: DSModel.typeOfPrescriptionDate
short:
  v: 處方箋有效日期
definition:
  v: 處方箋有效日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.typeOfPrescriptionDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.typeOfPrescriptionDate.id
path:
  v: DSModel.typeOfPrescriptionDate.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.typeOfPrescriptionDate.extension
path:
  v: DSModel.typeOfPrescriptionDate.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.typeOfPrescriptionDate.modifierExtension
path:
  v: DSModel.typeOfPrescriptionDate.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.typeOfPrescriptionDate.date
path:
  v: DSModel.typeOfPrescriptionDate.date
short:
  v: 處方箋有效日期
definition:
  v: 處方箋有效日期。包含第二次之後的建議領藥日期；格式為西元YYYYMMDD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.typeOfPrescriptionDate.date
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 處方箋有效日期:MedicationRequest.dispenseRequest.validityPeriod.end

id:
  v: DSModel.typeOfPrescriptionDate.note
path:
  v: DSModel.typeOfPrescriptionDate.note
short:
  v: 處方箋註銷註記
definition:
  v: 處方箋註銷註記。註銷請填Y，並至處方箋有效日期更新為處方箋註銷日期 說明：用於就醫當次未調劑處方或第2次(含)以後未調劑慢連箋處方之註銷
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.typeOfPrescriptionDate.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 處方箋註銷註記:MedicationRequest.note

id:
  v: DSModel.totalMedicationDays
path:
  v: DSModel.totalMedicationDays
short:
  v: 給藥總日份
definition:
  v: 給藥總日份
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.totalMedicationDays
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: positiveInt
mapping:
  identity:
    v: DS
  map:
    v: 給藥總日份:MedicationRequest.extension

id:
  v: DSModel.refillTimes
path:
  v: DSModel.refillTimes
short:
  v: 連續處方可調劑次數
definition:
  v: 連續處方可調劑次數
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.refillTimes
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: unsignedInt
mapping:
  identity:
    v: DS
  map:
    v: 連續處方可調劑次數:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed

id:
  v: DSModel.dispensingIdentifier
path:
  v: DSModel.dispensingIdentifier
short:
  v: 連續處方箋調劑序號
definition:
  v: 連續處方箋調劑序號
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 連續處方箋調劑序號:MedicationRequest.identifier.value

id:
  v: DSModel.dispensingContent
path:
  v: DSModel.dispensingContent
short:
  v: 調劑內容
definition:
  v: 調劑內容
min:
  v: 1
max:
  v: *
base:
  path:
    v: DSModel.dispensingContent
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.dispensingContent.id
path:
  v: DSModel.dispensingContent.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.dispensingContent.extension
path:
  v: DSModel.dispensingContent.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.dispensingContent.modifierExtension
path:
  v: DSModel.dispensingContent.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.dispensingContent.category
path:
  v: DSModel.dispensingContent.category
short:
  v: 醫令類別
definition:
  v: 醫令類別
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.category
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 醫令類別:MedicationDispense.category

id:
  v: DSModel.dispensingContent.item
path:
  v: DSModel.dispensingContent.item
short:
  v: 項次
definition:
  v: 項次
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.item
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 項次:MedicationDispense.identifier

id:
  v: DSModel.dispensingContent.healthInsuranceCode
path:
  v: DSModel.dispensingContent.healthInsuranceCode
short:
  v: 健保代碼
definition:
  v: 健保代碼
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.healthInsuranceCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
mapping:
  identity:
    v: DS
  map:
    v: 健保代碼:Medication.code
mapping:
  identity:
    v: DS
  map:
    v: 健保代碼:MedicationDispense.medication[x]:medicationCodeableConcept

id:
  v: DSModel.dispensingContent.brandName
path:
  v: DSModel.dispensingContent.brandName
short:
  v: 藥品商品名稱
definition:
  v: 藥品商品名稱。註：此為用於調製之藥品名稱
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.brandName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 藥品商品名稱:MedicationDispense.medication[x]:medicationCodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 藥品商品名稱:Medication.code

id:
  v: DSModel.dispensingContent.genericName
path:
  v: DSModel.dispensingContent.genericName
short:
  v: 學名
definition:
  v: 學名
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.genericName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 學名:MedicationDispense.medication[x]:medicationCodeableConcept.text
mapping:
  identity:
    v: DS
  map:
    v: 學名:Medication.code

id:
  v: DSModel.dispensingContent.batchNumber
path:
  v: DSModel.dispensingContent.batchNumber
short:
  v: 藥品批號
definition:
  v: 藥品批號
min:
  v: 0
max:
  v: *
base:
  path:
    v: DSModel.dispensingContent.batchNumber
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 藥品批號:Medication.identifier
mapping:
  identity:
    v: DS
  map:
    v: 藥品批號:MedicationDispense.identifier

id:
  v: DSModel.dispensingContent.reason
path:
  v: DSModel.dispensingContent.reason
short:
  v: 不得以其他廠牌藥品替代之理由
definition:
  v: 不得以其他廠牌藥品替代之理由。填寫說明：有特殊情況時才填寫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.reason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 不得以其他廠牌藥品替代之理由:MedicationDispense.substitution.reason

id:
  v: DSModel.dispensingContent.drugUnitContent
path:
  v: DSModel.dispensingContent.drugUnitContent
short:
  v: 藥品單位含量
definition:
  v: 藥品單位含量
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.drugUnitContent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Ratio
mapping:
  identity:
    v: DS
  map:
    v: 藥品單位含量:Medication.ingredient.strength

id:
  v: DSModel.dispensingContent.dosageForm
path:
  v: DSModel.dispensingContent.dosageForm
short:
  v: 劑型
definition:
  v: 劑型。如藥丸、藥水等
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.dosageForm
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 劑型:Medication.form

id:
  v: DSModel.dispensingContent.dose
path:
  v: DSModel.dispensingContent.dose
short:
  v: 劑量
definition:
  v: 劑量
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.dose
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
mapping:
  identity:
    v: DS
  map:
    v: 劑量:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.value

id:
  v: DSModel.dispensingContent.doseUnits
path:
  v: DSModel.dispensingContent.doseUnits
short:
  v: 劑量單位
definition:
  v: 劑量單位。如：顆、CC等
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.doseUnits
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 劑量單位:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.unit

id:
  v: DSModel.dispensingContent.frequency
path:
  v: DSModel.dispensingContent.frequency
short:
  v: 頻率
definition:
  v: 頻率
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.frequency
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: positiveInt
mapping:
  identity:
    v: DS
  map:
    v: 頻率:MedicationDispense.dosageInstruction.timing.repeat.frequency

id:
  v: DSModel.dispensingContent.usageTime
path:
  v: DSModel.dispensingContent.usageTime
short:
  v: 使用時間
definition:
  v: 使用時間。如：飯前後
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.usageTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 使用時間:MedicationDispense.dosageInstruction.timing.code

id:
  v: DSModel.dispensingContent.routeOfAdministration
path:
  v: DSModel.dispensingContent.routeOfAdministration
short:
  v: 給藥途徑
definition:
  v: 給藥途徑
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.routeOfAdministration
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 給藥途徑:MedicationDispense.dosageInstruction.route

id:
  v: DSModel.dispensingContent.medicationDays
path:
  v: DSModel.dispensingContent.medicationDays
short:
  v: 給藥日數
definition:
  v: 給藥日數
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.medicationDays
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
mapping:
  identity:
    v: DS
  map:
    v: 給藥日數:MedicationDispense.daysSupply

id:
  v: DSModel.dispensingContent.totalAmount
path:
  v: DSModel.dispensingContent.totalAmount
short:
  v: 給藥總量
definition:
  v: 給藥總量
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.totalAmount
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
mapping:
  identity:
    v: DS
  map:
    v: 給藥總量:MedicationDispense.quantity.value

id:
  v: DSModel.dispensingContent.totalUnits
path:
  v: DSModel.dispensingContent.totalUnits
short:
  v: 給藥總量單位
definition:
  v: 給藥總量單位。如：顆、CC、瓶等
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.totalUnits
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 給藥總量單位:MedicationDispense.quantity.unit

id:
  v: DSModel.dispensingContent.radiopharmaceuticalName
path:
  v: DSModel.dispensingContent.radiopharmaceuticalName
short:
  v: 調劑之核種名稱
definition:
  v: 調劑之核種名稱。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.radiopharmaceuticalName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 調劑之核種名稱:MedicationDispense.note

id:
  v: DSModel.dispensingContent.radiopharmaceuticalActivity
path:
  v: DSModel.dispensingContent.radiopharmaceuticalActivity
short:
  v: 調劑之放射活度
definition:
  v: 調劑之放射活度。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.radiopharmaceuticalActivity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 調劑之放射活度:MedicationDispense.note

id:
  v: DSModel.dispensingContent.completedRadiopharmaceuticalActivity
path:
  v: DSModel.dispensingContent.completedRadiopharmaceuticalActivity
short:
  v: 完成調劑之放射活度
definition:
  v: 完成調劑之放射活度。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.completedRadiopharmaceuticalActivity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 完成調劑之放射活度:MedicationDispense.note

id:
  v: DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals
path:
  v: DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals
short:
  v: 完成調劑之核醫放射性藥品數量
definition:
  v: 完成調劑之核醫放射性藥品數量。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 完成調劑之核醫放射性藥品數量:MedicationDispense.note

id:
  v: DSModel.dispensingContent.substitutedNote
path:
  v: DSModel.dispensingContent.substitutedNote
short:
  v: 有更換藥品註記
definition:
  v: 有更換藥品註記。預設為「無」 填寫說明： 有更換藥品時請填寫「有」 無有更換藥品請填寫「無」
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.substitutedNote
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
mapping:
  identity:
    v: DS
  map:
    v: 有更換藥品註記:MedicationDispense.substitution.wasSubstituted

id:
  v: DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag
path:
  v: DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag
short:
  v: 處方疑義樣態註記
definition:
  v: 處方疑義樣態註記。預設為「無」 填寫說明： 處方有疑義樣態時請填寫「有」 處方無疑義樣態請填寫「無」
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 處方疑義樣態註記:MedicationDispense.note

id:
  v: DSModel.dispensingContent.selfPayNote
path:
  v: DSModel.dispensingContent.selfPayNote
short:
  v: 自費註記
definition:
  v: 自費註記。自費標註為“Y”，健保給付標註為“N”
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.selfPayNote
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 自費註記:MedicationRequest.note

id:
  v: DSModel.dispensingContent.typeOfPrescriptionDispensingMethod
path:
  v: DSModel.dispensingContent.typeOfPrescriptionDispensingMethod
short:
  v: 醫令調劑方式
definition:
  v: 醫令調劑方式
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.typeOfPrescriptionDispensingMethod
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 醫令調劑方式:MedicationRequest.category

id:
  v: DSModel.dispensingContent.dosageInstruction
path:
  v: DSModel.dispensingContent.dosageInstruction
short:
  v: 用藥指示
definition:
  v: 用藥指示
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.dispensingContent.dosageInstruction
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 用藥指示:MedicationRequest.dosageInstruction.method

id:
  v: DSModel.dispensingTime
path:
  v: DSModel.dispensingTime
short:
  v: 調劑時間
definition:
  v: 調劑時間
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.dispensingTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 調劑時間:MedicationRequest.dispenseRequest.validityPeriod.start

id:
  v: DSModel.pickTime
path:
  v: DSModel.pickTime
short:
  v: 取藥時間
definition:
  v: 取藥時間
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DSModel.pickTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 取藥時間:MedicationRequest.authoredOn

id:
  v: DSModel.recipientInformation
path:
  v: DSModel.recipientInformation
short:
  v: 領藥者基本資料
definition:
  v: 領藥者基本資料
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.recipientInformation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: DSModel.recipientInformation.id
path:
  v: DSModel.recipientInformation.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.recipientInformation.extension
path:
  v: DSModel.recipientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DSModel.recipientInformation.modifierExtension
path:
  v: DSModel.recipientInformation.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: DSModel.recipientInformation.relationship
path:
  v: DSModel.recipientInformation.relationship
short:
  v: 與用藥對象之關係
definition:
  v: 與用藥對象之關係。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填 參考項目：本人、家屬、朋友、看護、志工、其他
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.recipientInformation.relationship
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 與用藥對象之關係:Patient.contact.relationship

id:
  v: DSModel.recipientInformation.name
path:
  v: DSModel.recipientInformation.name
short:
  v: 領藥者姓名
definition:
  v: 領藥者姓名。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.recipientInformation.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 領藥者姓名:Patient.contact.name

id:
  v: DSModel.recipientInformation.telecom
path:
  v: DSModel.recipientInformation.telecom
short:
  v: 領藥者連絡電話
definition:
  v: 領藥者連絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.recipientInformation.telecom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 領藥者連絡電話:Patient.contact.telecom

id:
  v: DSModel.recipientInformation.electronicSignature
path:
  v: DSModel.recipientInformation.electronicSignature
short:
  v: 領藥者電子簽章
definition:
  v: 領藥者電子簽章
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DSModel.recipientInformation.electronicSignature
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
mapping:
  identity:
    v: DS
  map:
    v: 領藥者電子簽章:Media.content

element:
  id:
    v: DSModel
  path:
    v: DSModel
  short:
    v: 調劑單張邏輯模型
  definition:
    v: 用於描述調劑單張邏輯模型
element:
  id:
    v: DSModel.hospital
  path:
    v: DSModel.hospital
  short:
    v: 醫療機構基本資料
  definition:
    v: 醫療機構基本資料
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: DSModel.hospital.hospitalId
  path:
    v: DSModel.hospital.hospitalId
  short:
    v: 醫療機構代碼
  definition:
    v: 醫療機構代碼
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
  mapping:
    identity:
      v: DS
    map:
      v: 醫療機構代碼:Organization.identifier.value
element:
  id:
    v: DSModel.hospital.hospitalName
  path:
    v: DSModel.hospital.hospitalName
  short:
    v: 醫療機構名稱
  definition:
    v: 醫療機構名稱
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
  mapping:
    identity:
      v: DS
    map:
      v: 醫療機構名稱:Organization.name
element:
  id:
    v: DSModel.hospital.hospitalTelecom
  path:
    v: DSModel.hospital.hospitalTelecom
  short:
    v: 醫療機構電話
  definition:
    v: 醫療機構電話
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: ContactPoint
  mapping:
    identity:
      v: DS
    map:
      v: 醫療機構電話:Organization.telecom.value
element:
  id:
    v: DSModel.hospital.dispensingId
  path:
    v: DSModel.hospital.dispensingId
  short:
    v: 調劑機構代碼
  definition:
    v: 調劑機構代碼
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
  mapping:
    identity:
      v: DS
    map:
      v: 調劑機構代碼:Organization.identifier.value
element:
  id:
    v: DSModel.hospital.dispensingName
  path:
    v: DSModel.hospital.dispensingName
  short:
    v: 調劑機構名稱
  definition:
    v: 調劑機構名稱
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
  mapping:
    identity:
      v: DS
    map:
      v: 調劑機構名稱:Organization.name
element:
  id:
    v: DSModel.hospital.dispensingAddress
  path:
    v: DSModel.hospital.dispensingAddress
  short:
    v: 調劑機構地址
  definition:
    v: 調劑機構地址
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
  mapping:
    identity:
      v: DS
    map:
      v: 調劑機構地址:Organization.address.text
element:
  id:
    v: DSModel.hospital.dispensingTelecom
  path:
    v: DSModel.hospital.dispensingTelecom
  short:
    v: 調劑機構電話
  definition:
    v: 調劑機構電話
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: ContactPoint
  mapping:
    identity:
      v: DS
    map:
      v: 調劑機構電話:Organization.telecom.value
element:
  id:
    v: DSModel.patientInformation
  path:
    v: DSModel.patientInformation
  short:
    v: 病患基本資料
  definition:
    v: 病患基本資料
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: DSModel.patientInformation.personalIDNumber
  path:
    v: DSModel.patientInformation.personalIDNumber
  short:
    v: 身分證號
  definition:
    v: 身分證號/護照號碼/居留證號
  min:
    v: 1
  max:
    v: 1

code:
  v: Identifier

identity:
  v: DS
map:
  v: 身分證號:Patient.identifier

id:
  v: DSModel.patientInformation.chartNo
path:
  v: DSModel.patientInformation.chartNo
short:
  v: 病歷號碼
definition:
  v: 開立處方箋機構之病人病歷號碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 病歷號碼:Patient.identifier

id:
  v: DSModel.patientInformation.name
path:
  v: DSModel.patientInformation.name
short:
  v: 姓名
definition:
  v: 姓名
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 姓名:Patient.name

id:
  v: DSModel.patientInformation.gender
path:
  v: DSModel.patientInformation.gender
short:
  v: 性別
definition:
  v: 性別
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
mapping:
  identity:
    v: DS
  map:
    v: 性別:Patient.gender

id:
  v: DSModel.patientInformation.birthDate
path:
  v: DSModel.patientInformation.birthDate
short:
  v: 出生日期
definition:
  v: 出生日期。格式為西元YYYYMMDD
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 出生日期:birthDate

id:
  v: DSModel.patientInformation.age
path:
  v: DSModel.patientInformation.age
short:
  v: 就診年齡
definition:
  v: 就診年齡
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Age
mapping:
  identity:
    v: DS
  map:
    v: 就診年齡:Patient.extension

id:
  v: DSModel.patientInformation.identityType
path:
  v: DSModel.patientInformation.identityType
short:
  v: 就醫身分別
definition:
  v: 就醫身分別。健保/非健保
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.patientInformation.bodyWeight
path:
  v: DSModel.patientInformation.bodyWeight
short:
  v: 體重
definition:
  v: 體重。若調劑藥物劑量須配合體重而有所調整，此欄位為必填
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity

id:
  v: DSModel.outpatientInformation
path:
  v: DSModel.outpatientInformation
short:
  v: 門診基本資料
definition:
  v: 門診基本資料
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.outpatientInformation.opdDate
path:
  v: DSModel.outpatientInformation.opdDate
short:
  v: 門診日期
definition:
  v: 門診日期。等同開立處方日期，格式為西元YYYMMDD
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 門診日期:Encounter.period.star

id:
  v: DSModel.outpatientInformation.department
path:
  v: DSModel.outpatientInformation.department
short:
  v: 科別
definition:
  v: 科別
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 科別:Encounter.serviceType

id:
  v: DSModel.outpatientInformation.originalIdentifier
path:
  v: DSModel.outpatientInformation.originalIdentifier
short:
  v: 原就醫識別碼
definition:
  v: 原就醫識別碼。醫療院所開立處方時之就醫識別碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 原就醫識別碼:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.identifier
path:
  v: DSModel.outpatientInformation.identifier
short:
  v: 就醫識別碼
definition:
  v: 就醫識別碼。本次調劑處方所產製之就醫識別碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 就醫識別碼:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.note
path:
  v: DSModel.outpatientInformation.note
short:
  v: 部分負擔代碼
definition:
  v: 部分負擔代碼
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 部分負擔代碼:Condition.note

id:
  v: DSModel.outpatientInformation.medicaltreatmentNumber
path:
  v: DSModel.outpatientInformation.medicaltreatmentNumber
short:
  v: 健保卡就醫序號
definition:
  v: 健保卡就醫序號
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 健保卡就醫序號:Encounter.identifier.value

id:
  v: DSModel.outpatientInformation.class
path:
  v: DSModel.outpatientInformation.class
short:
  v: 案件分類
definition:
  v: 案件分類
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: DS
  map:
    v: 案件分類:Encounter.class

id:
  v: DSModel.outpatientInformation.type
path:
  v: DSModel.outpatientInformation.type
short:
  v: 給付類別
definition:
  v: 給付類別
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 給付類別:Coverage.type

id:
  v: DSModel.outpatientInformation.pharmacyServiceCode
path:
  v: DSModel.outpatientInformation.pharmacyServiceCode
short:
  v: 藥事服務代碼
definition:
  v: 藥事服務代碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
mapping:
  identity:
    v: DS
  map:
    v: 藥事服務代碼:ChargeItem.code

id:
  v: DSModel.outpatientInformation.authorizationCode
path:
  v: DSModel.outpatientInformation.authorizationCode
short:
  v: 處方箋存取授權碼
definition:
  v: 處方箋存取授權碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 處方箋存取授權碼:MedicationRequest.identifier

id:
  v: DSModel.outpatientInformation.belong
path:
  v: DSModel.outpatientInformation.belong
short:
  v: 歸屬
definition:
  v: 歸屬。建議為計畫案之開立處方，如：藥事照護計畫、戒菸門診、COVID-19…等特殊案件代碼
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 歸屬:Encounter.type

id:
  v: DSModel.practitionerInformation
path:
  v: DSModel.practitionerInformation
short:
  v: 醫事人員基本資料
definition:
  v: 醫事人員基本資料
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.practitionerInformation.physicianName
path:
  v: DSModel.practitionerInformation.physicianName
short:
  v: 醫師姓名
definition:
  v: 醫師姓名
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 醫師姓名:Practitioner.name

id:
  v: DSModel.practitionerInformation.licenseNumber
path:
  v: DSModel.practitionerInformation.licenseNumber
short:
  v: 管制藥品使用執照號碼
definition:
  v: 管制藥品使用執照號碼。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 管制藥品使用執照號碼:Practitioner.identifier.value

id:
  v: DSModel.practitionerInformation.physicianTelecom
path:
  v: DSModel.practitionerInformation.physicianTelecom
short:
  v: 醫師聯絡電話
definition:
  v: 醫師聯絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 醫師聯絡電話:Practitioner.telecom.value

id:
  v: DSModel.practitionerInformation.professionalCertificate
path:
  v: DSModel.practitionerInformation.professionalCertificate
short:
  v: 調劑人員專業證書字號
definition:
  v: 調劑人員專業證書字號。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填。 此欄位等同藥師證書字號
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 調劑人員專業證書字號:Practitioner.qualification.identifier.value

id:
  v: DSModel.practitionerInformation.pharmacyPersonnelName
path:
  v: DSModel.practitionerInformation.pharmacyPersonnelName
short:
  v: 藥事人員姓名
definition:
  v: 藥事人員姓名。註：此為調製藥事人員姓名
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 藥事人員姓名:Practitioner.name

id:
  v: DSModel.diagnosis
path:
  v: DSModel.diagnosis
short:
  v: 診斷
definition:
  v: 診斷
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: DSModel.diagnosis.code
path:
  v: DSModel.diagnosis.code
short:
  v: 國際疾病分類代碼 ICD Code(International Classification of Diseases)
definition:
  v: 國際疾病分類代碼 ICD Code(International Classification of Diseases)。應含主診斷或次診斷之ICD代碼
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 國際疾病分類代碼 ICD Code(International Classification of Diseases):Condition.code

id:
  v: DSModel.diagnosis.note
path:
  v: DSModel.diagnosis.note
short:
  v: 醫療評估內容註記
definition:
  v: 醫療評估內容註記
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 醫療評估內容註記:Condition.note

id:
  v: DSModel.typeOfPrescriptionNo
path:
  v: DSModel.typeOfPrescriptionNo
short:
  v: 處方箋單號
definition:
  v: 處方箋單號
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 處方箋單號:MedicationRequest.identifier

id:
  v: DSModel.typesofPrescription
path:
  v: DSModel.typesofPrescription
short:
  v: 處方箋種類註記
definition:
  v: 處方箋種類註記。 填寫代碼如下 A：一般處方箋：處方用藥，一次給予7日(含)以下之用藥量 B：慢性病處方箋 C：慢性病連續處方箋 D：管制藥品專用處方箋(一般) E：管制藥品專用處方箋(慢箋) F：管制藥品專用處方箋（慢連箋）
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 處方箋種類註記:MedicationRequest.category

id:
  v: DSModel.typeOfPrescriptionNote
path:
  v: DSModel.typeOfPrescriptionNote
short:
  v: 須被合併之處方箋註記
definition:
  v: 須被合併之處方箋註記。合併請填是，預設值為「否」。說明：同時開立管制藥品及一般藥品時，須開立二張處方箋，並在這二張處方箋此欄位上註記「是」
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 須被合併之處方箋註記:MedicationRequest.note

id:
  v: DSModel.typeOfPrescriptionDate
path:
  v: DSModel.typeOfPrescriptionDate
short:
  v: 處方箋有效日期
definition:
  v: 處方箋有效日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.typeOfPrescriptionDate.date
path:
  v: DSModel.typeOfPrescriptionDate.date
short:
  v: 處方箋有效日期
definition:
  v: 處方箋有效日期。包含第二次之後的建議領藥日期；格式為西元YYYYMMDD
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 處方箋有效日期:MedicationRequest.dispenseRequest.validityPeriod.end

id:
  v: DSModel.typeOfPrescriptionDate.note
path:
  v: DSModel.typeOfPrescriptionDate.note
short:
  v: 處方箋註銷註記
definition:
  v: 處方箋註銷註記。註銷請填Y，並至處方箋有效日期更新為處方箋註銷日期 說明：用於就醫當次未調劑處方或第2次(含)以後未調劑慢連箋處方之註銷
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 處方箋註銷註記:MedicationRequest.note

id:
  v: DSModel.totalMedicationDays
path:
  v: DSModel.totalMedicationDays
short:
  v: 給藥總日份
definition:
  v: 給藥總日份
min:
  v: 1
max:
  v: 1
type:
  code:
    v: positiveInt
mapping:
  identity:
    v: DS
  map:
    v: 給藥總日份:MedicationRequest.extension

id:
  v: DSModel.refillTimes
path:
  v: DSModel.refillTimes
short:
  v: 連續處方可調劑次數
definition:
  v: 連續處方可調劑次數
min:
  v: 1
max:
  v: 1
type:
  code:
    v: unsignedInt
mapping:
  identity:
    v: DS
  map:
    v: 連續處方可調劑次數:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed

id:
  v: DSModel.dispensingIdentifier
path:
  v: DSModel.dispensingIdentifier
short:
  v: 連續處方箋調劑序號
definition:
  v: 連續處方箋調劑序號
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 連續處方箋調劑序號:MedicationRequest.identifier.value

id:
  v: DSModel.dispensingContent
path:
  v: DSModel.dispensingContent
short:
  v: 調劑內容
definition:
  v: 調劑內容
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement

id:
  v: DSModel.dispensingContent.category
path:
  v: DSModel.dispensingContent.category
short:
  v: 醫令類別
definition:
  v: 醫令類別
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 醫令類別:MedicationDispense.category

id:
  v: DSModel.dispensingContent.item
path:
  v: DSModel.dispensingContent.item
short:
  v: 項次
definition:
  v: 項次
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 項次:MedicationDispense.identifier

id:
  v: DSModel.dispensingContent.healthInsuranceCode
path:
  v: DSModel.dispensingContent.healthInsuranceCode
short:
  v: 健保代碼
definition:
  v: 健保代碼
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
mapping:
  identity:
    v: DS
  map:
    v: 健保代碼:Medication.code
mapping:
  identity:
    v: DS
  map:
    v: 健保代碼:MedicationDispense.medication[x]:medicationCodeableConcept

id:
  v: DSModel.dispensingContent.brandName
path:
  v: DSModel.dispensingContent.brandName
short:
  v: 藥品商品名稱
definition:
  v: 藥品商品名稱。註：此為用於調製之藥品名稱
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 藥品商品名稱:MedicationDispense.medication[x]:medicationCodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 藥品商品名稱:Medication.code

id:
  v: DSModel.dispensingContent.genericName
path:
  v: DSModel.dispensingContent.genericName
short:
  v: 學名
definition:
  v: 學名
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 學名:MedicationDispense.medication[x]:medicationCodeableConcept.text
mapping:
  identity:
    v: DS
  map:
    v: 學名:Medication.code

id:
  v: DSModel.dispensingContent.batchNumber
path:
  v: DSModel.dispensingContent.batchNumber
short:
  v: 藥品批號
definition:
  v: 藥品批號
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: DS
  map:
    v: 藥品批號:Medication.identifier
mapping:
  identity:
    v: DS
  map:
    v: 藥品批號:MedicationDispense.identifier

id:
  v: DSModel.dispensingContent.reason
path:
  v: DSModel.dispensingContent.reason
short:
  v: 不得以其他廠牌藥品替代之理由
definition:
  v: 不得以其他廠牌藥品替代之理由。填寫說明：有特殊情況時才填寫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 不得以其他廠牌藥品替代之理由:MedicationDispense.substitution.reason

id:
  v: DSModel.dispensingContent.drugUnitContent
path:
  v: DSModel.dispensingContent.drugUnitContent
short:
  v: 藥品單位含量
definition:
  v: 藥品單位含量
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Ratio
mapping:
  identity:
    v: DS
  map:
    v: 藥品單位含量:Medication.ingredient.strength

id:
  v: DSModel.dispensingContent.dosageForm
path:
  v: DSModel.dispensingContent.dosageForm
short:
  v: 劑型
definition:
  v: 劑型。如藥丸、藥水等
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 劑型:Medication.form

id:
  v: DSModel.dispensingContent.dose
path:
  v: DSModel.dispensingContent.dose
short:
  v: 劑量
definition:
  v: 劑量
min:
  v: 1
max:
  v: 1
type:
  code:
    v: decimal
mapping:
  identity:
    v: DS
  map:
    v: 劑量:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.value

id:
  v: DSModel.dispensingContent.doseUnits
path:
  v: DSModel.dispensingContent.doseUnits
short:
  v: 劑量單位
definition:
  v: 劑量單位。如：顆、CC等
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 劑量單位:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.unit

id:
  v: DSModel.dispensingContent.frequency
path:
  v: DSModel.dispensingContent.frequency
short:
  v: 頻率
definition:
  v: 頻率
min:
  v: 1
max:
  v: 1
type:
  code:
    v: positiveInt
mapping:
  identity:
    v: DS
  map:
    v: 頻率:MedicationDispense.dosageInstruction.timing.repeat.frequency

id:
  v: DSModel.dispensingContent.usageTime
path:
  v: DSModel.dispensingContent.usageTime
short:
  v: 使用時間
definition:
  v: 使用時間。如：飯前後
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 使用時間:MedicationDispense.dosageInstruction.timing.code

id:
  v: DSModel.dispensingContent.routeOfAdministration
path:
  v: DSModel.dispensingContent.routeOfAdministration
short:
  v: 給藥途徑
definition:
  v: 給藥途徑
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 給藥途徑:MedicationDispense.dosageInstruction.route

id:
  v: DSModel.dispensingContent.medicationDays
path:
  v: DSModel.dispensingContent.medicationDays
short:
  v: 給藥日數
definition:
  v: 給藥日數
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
mapping:
  identity:
    v: DS
  map:
    v: 給藥日數:MedicationDispense.daysSupply

id:
  v: DSModel.dispensingContent.totalAmount
path:
  v: DSModel.dispensingContent.totalAmount
short:
  v: 給藥總量
definition:
  v: 給藥總量
min:
  v: 1
max:
  v: 1
type:
  code:
    v: decimal
mapping:
  identity:
    v: DS
  map:
    v: 給藥總量:MedicationDispense.quantity.value

id:
  v: DSModel.dispensingContent.totalUnits
path:
  v: DSModel.dispensingContent.totalUnits
short:
  v: 給藥總量單位
definition:
  v: 給藥總量單位。如：顆、CC、瓶等
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: DS
  map:
    v: 給藥總量單位:MedicationDispense.quantity.unit

id:
  v: DSModel.dispensingContent.radiopharmaceuticalName
path:
  v: DSModel.dispensingContent.radiopharmaceuticalName
short:
  v: 調劑之核種名稱
definition:
  v: 調劑之核種名稱。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 調劑之核種名稱:MedicationDispense.note

id:
  v: DSModel.dispensingContent.radiopharmaceuticalActivity
path:
  v: DSModel.dispensingContent.radiopharmaceuticalActivity
short:
  v: 調劑之放射活度
definition:
  v: 調劑之放射活度。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 調劑之放射活度:MedicationDispense.note

id:
  v: DSModel.dispensingContent.completedRadiopharmaceuticalActivity
path:
  v: DSModel.dispensingContent.completedRadiopharmaceuticalActivity
short:
  v: 完成調劑之放射活度
definition:
  v: 完成調劑之放射活度。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 完成調劑之放射活度:MedicationDispense.note

id:
  v: DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals
path:
  v: DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals
short:
  v: 完成調劑之核醫放射性藥品數量
definition:
  v: 完成調劑之核醫放射性藥品數量。僅調劑核醫放射性藥品須填寫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 完成調劑之核醫放射性藥品數量:MedicationDispense.note

id:
  v: DSModel.dispensingContent.substitutedNote
path:
  v: DSModel.dispensingContent.substitutedNote
short:
  v: 有更換藥品註記
definition:
  v: 有更換藥品註記。預設為「無」 填寫說明： 有更換藥品時請填寫「有」 無有更換藥品請填寫「無」
min:
  v: 1
max:
  v: 1
type:
  code:
    v: boolean
mapping:
  identity:
    v: DS
  map:
    v: 有更換藥品註記:MedicationDispense.substitution.wasSubstituted

id:
  v: DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag
path:
  v: DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag
short:
  v: 處方疑義樣態註記
definition:
  v: 處方疑義樣態註記。預設為「無」 填寫說明： 處方有疑義樣態時請填寫「有」 處方無疑義樣態請填寫「無」
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 處方疑義樣態註記:MedicationDispense.note

id:
  v: DSModel.dispensingContent.selfPayNote
path:
  v: DSModel.dispensingContent.selfPayNote
short:
  v: 自費註記
definition:
  v: 自費註記。自費標註為“Y”，健保給付標註為“N”
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
mapping:
  identity:
    v: DS
  map:
    v: 自費註記:MedicationRequest.note

id:
  v: DSModel.dispensingContent.typeOfPrescriptionDispensingMethod
path:
  v: DSModel.dispensingContent.typeOfPrescriptionDispensingMethod
short:
  v: 醫令調劑方式
definition:
  v: 醫令調劑方式
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 醫令調劑方式:MedicationRequest.category

id:
  v: DSModel.dispensingContent.dosageInstruction
path:
  v: DSModel.dispensingContent.dosageInstruction
short:
  v: 用藥指示
definition:
  v: 用藥指示
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 用藥指示:MedicationRequest.dosageInstruction.method

id:
  v: DSModel.dispensingTime
path:
  v: DSModel.dispensingTime
short:
  v: 調劑時間
definition:
  v: 調劑時間
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 調劑時間:MedicationRequest.dispenseRequest.validityPeriod.start

id:
  v: DSModel.pickTime
path:
  v: DSModel.pickTime
short:
  v: 取藥時間
definition:
  v: 取藥時間
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
mapping:
  identity:
    v: DS
  map:
    v: 取藥時間:MedicationRequest.authoredOn

id:
  v: DSModel.recipientInformation
path:
  v: DSModel.recipientInformation
short:
  v: 領藥者基本資料
definition:
  v: 領藥者基本資料
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement

id:
  v: DSModel.recipientInformation.relationship
path:
  v: DSModel.recipientInformation.relationship
short:
  v: 與用藥對象之關係
definition:
  v: 與用藥對象之關係。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填 參考項目：本人、家屬、朋友、看護、志工、其他
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: DS
  map:
    v: 與用藥對象之關係:Patient.contact.relationship

id:
  v: DSModel.recipientInformation.name
path:
  v: DSModel.recipientInformation.name
short:
  v: 領藥者姓名
definition:
  v: 領藥者姓名。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: DS
  map:
    v: 領藥者姓名:Patient.contact.name

id:
  v: DSModel.recipientInformation.telecom
path:
  v: DSModel.recipientInformation.telecom
short:
  v: 領藥者連絡電話
definition:
  v: 領藥者連絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填
min:
  v: 0
max:
  v: 1
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: DS
  map:
    v: 領藥者連絡電話:Patient.contact.telecom

id:
  v: DSModel.recipientInformation.electronicSignature
path:
  v: DSModel.recipientInformation.electronicSignature
short:
  v: 領藥者電子簽章
definition:
  v: 領藥者電子簽章
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Attachment
mapping:
  identity:
    v: DS
  map:
    v: 領藥者電子簽章:Media.content