ApplyImmModel
type: StructureDefinition
node role: treeRoot
id:
  v: ApplyImmModel
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ApplyImmModel Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> ApplyImmModel 0..* Base 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型 #xD; hosp 1..1 BackboneElement 院所資訊 #xD; hospId 1..1 string 醫事機構代碼，必須存在於醫事機構基本資料檔內 #xD; applType 1..1 CodeableConcept 申報類別 #xD; funcType 1..1 CodeableConcept 就醫科別 #xD; applPrsnId 1..1 string 申請醫師身分證號 #xD; applDate 1..1 dateTime 申請日期，機構自填 #xD; immediateDate 0..1 instant 緊急報備日期，機構自填 #xD; tmhbType 1..1 CodeableConcept 申請案件類別 #xD; oldAcptNo 0..1 string 原受理編號 #xD; patient 1..1 BackboneElement 病人資訊 #xD; name 1..1 HumanName 姓名 #xD; idCard 1..1 string 身分證字號 #xD; patId 0..1 string 病歷號 #xD; birthday 1..1 date 出生日期 #xD; gender 1..1 code 病人性別 #xD; weight 1..1 decimal 病人體重 #xD; height 1..1 decimal 病人身高 #xD; pregnant 0..1 boolean 是否懷孕或哺乳 #xD; blood 0..1 code 血型 #xD; allergy 0..1 CodeableConcept 過敏史 #xD; opd 1..* BackboneElement 門診病歷 #xD; hospId 0..1 string 醫事機構代碼，必須存在於醫事機構基本資料檔內 #xD; funcDate 0..1 dateTime 門診日期 #xD; funcType 0..1 code 科別 #xD; prsnIId 0..1 string 門診醫師身分證號 #xD; icd10cmCode 0..1 code 診斷 #xD; subjective 0..1 string 主觀描述 #xD; objective 0..1 string 客觀描述 #xD; assessment 0..1 string 評估 #xD; plan 0..1 string 計畫 #xD; diagnosis 1..1 BackboneElement 疾病資訊 #xD; =2)">icd10cmCode 1..* code 國際疾病分類代碼 (sequence=1)，共病症 (sequence>=2) #xD; diagDate 1..1 date 診斷日期，sequence=1必填 #xD; diagCurrentStatus 0..* code 簡要病摘。連結院內HIS系統之簡要病摘，或填寫原事前審查之申請理由。 #xD; medrec 0..* code 病歷資料（非屬影像報告檢查驗報告部分） #xD; medrecTitle 0..* code 病歷資料名稱 #xD; imageStudy 0..* BackboneElement 影像報告 #xD; imgItem 1..1 CodeableConcept 影像報告 #xD; imgResult 1..1 CodeableConcept 影像報告結果 #xD; imgBodySite 0..1 string 影像檢查的身體部位 #xD; imgDate 1..1 date 影像報告日期 #xD; imgDicom 0..1 url DICOM影像 #xD; imgNonDicom 0..1 url 非DICOM影像 #xD; imgInterpreter 1..1 string 簽發影像報告醫師身分證號 #xD; examinationReport 0..* BackboneElement 檢查報告 #xD; reportType 1..1 CodeableConcept 報告類型 #xD; speType 0..1 string 檢體種類 #xD; reportResult 0…
url:
  v: https://nhicore.nhi.gov.tw/pas/StructureDefinition/ApplyImmModel
  l: ApplyImmModel
version:
  v: 1.1.0
name:
  v: ApplyImmModel
title:
  v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型
status:
  v: active
date:
  v: 2025-12-04T14:34:29+00:00
publisher:
  v: 衛生福利部中央健康保險署
contact:
  name:
    v: 衛生福利部中央健康保險署
  telecom:
    system:
      v: url
    value:
      v: https://www.nhi.gov.tw
description:
  v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型，此邏輯模型為定義免疫製劑事前審查情境下使用的所有資料欄位。 為了便於實作者快速理解，資料欄位會使用易於理解的命名，實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目（element）。亦可配合[視覺化邏輯模型圖](vision-imm.html)進行欄位對應
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://nhicore.nhi.gov.tw/pas/StructureDefinition/ApplyImmModel
  l: ApplyImmModel
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: ApplyImmModel
    path:
      v: ApplyImmModel
    short:
      v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型
    definition:
      v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型，此邏輯模型為定義免疫製劑事前審查情境下使用的所有資料欄位。 為了便於實作者快速理解，資料欄位會使用易於理解的命名，實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目（element）。亦可配合[視覺化邏輯模型圖](vision-imm.html)進行欄位對應
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: ApplyImmModel.hosp
    path:
      v: ApplyImmModel.hosp
    short:
      v: 院所資訊
    definition:
      v: 院所資訊
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: ApplyImmModel.hosp
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
  element:
    id:
      v: ApplyImmModel.hosp.id
    path:
      v: ApplyImmModel.hosp.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
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: ApplyImmModel.hosp.extension
    path:
      v: ApplyImmModel.hosp.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
        l: Extension
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    constraint:
      key:
        v: ext-1

Url
v: string
l: string

v: value

v: url

v: error

v: Must have either extensions or value[x], not both

v: extension.exists() != value.exists()

v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])

v: false

v: false

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

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

id:
  v: ApplyImmModel.hosp.hospId
path:
  v: ApplyImmModel.hosp.hospId
short:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
definition:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.hospId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.hosp.applType
path:
  v: ApplyImmModel.hosp.applType
short:
  v: 申報類別
definition:
  v: 申報類別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.applType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.hosp.funcType
path:
  v: ApplyImmModel.hosp.funcType
short:
  v: 就醫科別
definition:
  v: 就醫科別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.funcType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.hosp.applPrsnId
path:
  v: ApplyImmModel.hosp.applPrsnId
short:
  v: 申請醫師身分證號
definition:
  v: 申請醫師身分證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.applPrsnId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.hosp.applDate
path:
  v: ApplyImmModel.hosp.applDate
short:
  v: 申請日期，機構自填
definition:
  v: 申請日期，機構自填
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.applDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.hosp.immediateDate
path:
  v: ApplyImmModel.hosp.immediateDate
short:
  v: 緊急報備日期，機構自填
definition:
  v: 緊急報備日期，機構自填
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.immediateDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: instant
    l: instant

id:
  v: ApplyImmModel.hosp.tmhbType
path:
  v: ApplyImmModel.hosp.tmhbType
short:
  v: 申請案件類別
definition:
  v: 申請案件類別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.tmhbType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.hosp.oldAcptNo
path:
  v: ApplyImmModel.hosp.oldAcptNo
short:
  v: 原受理編號
definition:
  v: 原受理編號
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.hosp.oldAcptNo
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.patient
path:
  v: ApplyImmModel.patient
short:
  v: 病人資訊
definition:
  v: 病人資訊
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.patient.name
path:
  v: ApplyImmModel.patient.name
short:
  v: 姓名
definition:
  v: 姓名
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
    l: HumanName

id:
  v: ApplyImmModel.patient.idCard
path:
  v: ApplyImmModel.patient.idCard
short:
  v: 身分證字號
definition:
  v: 身分證字號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.idCard
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.patient.patId
path:
  v: ApplyImmModel.patient.patId
short:
  v: 病歷號
definition:
  v: 病歷號 (參與醫院必須註冊命名系統)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.patId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.patient.birthday
path:
  v: ApplyImmModel.patient.birthday
short:
  v: 出生日期
definition:
  v: 出生日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.birthday
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.patient.gender
path:
  v: ApplyImmModel.patient.gender
short:
  v: 病人性別
definition:
  v: 病人性別
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.gender
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.patient.weight
path:
  v: ApplyImmModel.patient.weight
short:
  v: 病人體重
definition:
  v: 病人體重
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.weight
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.patient.height
path:
  v: ApplyImmModel.patient.height
short:
  v: 病人身高
definition:
  v: 病人身高
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.height
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.patient.pregnant
path:
  v: ApplyImmModel.patient.pregnant
short:
  v: 是否懷孕或哺乳
definition:
  v: 是否懷孕或哺乳
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.pregnant
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: ApplyImmModel.patient.blood
path:
  v: ApplyImmModel.patient.blood
short:
  v: 血型
definition:
  v: 血型
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.blood
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.patient.allergy
path:
  v: ApplyImmModel.patient.allergy
short:
  v: 過敏史
definition:
  v: 過敏史
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.patient.allergy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.opd
path:
  v: ApplyImmModel.opd
short:
  v: 門診病歷
definition:
  v: 門診病歷
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.opd
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.opd.hospId
path:
  v: ApplyImmModel.opd.hospId
short:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
definition:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.hospId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.funcDate
path:
  v: ApplyImmModel.opd.funcDate
short:
  v: 門診日期
definition:
  v: 門診日期
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.funcDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.opd.funcType
path:
  v: ApplyImmModel.opd.funcType
short:
  v: 科別
definition:
  v: 科別
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.funcType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.opd.prsnIId
path:
  v: ApplyImmModel.opd.prsnIId
short:
  v: 門診醫師身分證號
definition:
  v: 門診醫師身分證號
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.prsnIId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.icd10cmCode
path:
  v: ApplyImmModel.opd.icd10cmCode
short:
  v: 診斷
definition:
  v: 診斷
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.icd10cmCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.opd.subjective
path:
  v: ApplyImmModel.opd.subjective
short:
  v: 主觀描述
definition:
  v: 主觀描述
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.subjective
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.objective
path:
  v: ApplyImmModel.opd.objective
short:
  v: 客觀描述
definition:
  v: 客觀描述
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.objective
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.assessment
path:
  v: ApplyImmModel.opd.assessment
short:
  v: 評估
definition:
  v: 評估
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.assessment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.plan
path:
  v: ApplyImmModel.opd.plan
short:
  v: 計畫
definition:
  v: 計畫
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.opd.plan
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis
path:
  v: ApplyImmModel.diagnosis
short:
  v: 疾病資訊
definition:
  v: 疾病資訊
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

id:
  v: ApplyImmModel.diagnosis.extension
path:
  v: ApplyImmModel.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
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ApplyImmModel.diagnosis.modifierExtension
path:
  v: ApplyImmModel.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
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ApplyImmModel.diagnosis.icd10cmCode
path:
  v: ApplyImmModel.diagnosis.icd10cmCode
short:
  v: 國際疾病分類代碼 (sequence=1)，共病症 (sequence>=2)
definition:
  v: 國際疾病分類代碼 (sequence=1)，共病症 (sequence>=2)
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.icd10cmCode
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.diagDate
path:
  v: ApplyImmModel.diagnosis.diagDate
short:
  v: 診斷日期，sequence=1必填
definition:
  v: YYYYMMDD，西元年月日，民國前為負數，sequence=1時為必填
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.diagDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.diagnosis.diagCurrentStatus
path:
  v: ApplyImmModel.diagnosis.diagCurrentStatus
short:
  v: 簡要病摘。連結院內HIS系統之簡要病摘，或填寫原事前審查之申請理由。
definition:
  v: 簡要病摘。連結院內HIS系統之簡要病摘，或填寫原事前審查之申請理由。
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.diagCurrentStatus
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.medrec
path:
  v: ApplyImmModel.diagnosis.medrec
short:
  v: 病歷資料（非屬影像報告檢查驗報告部分）
definition:
  v: 病歷資料（非屬影像報告檢查驗報告部分）
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.medrec
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.medrecTitle
path:
  v: ApplyImmModel.diagnosis.medrecTitle
short:
  v: 病歷資料名稱
definition:
  v: 病歷資料名稱
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.medrecTitle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.imageStudy
path:
  v: ApplyImmModel.diagnosis.imageStudy
short:
  v: 影像報告
definition:
  v: 影像報告
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgItem
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgItem
short:
  v: 影像報告
definition:
  v: 影像報告
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgItem
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgResult
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgResult
short:
  v: 影像報告結果
definition:
  v: 影像報告結果
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgResult
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgBodySite
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgBodySite
short:
  v: 影像檢查的身體部位
definition:
  v: 影像檢查的身體部位
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgBodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgDate
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgDate
short:
  v: 影像報告日期
definition:
  v: 影像報告日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgDicom
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgDicom
short:
  v: DICOM影像
definition:
  v: DICOM影像
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgDicom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: url
    l: url

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgNonDicom
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgNonDicom
short:
  v: 非DICOM影像
definition:
  v: 非DICOM影像
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgNonDicom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: url
    l: url

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgInterpreter
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgInterpreter
short:
  v: 簽發影像報告醫師身分證號
definition:
  v: 簽發影像報告醫師身分證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.imageStudy.imgInterpreter
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport
path:
  v: ApplyImmModel.diagnosis.examinationReport
short:
  v: 檢查報告
definition:
  v: 檢查報告
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportType
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportType
short:
  v: 報告類型
definition:
  v: 報告類型。當LOINC無法具體描述檢體種類（例如：`47526-9`時），請填寫及補充說明檢體種類。
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.examinationReport.speType
path:
  v: ApplyImmModel.diagnosis.examinationReport.speType
short:
  v: 檢體種類
definition:
  v: 檢體種類
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.speType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult
short:
  v: 檢查報告結果
definition:
  v: 檢查報告結果
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportResult
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultString
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultString
short:
  v: 檢查報告結果（文數字）
definition:
  v: 檢查報告結果-文數字與base64Binary應擇一填寫
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultString
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdf
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdf
short:
  v: 檢查報告結果（檔案路徑）
definition:
  v: 檢查報告結果-文數字與base64Binary應擇一填寫
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle
short:
  v: 檢查報告名稱
definition:
  v: 檢查報告名稱
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportDate
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportDate
short:
  v: 報告日期
definition:
  v: 報告日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportPerformer
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportPerformer
short:
  v: 檢查報告醫師身分證號
definition:
  v: 檢查報告醫師身分證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.diagnosis.examinationReport.reportPerformer
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate
path:
  v: ApplyImmModel.evaluate
short:
  v: 評估資訊
definition:
  v: 評估資訊
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.evaluate.tests
path:
  v: ApplyImmModel.evaluate.tests
short:
  v: 檢驗(查)
definition:
  v: 檢驗(查)
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.tests
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.evaluate.tests.inspect
path:
  v: ApplyImmModel.evaluate.tests.inspect
short:
  v: 檢驗(查)名稱或套組代碼
definition:
  v: 檢驗(查)名稱或套組代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspect
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.tests.inspectResultTxt
path:
  v: ApplyImmModel.evaluate.tests.inspectResultTxt
short:
  v: 檢驗(查)結果判讀
definition:
  v: 檢驗(查)結果判讀
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectResultTxt
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.tests.inspectResult[x]
path:
  v: ApplyImmModel.evaluate.tests.inspectResult[x]
short:
  v: 檢驗(查)結果
definition:
  v: 檢驗(查)結果
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectResult[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: integer
    l: integer

id:
  v: ApplyImmModel.evaluate.tests.consultValueLower
path:
  v: ApplyImmModel.evaluate.tests.consultValueLower
short:
  v: 檢驗(查)結果之參考範圍下限
definition:
  v: 檢驗(查)結果之參考範圍下限
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.consultValueLower
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.evaluate.tests.consultValueMax
path:
  v: ApplyImmModel.evaluate.tests.consultValueMax
short:
  v: 檢驗(查)結果之參考範圍上限
definition:
  v: 檢驗(查)結果之參考範圍上限
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.consultValueMax
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.evaluate.tests.consultValueCat
path:
  v: ApplyImmModel.evaluate.tests.consultValueCat
short:
  v: 檢驗(查)結果之參考範圍類型
definition:
  v: 檢驗(查)結果之參考範圍類型
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.consultValueCat
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.consultValueDesc
path:
  v: ApplyImmModel.evaluate.tests.consultValueDesc
short:
  v: 檢驗(查)結果之參考範圍說明
definition:
  v: 檢驗(查)結果之參考範圍說明
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.consultValueDesc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectSet
path:
  v: ApplyImmModel.evaluate.tests.inspectSet
short:
  v: 套組中的的檢驗
definition:
  v: 套組中的的檢驗
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectSet
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Observation
    l: Observation

id:
  v: ApplyImmModel.evaluate.tests.caseTime
path:
  v: ApplyImmModel.evaluate.tests.caseTime
short:
  v: 檢驗(查)報告日期
definition:
  v: 檢驗(查)報告日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.caseTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectPdf
path:
  v: ApplyImmModel.evaluate.tests.inspectPdf
short:
  v: 檢驗(查)附件（檔案路徑）
definition:
  v: 檢驗(查)附件（檔案路徑）
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectPdf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.evaluate.tests.inspectPdfTitle
path:
  v: ApplyImmModel.evaluate.tests.inspectPdfTitle
short:
  v: 檢驗(查)附件名稱
definition:
  v: 檢驗(查)附件名稱
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectPdfTitle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectPerformer
path:
  v: ApplyImmModel.evaluate.tests.inspectPerformer
short:
  v: 簽發檢驗(查)報告醫事人員身分證號
definition:
  v: 簽發檢驗(查)報告醫事人員身分證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.tests.inspectPerformer
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment
path:
  v: ApplyImmModel.evaluate.patientAssessment
short:
  v: 病人狀態評估
definition:
  v: 病人狀態評估
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAst
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAst
short:
  v: 病人狀態評估項目代碼
definition:
  v: 病人狀態評估項目代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAst
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstResult
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstResult
short:
  v: 病人狀態評估結果
definition:
  v: 病人狀態評估結果
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAstResult
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstDate
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstDate
short:
  v: 病人狀態評估日期
definition:
  v: 病人狀態評估日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAstDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdf
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdf
short:
  v: 病人狀態評估報告
definition:
  v: 病人狀態評估報告
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAstPdf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdfTitle
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdfTitle
short:
  v: 病人狀態評估報告名稱（檔案路徑）
definition:
  v: 病人狀態評估報告名稱（檔案路徑）
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAstPdfTitle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPerformer
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPerformer
short:
  v: 評估項目醫事人員身分證號
definition:
  v: 評估項目醫事人員身分證號
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.evaluate.patientAssessment.patAstPerformer
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.treat
path:
  v: ApplyImmModel.treat
short:
  v: 治療資訊
definition:
  v: 治療資訊
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

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

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

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

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

id:
  v: ApplyImmModel.treat.medicationRequest.drugType
path:
  v: ApplyImmModel.treat.medicationRequest.drugType
short:
  v: 自費註記
definition:
  v: 自費註記
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.drugType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugStatus
path:
  v: ApplyImmModel.treat.medicationRequest.drugStatus
short:
  v: 藥物使用狀態
definition:
  v: 藥物使用狀態
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.drugStatus
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.medicationRequest.drugCode
path:
  v: ApplyImmModel.treat.medicationRequest.drugCode
short:
  v: 藥品代碼
definition:
  v: 藥品代碼
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.drugCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugFre
path:
  v: ApplyImmModel.treat.medicationRequest.drugFre
short:
  v: 藥品使用頻率及服用時間
definition:
  v: 藥品使用頻率及服用時間
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.drugFre
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugRoute
path:
  v: ApplyImmModel.treat.medicationRequest.drugRoute
short:
  v: 給藥途徑／作用部位
definition:
  v: 給藥途徑／作用部位
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.drugRoute
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.dose
path:
  v: ApplyImmModel.treat.medicationRequest.dose
short:
  v: 藥物每次處方劑量
definition:
  v: 藥物每次處方劑量
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.dose
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.treat.medicationRequest.doseUnit
path:
  v: ApplyImmModel.treat.medicationRequest.doseUnit
short:
  v: 藥物每次處方劑量單位
definition:
  v: 藥物每次處方劑量單位
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.doseUnit
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.medicationRequest.sDate
path:
  v: ApplyImmModel.treat.medicationRequest.sDate
short:
  v: 藥物處方起始日期
definition:
  v: 藥物處方起始日期
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.sDate
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.medicationRequest.eDate
path:
  v: ApplyImmModel.treat.medicationRequest.eDate
short:
  v: 藥物處方終止日期
definition:
  v: 藥物處方終止日期
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.eDate
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.medicationRequest.eReason
path:
  v: ApplyImmModel.treat.medicationRequest.eReason
short:
  v: 藥物處方終止原因
definition:
  v: 藥物處方終止原因
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.medicationRequest.eReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.radiotherapy
path:
  v: ApplyImmModel.treat.radiotherapy
short:
  v: 放射/照光治療
definition:
  v: 放射/照光治療
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.radiotherapy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.treat.radiotherapy.rt
path:
  v: ApplyImmModel.treat.radiotherapy.rt
short:
  v: 放射/照光治療項目
definition:
  v: 放射/照光治療項目
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.radiotherapy.rt
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.treat.radiotherapy.rtStatus
path:
  v: ApplyImmModel.treat.radiotherapy.rtStatus
short:
  v: 放射/照光治療狀態
definition:
  v: 放射/照光治療狀態
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.radiotherapy.rtStatus
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.radiotherapy.realInspectTime
path:
  v: ApplyImmModel.treat.radiotherapy.realInspectTime
short:
  v: 放射/照光治療日期
definition:
  v: 放射/照光治療日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.radiotherapy.realInspectTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.radiotherapy.rtDose
path:
  v: ApplyImmModel.treat.radiotherapy.rtDose
short:
  v: 放射/照光治療總劑量
definition:
  v: 放射/照光治療總劑量
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.radiotherapy.rtDose
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.treat.radiotherapy.rtUnit
path:
  v: ApplyImmModel.treat.radiotherapy.rtUnit
short:
  v: 放射/照光治療總劑量單位
definition:
  v: 放射/照光治療總劑量單位
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.treat.radiotherapy.rtUnit
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.treat.opCode
path:
  v: ApplyImmModel.treat.opCode
short:
  v: 手術(或其他處置)項目
definition:
  v: 手術(或其他處置)項目
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.opCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.opDate
path:
  v: ApplyImmModel.treat.opDate
short:
  v: 手術(或其他處置)日期
definition:
  v: 手術(或其他處置)日期
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.opDate
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.carePlanDocument
path:
  v: ApplyImmModel.treat.carePlanDocument
short:
  v: 治療計畫文件（檔案路徑）
definition:
  v: 治療計畫文件（檔案路徑）
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.carePlanDocument
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.treat.carePlanDocumentTitle
path:
  v: ApplyImmModel.treat.carePlanDocumentTitle
short:
  v: 治療計畫文件名稱
definition:
  v: 治療計畫文件名稱
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.treat.carePlanDocumentTitle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.result
path:
  v: ApplyImmModel.result
short:
  v: 結果資訊
definition:
  v: 結果資訊
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.result
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.result.txAst
path:
  v: ApplyImmModel.result.txAst
short:
  v: 治療後疾病狀態評估項目
definition:
  v: 治療後疾病狀態評估項目
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.result.txAst
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.result.txAstResult
path:
  v: ApplyImmModel.result.txAstResult
short:
  v: 治療後疾病狀態評估結果
definition:
  v: 治療後疾病狀態評估結果
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.result.txAstResult
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.result.txAstDate
path:
  v: ApplyImmModel.result.txAstDate
short:
  v: 治療後疾病狀態評估日期
definition:
  v: 治療後疾病狀態評估日期
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.result.txAstDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply
path:
  v: ApplyImmModel.apply
short:
  v: 申請項目
definition:
  v: 申請項目
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.apply
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

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

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

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

id:
  v: ApplyImmModel.apply.continuation
path:
  v: ApplyImmModel.apply.continuation
short:
  v: 續用註記
definition:
  v: 續用註記
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ApplyImmModel.apply.continuation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.lot
path:
  v: ApplyImmModel.apply.lot
short:
  v: 用藥線別
definition:
  v: 用藥線別
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.apply.lot
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.orderType
path:
  v: ApplyImmModel.apply.orderType
short:
  v: 醫令類別
definition:
  v: 醫令類別
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.orderType
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.cancerDrugType
path:
  v: ApplyImmModel.apply.cancerDrugType
short:
  v: 事前審查品項代碼
definition:
  v: 事前審查品項代碼
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.cancerDrugType
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applyReason
path:
  v: ApplyImmModel.apply.applyReason
short:
  v: 給付適應症條件
definition:
  v: 給付適應症條件
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applyReason
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applySide
path:
  v: ApplyImmModel.apply.applySide
short:
  v: 申請部位
definition:
  v: 申請部位
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applySide
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applQty
path:
  v: ApplyImmModel.apply.applQty
short:
  v: 事前審查申請數量
definition:
  v: 事前審查申請數量
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applQty
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.applQtyUnit
path:
  v: ApplyImmModel.apply.applQtyUnit
short:
  v: 事前審查申請數量單位
definition:
  v: 事前審查申請數量單位
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applQtyUnit
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.apply.applDrugFre
path:
  v: ApplyImmModel.apply.applDrugFre
short:
  v: 事前審查藥品使用頻率及服用時間
definition:
  v: 事前審查藥品使用頻率及服用時間
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applDrugFre
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applDrugRoute
path:
  v: ApplyImmModel.apply.applDrugRoute
short:
  v: 給藥途徑／作用部位
definition:
  v: 給藥途徑／作用部位
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applDrugRoute
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applDosage
path:
  v: ApplyImmModel.apply.applDosage
short:
  v: 事前審查藥品每次處方劑量
definition:
  v: 事前審查藥品每次處方劑量
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applDosage
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.applDosageUnit
path:
  v: ApplyImmModel.apply.applDosageUnit
short:
  v: 事前審查藥品每次處方劑量單位
definition:
  v: 事前審查藥品每次處方劑量單位
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applDosageUnit
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.apply.useSdate
path:
  v: ApplyImmModel.apply.useSdate
short:
  v: 事前審查藥物預定處方起始日期
definition:
  v: 事前審查藥物預定處方起始日期
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.useSdate
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.useEdate
path:
  v: ApplyImmModel.apply.useEdate
short:
  v: 事前審查藥物預定處方終止日期
definition:
  v: 事前審查藥物預定處方終止日期
min:
  v: 1
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.useEdate
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.applDrugCycle
path:
  v: ApplyImmModel.apply.applDrugCycle
short:
  v: 事前審查藥品療程／週期數
definition:
  v: 事前審查藥品療程／週期數
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.applDrugCycle
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.approveDate
path:
  v: ApplyImmModel.apply.approveDate
short:
  v: 核定日期
definition:
  v: 核定日期
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.approveDate
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.approveNum
path:
  v: ApplyImmModel.apply.approveNum
short:
  v: 審查結果數量
definition:
  v: 審查結果數量
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.approveNum
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.approveComment
path:
  v: ApplyImmModel.apply.approveComment
short:
  v: 核定註記
definition:
  v: 核定註記
min:
  v: 0
max:
  v: *
base:
  path:
    v: ApplyImmModel.apply.approveComment
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.acceptanceStatus
path:
  v: ApplyImmModel.apply.acceptanceStatus
short:
  v: 案件受理狀態
definition:
  v: 案件受理狀態
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ApplyImmModel.apply.acceptanceStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

element:
  id:
    v: ApplyImmModel
  path:
    v: ApplyImmModel
  short:
    v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型
  definition:
    v: 申請(Apply)免疫製劑(Immunologic Aagent)事前審查之資料模型，此邏輯模型為定義免疫製劑事前審查情境下使用的所有資料欄位。 為了便於實作者快速理解，資料欄位會使用易於理解的命名，實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目（element）。亦可配合[視覺化邏輯模型圖](vision-imm.html)進行欄位對應
element:
  id:
    v: ApplyImmModel.hosp
  path:
    v: ApplyImmModel.hosp
  short:
    v: 院所資訊
  definition:
    v: 院所資訊
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: ApplyImmModel.hosp.hospId
  path:
    v: ApplyImmModel.hosp.hospId
  short:
    v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
  definition:
    v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: ApplyImmModel.hosp.applType
  path:
    v: ApplyImmModel.hosp.applType
  short:
    v: 申報類別
  definition:
    v: 申報類別
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: ApplyImmModel.hosp.funcType
  path:
    v: ApplyImmModel.hosp.funcType
  short:
    v: 就醫科別
  definition:
    v: 就醫科別
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: ApplyImmModel.hosp.applPrsnId
  path:
    v: ApplyImmModel.hosp.applPrsnId
  short:
    v: 申請醫師身分證號
  definition:
    v: 申請醫師身分證號
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: ApplyImmModel.hosp.applDate
  path:
    v: ApplyImmModel.hosp.applDate
  short:
    v: 申請日期，機構自填
  definition:
    v: 申請日期，機構自填
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: ApplyImmModel.hosp.immediateDate
  path:
    v: ApplyImmModel.hosp.immediateDate
  short:
    v: 緊急報備日期，機構自填
  definition:
    v: 緊急報備日期，機構自填
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: instant
      l: instant
element:
  id:
    v: ApplyImmModel.hosp.tmhbType
  path:
    v: ApplyImmModel.hosp.tmhbType
  short:
    v: 申請案件類別
  definition:
    v: 申請案件類別
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: ApplyImmModel.hosp.oldAcptNo
  path:
    v: ApplyImmModel.hosp.oldAcptNo
  short:
    v: 原受理編號
  definition:
    v: 原受理編號
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: ApplyImmModel.patient
  path:
    v: ApplyImmModel.patient
  short:
    v: 病人資訊
  definition:
    v: 病人資訊
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: ApplyImmModel.patient.name
  path:
    v: ApplyImmModel.patient.name
  short:
    v: 姓名
  definition:
    v: 姓名
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: HumanName
      l: HumanName
element:
  id:
    v: ApplyImmModel.patient.idCard
  path:
    v: ApplyImmModel.patient.idCard

v: 身分證字號

v: 身分證字號

v: 1

v: 1

code:
  v: string
  l: string

id:
  v: ApplyImmModel.patient.patId
path:
  v: ApplyImmModel.patient.patId
short:
  v: 病歷號
definition:
  v: 病歷號 (參與醫院必須註冊命名系統)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.patient.birthday
path:
  v: ApplyImmModel.patient.birthday
short:
  v: 出生日期
definition:
  v: 出生日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.patient.gender
path:
  v: ApplyImmModel.patient.gender
short:
  v: 病人性別
definition:
  v: 病人性別
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.patient.weight
path:
  v: ApplyImmModel.patient.weight
short:
  v: 病人體重
definition:
  v: 病人體重
min:
  v: 1
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.patient.height
path:
  v: ApplyImmModel.patient.height
short:
  v: 病人身高
definition:
  v: 病人身高
min:
  v: 1
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.patient.pregnant
path:
  v: ApplyImmModel.patient.pregnant
short:
  v: 是否懷孕或哺乳
definition:
  v: 是否懷孕或哺乳
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: ApplyImmModel.patient.blood
path:
  v: ApplyImmModel.patient.blood
short:
  v: 血型
definition:
  v: 血型
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.patient.allergy
path:
  v: ApplyImmModel.patient.allergy
short:
  v: 過敏史
definition:
  v: 過敏史
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.opd
path:
  v: ApplyImmModel.opd
short:
  v: 門診病歷
definition:
  v: 門診病歷
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.opd.hospId
path:
  v: ApplyImmModel.opd.hospId
short:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
definition:
  v: 醫事機構代碼，必須存在於醫事機構基本資料檔內
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.funcDate
path:
  v: ApplyImmModel.opd.funcDate
short:
  v: 門診日期
definition:
  v: 門診日期
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.opd.funcType
path:
  v: ApplyImmModel.opd.funcType
short:
  v: 科別
definition:
  v: 科別
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.opd.prsnIId
path:
  v: ApplyImmModel.opd.prsnIId
short:
  v: 門診醫師身分證號
definition:
  v: 門診醫師身分證號
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.icd10cmCode
path:
  v: ApplyImmModel.opd.icd10cmCode
short:
  v: 診斷
definition:
  v: 診斷
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.opd.subjective
path:
  v: ApplyImmModel.opd.subjective
short:
  v: 主觀描述
definition:
  v: 主觀描述
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.objective
path:
  v: ApplyImmModel.opd.objective
short:
  v: 客觀描述
definition:
  v: 客觀描述
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.assessment
path:
  v: ApplyImmModel.opd.assessment
short:
  v: 評估
definition:
  v: 評估
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.opd.plan
path:
  v: ApplyImmModel.opd.plan
short:
  v: 計畫
definition:
  v: 計畫
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis
path:
  v: ApplyImmModel.diagnosis
short:
  v: 疾病資訊
definition:
  v: 疾病資訊
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.diagnosis.icd10cmCode
path:
  v: ApplyImmModel.diagnosis.icd10cmCode
short:
  v: 國際疾病分類代碼 (sequence=1)，共病症 (sequence>=2)
definition:
  v: 國際疾病分類代碼 (sequence=1)，共病症 (sequence>=2)
min:
  v: 1
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.diagDate
path:
  v: ApplyImmModel.diagnosis.diagDate
short:
  v: 診斷日期，sequence=1必填
definition:
  v: YYYYMMDD，西元年月日，民國前為負數，sequence=1時為必填
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.diagnosis.diagCurrentStatus
path:
  v: ApplyImmModel.diagnosis.diagCurrentStatus
short:
  v: 簡要病摘。連結院內HIS系統之簡要病摘，或填寫原事前審查之申請理由。
definition:
  v: 簡要病摘。連結院內HIS系統之簡要病摘，或填寫原事前審查之申請理由。
min:
  v: 0
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.medrec
path:
  v: ApplyImmModel.diagnosis.medrec
short:
  v: 病歷資料（非屬影像報告檢查驗報告部分）
definition:
  v: 病歷資料（非屬影像報告檢查驗報告部分）
min:
  v: 0
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.medrecTitle
path:
  v: ApplyImmModel.diagnosis.medrecTitle
short:
  v: 病歷資料名稱
definition:
  v: 病歷資料名稱
min:
  v: 0
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.diagnosis.imageStudy
path:
  v: ApplyImmModel.diagnosis.imageStudy
short:
  v: 影像報告
definition:
  v: 影像報告
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgItem
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgItem
short:
  v: 影像報告
definition:
  v: 影像報告
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgResult
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgResult
short:
  v: 影像報告結果
definition:
  v: 影像報告結果
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgBodySite
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgBodySite
short:
  v: 影像檢查的身體部位
definition:
  v: 影像檢查的身體部位
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgDate
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgDate
short:
  v: 影像報告日期
definition:
  v: 影像報告日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: date
    l: date

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgDicom
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgDicom
short:
  v: DICOM影像
definition:
  v: DICOM影像
min:
  v: 0
max:
  v: 1
type:
  code:
    v: url
    l: url

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgNonDicom
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgNonDicom
short:
  v: 非DICOM影像
definition:
  v: 非DICOM影像
min:
  v: 0
max:
  v: 1
type:
  code:
    v: url
    l: url

id:
  v: ApplyImmModel.diagnosis.imageStudy.imgInterpreter
path:
  v: ApplyImmModel.diagnosis.imageStudy.imgInterpreter
short:
  v: 簽發影像報告醫師身分證號
definition:
  v: 簽發影像報告醫師身分證號
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport
path:
  v: ApplyImmModel.diagnosis.examinationReport
short:
  v: 檢查報告
definition:
  v: 檢查報告
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportType
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportType
short:
  v: 報告類型
definition:
  v: 報告類型。當LOINC無法具體描述檢體種類（例如：`47526-9`時），請填寫及補充說明檢體種類。
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.diagnosis.examinationReport.speType
path:
  v: ApplyImmModel.diagnosis.examinationReport.speType
short:
  v: 檢體種類
definition:
  v: 檢體種類
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult
short:
  v: 檢查報告結果
definition:
  v: 檢查報告結果
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultString
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultString
short:
  v: 檢查報告結果（文數字）
definition:
  v: 檢查報告結果-文數字與base64Binary應擇一填寫
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdf
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdf
short:
  v: 檢查報告結果（檔案路徑）
definition:
  v: 檢查報告結果-文數字與base64Binary應擇一填寫
min:
  v: 0
max:
  v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle
short:
  v: 檢查報告名稱
definition:
  v: 檢查報告名稱
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportDate
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportDate
short:
  v: 報告日期
definition:
  v: 報告日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.diagnosis.examinationReport.reportPerformer
path:
  v: ApplyImmModel.diagnosis.examinationReport.reportPerformer
short:
  v: 檢查報告醫師身分證號
definition:
  v: 檢查報告醫師身分證號
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate
path:
  v: ApplyImmModel.evaluate
short:
  v: 評估資訊
definition:
  v: 評估資訊
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.evaluate.tests
path:
  v: ApplyImmModel.evaluate.tests
short:
  v: 檢驗(查)
definition:
  v: 檢驗(查)
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.evaluate.tests.inspect
path:
  v: ApplyImmModel.evaluate.tests.inspect
short:
  v: 檢驗(查)名稱或套組代碼
definition:
  v: 檢驗(查)名稱或套組代碼
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.tests.inspectResultTxt
path:
  v: ApplyImmModel.evaluate.tests.inspectResultTxt
short:
  v: 檢驗(查)結果判讀
definition:
  v: 檢驗(查)結果判讀
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.tests.inspectResult[x]
path:
  v: ApplyImmModel.evaluate.tests.inspectResult[x]
short:
  v: 檢驗(查)結果
definition:
  v: 檢驗(查)結果
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: string
    l: string
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: integer
    l: integer

id:
  v: ApplyImmModel.evaluate.tests.consultValueLower
path:
  v: ApplyImmModel.evaluate.tests.consultValueLower
short:
  v: 檢驗(查)結果之參考範圍下限
definition:
  v: 檢驗(查)結果之參考範圍下限
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.evaluate.tests.consultValueMax
path:
  v: ApplyImmModel.evaluate.tests.consultValueMax
short:
  v: 檢驗(查)結果之參考範圍上限
definition:
  v: 檢驗(查)結果之參考範圍上限
min:
  v: 0
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.evaluate.tests.consultValueCat
path:
  v: ApplyImmModel.evaluate.tests.consultValueCat
short:
  v: 檢驗(查)結果之參考範圍類型
definition:
  v: 檢驗(查)結果之參考範圍類型
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.consultValueDesc
path:
  v: ApplyImmModel.evaluate.tests.consultValueDesc
short:
  v: 檢驗(查)結果之參考範圍說明
definition:
  v: 檢驗(查)結果之參考範圍說明
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectSet
path:
  v: ApplyImmModel.evaluate.tests.inspectSet
short:
  v: 套組中的的檢驗
definition:
  v: 套組中的的檢驗
min:
  v: 0
max:
  v: *
type:
  code:
    v: Observation
    l: Observation

id:
  v: ApplyImmModel.evaluate.tests.caseTime
path:
  v: ApplyImmModel.evaluate.tests.caseTime
short:
  v: 檢驗(查)報告日期
definition:
  v: 檢驗(查)報告日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectPdf
path:
  v: ApplyImmModel.evaluate.tests.inspectPdf
short:
  v: 檢驗(查)附件（檔案路徑）
definition:
  v: 檢驗(查)附件（檔案路徑）
min:
  v: 0
max:
  v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.evaluate.tests.inspectPdfTitle
path:
  v: ApplyImmModel.evaluate.tests.inspectPdfTitle
short:
  v: 檢驗(查)附件名稱
definition:
  v: 檢驗(查)附件名稱
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.tests.inspectPerformer
path:
  v: ApplyImmModel.evaluate.tests.inspectPerformer
short:
  v: 簽發檢驗(查)報告醫事人員身分證號
definition:
  v: 簽發檢驗(查)報告醫事人員身分證號
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment
path:
  v: ApplyImmModel.evaluate.patientAssessment
short:
  v: 病人狀態評估
definition:
  v: 病人狀態評估
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAst
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAst
short:
  v: 病人狀態評估項目代碼
definition:
  v: 病人狀態評估項目代碼
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstResult
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstResult
short:
  v: 病人狀態評估結果
definition:
  v: 病人狀態評估結果
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstDate
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstDate
short:
  v: 病人狀態評估日期
definition:
  v: 病人狀態評估日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdf
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdf
short:
  v: 病人狀態評估報告
definition:
  v: 病人狀態評估報告
min:
  v: 0
max:
  v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdfTitle
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPdfTitle
short:
  v: 病人狀態評估報告名稱（檔案路徑）
definition:
  v: 病人狀態評估報告名稱（檔案路徑）
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPerformer
path:
  v: ApplyImmModel.evaluate.patientAssessment.patAstPerformer
short:
  v: 評估項目醫事人員身分證號
definition:
  v: 評估項目醫事人員身分證號
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.treat
path:
  v: ApplyImmModel.treat
short:
  v: 治療資訊
definition:
  v: 治療資訊
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.treat.medicationRequest
path:
  v: ApplyImmModel.treat.medicationRequest
short:
  v: 用藥品項
definition:
  v: 用藥品項
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.treat.medicationRequest.drugType
path:
  v: ApplyImmModel.treat.medicationRequest.drugType
short:
  v: 自費註記
definition:
  v: 自費註記
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugStatus
path:
  v: ApplyImmModel.treat.medicationRequest.drugStatus
short:
  v: 藥物使用狀態
definition:
  v: 藥物使用狀態
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.medicationRequest.drugCode
path:
  v: ApplyImmModel.treat.medicationRequest.drugCode
short:
  v: 藥品代碼
definition:
  v: 藥品代碼
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugFre
path:
  v: ApplyImmModel.treat.medicationRequest.drugFre
short:
  v: 藥品使用頻率及服用時間
definition:
  v: 藥品使用頻率及服用時間
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.drugRoute
path:
  v: ApplyImmModel.treat.medicationRequest.drugRoute
short:
  v: 給藥途徑／作用部位
definition:
  v: 給藥途徑／作用部位
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.medicationRequest.dose
path:
  v: ApplyImmModel.treat.medicationRequest.dose
short:
  v: 藥物每次處方劑量
definition:
  v: 藥物每次處方劑量
min:
  v: 1
max:
  v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.treat.medicationRequest.doseUnit
path:
  v: ApplyImmModel.treat.medicationRequest.doseUnit
short:
  v: 藥物每次處方劑量單位
definition:
  v: 藥物每次處方劑量單位
min:
  v: 1
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.medicationRequest.sDate
path:
  v: ApplyImmModel.treat.medicationRequest.sDate
short:
  v: 藥物處方起始日期
definition:
  v: 藥物處方起始日期
min:
  v: 1
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.medicationRequest.eDate
path:
  v: ApplyImmModel.treat.medicationRequest.eDate
short:
  v: 藥物處方終止日期
definition:
  v: 藥物處方終止日期
min:
  v: 1
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.medicationRequest.eReason
path:
  v: ApplyImmModel.treat.medicationRequest.eReason
short:
  v: 藥物處方終止原因
definition:
  v: 藥物處方終止原因
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.radiotherapy
path:
  v: ApplyImmModel.treat.radiotherapy
short:
  v: 放射/照光治療
definition:
  v: 放射/照光治療
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.treat.radiotherapy.rt
path:
  v: ApplyImmModel.treat.radiotherapy.rt
short:
  v: 放射/照光治療項目
definition:
  v: 放射/照光治療項目
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.treat.radiotherapy.rtStatus
path:
  v: ApplyImmModel.treat.radiotherapy.rtStatus
short:
  v: 放射/照光治療狀態
definition:
  v: 放射/照光治療狀態
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.treat.radiotherapy.realInspectTime
path:
  v: ApplyImmModel.treat.radiotherapy.realInspectTime
short:
  v: 放射/照光治療日期
definition:
  v: 放射/照光治療日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.radiotherapy.rtDose
path:
  v: ApplyImmModel.treat.radiotherapy.rtDose
short:
  v: 放射/照光治療總劑量
definition:
  v: 放射/照光治療總劑量
min:
  v: 1
max:
  v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.treat.radiotherapy.rtUnit
path:
  v: ApplyImmModel.treat.radiotherapy.rtUnit
short:
  v: 放射/照光治療總劑量單位
definition:
  v: 放射/照光治療總劑量單位
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.treat.opCode
path:
  v: ApplyImmModel.treat.opCode
short:
  v: 手術(或其他處置)項目
definition:
  v: 手術(或其他處置)項目
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.treat.opDate
path:
  v: ApplyImmModel.treat.opDate
short:
  v: 手術(或其他處置)日期
definition:
  v: 手術(或其他處置)日期
min:
  v: 0
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.treat.carePlanDocument
path:
  v: ApplyImmModel.treat.carePlanDocument
short:
  v: 治療計畫文件（檔案路徑）
definition:
  v: 治療計畫文件（檔案路徑）
min:
  v: 0
max:
  v: *
type:
  code:
    v: base64Binary
    l: base64Binary

id:
  v: ApplyImmModel.treat.carePlanDocumentTitle
path:
  v: ApplyImmModel.treat.carePlanDocumentTitle
short:
  v: 治療計畫文件名稱
definition:
  v: 治療計畫文件名稱
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: ApplyImmModel.result
path:
  v: ApplyImmModel.result
short:
  v: 結果資訊
definition:
  v: 結果資訊
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.result.txAst
path:
  v: ApplyImmModel.result.txAst
short:
  v: 治療後疾病狀態評估項目
definition:
  v: 治療後疾病狀態評估項目
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.result.txAstResult
path:
  v: ApplyImmModel.result.txAstResult
short:
  v: 治療後疾病狀態評估結果
definition:
  v: 治療後疾病狀態評估結果
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.result.txAstDate
path:
  v: ApplyImmModel.result.txAstDate
short:
  v: 治療後疾病狀態評估日期
definition:
  v: 治療後疾病狀態評估日期
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply
path:
  v: ApplyImmModel.apply
short:
  v: 申請項目
definition:
  v: 申請項目
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: ApplyImmModel.apply.continuation
path:
  v: ApplyImmModel.apply.continuation
short:
  v: 續用註記
definition:
  v: 續用註記
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.lot
path:
  v: ApplyImmModel.apply.lot
short:
  v: 用藥線別
definition:
  v: 用藥線別
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.orderType
path:
  v: ApplyImmModel.apply.orderType
short:
  v: 醫令類別
definition:
  v: 醫令類別
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.cancerDrugType
path:
  v: ApplyImmModel.apply.cancerDrugType
short:
  v: 事前審查品項代碼
definition:
  v: 事前審查品項代碼
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applyReason
path:
  v: ApplyImmModel.apply.applyReason
short:
  v: 給付適應症條件
definition:
  v: 給付適應症條件
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applySide
path:
  v: ApplyImmModel.apply.applySide
short:
  v: 申請部位
definition:
  v: 申請部位
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applQty
path:
  v: ApplyImmModel.apply.applQty
short:
  v: 事前審查申請數量
definition:
  v: 事前審查申請數量
min:
  v: 1
max:
  v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.applQtyUnit
path:
  v: ApplyImmModel.apply.applQtyUnit
short:
  v: 事前審查申請數量單位
definition:
  v: 事前審查申請數量單位
min:
  v: 1
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.apply.applDrugFre
path:
  v: ApplyImmModel.apply.applDrugFre
short:
  v: 事前審查藥品使用頻率及服用時間
definition:
  v: 事前審查藥品使用頻率及服用時間
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applDrugRoute
path:
  v: ApplyImmModel.apply.applDrugRoute
short:
  v: 給藥途徑／作用部位
definition:
  v: 給藥途徑／作用部位
min:
  v: 1
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.applDosage
path:
  v: ApplyImmModel.apply.applDosage
short:
  v: 事前審查藥品每次處方劑量
definition:
  v: 事前審查藥品每次處方劑量
min:
  v: 1
max:
  v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.applDosageUnit
path:
  v: ApplyImmModel.apply.applDosageUnit
short:
  v: 事前審查藥品每次處方劑量單位
definition:
  v: 事前審查藥品每次處方劑量單位
min:
  v: 1
max:
  v: *
type:
  code:
    v: code
    l: code

id:
  v: ApplyImmModel.apply.useSdate
path:
  v: ApplyImmModel.apply.useSdate
short:
  v: 事前審查藥物預定處方起始日期
definition:
  v: 事前審查藥物預定處方起始日期
min:
  v: 1
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.useEdate
path:
  v: ApplyImmModel.apply.useEdate
short:
  v: 事前審查藥物預定處方終止日期
definition:
  v: 事前審查藥物預定處方終止日期
min:
  v: 1
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.applDrugCycle
path:
  v: ApplyImmModel.apply.applDrugCycle
short:
  v: 事前審查藥品療程／週期數
definition:
  v: 事前審查藥品療程／週期數
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.approveDate
path:
  v: ApplyImmModel.apply.approveDate
short:
  v: 核定日期
definition:
  v: 核定日期
min:
  v: 0
max:
  v: *
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: ApplyImmModel.apply.approveNum
path:
  v: ApplyImmModel.apply.approveNum
short:
  v: 審查結果數量
definition:
  v: 審查結果數量
min:
  v: 0
max:
  v: *
type:
  code:
    v: decimal
    l: decimal

id:
  v: ApplyImmModel.apply.approveComment
path:
  v: ApplyImmModel.apply.approveComment
short:
  v: 核定註記
definition:
  v: 核定註記
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: ApplyImmModel.apply.acceptanceStatus
path:
  v: ApplyImmModel.apply.acceptanceStatus
short:
  v: 案件受理狀態
definition:
  v: 案件受理狀態
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code