PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.2
    https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas
description: 此事前審查-Claim TWPAS Profile說明本IG如何進一步定義FHIR的Claim Resource以呈現癌藥事前審查之內容
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: ClaimTWPAS
type: Claim
elements:
  patient:
    type: Reference
    short: 病人資訊
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Patient-twpas']
    index: 10
  insurance:
    elements:
      sequence:
        pattern: {type: positiveInt, value: 1}
        type: positiveInt
        index: 152
      coverage:
        type: Reference
        refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Coverage-twpas']
        index: 153
  diagnosis:
    short: sequence=1時為主要疾病;sequence>=2代表共病。
    constraint:
      diagnosis: {human: diagnosis.sequence=1時才需填寫診斷日期、簡要病摘(申請原因), source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas', severity: error, expression: 'sequence=1 implies (extension.where(url = ''http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate'').value.ofType(date).exists() and type.text.exists() )'}
    mustSupport: true
    index: 122
    extensions:
      recordedDate: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', min: 0, type: Extension, short: 診斷日期,sequence=1時為必填,表示為用藥事前審查之主要疾病;其他共病不須填寫診斷日期。YYYY-MM-DD,西元年月日。【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, index: 124}
    elements:
      extension:
        index: 123
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            recordedDate:
              match: {url: null}
              schema: {type: Extension, short: 診斷日期,sequence=1時為必填,表示為用藥事前審查之主要疾病;其他共病不須填寫診斷日期。YYYY-MM-DD,西元年月日。【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate', index: 124}
              min: 0
      sequence: {short: sequence=1時為主要疾病;sequence>=2代表共病。, index: 125}
      diagnosis:
        short: 國際疾病分類代碼(含共病),當前疾病狀態。ICD-10-CM。
        mustSupport: true
        choices: [diagnosisCodeableConcept]
        index: 127
      diagnosisCodeableConcept: {type: CodeableConcept, short: 國際疾病分類代碼(含共病),當前疾病狀態。ICD-10-CM。, mustSupport: true, choiceOf: diagnosis, index: 128}
      diagnosis[x]:
        elements:
          coding:
            index: 129
            slicing:
              rules: closed
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                icd10-cm-2023:
                  match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw'}
                  schema:
                    binding: {strength: extensible, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2023-tw'}
                    mustSupport: true
                    index: 130
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw'}
                        mustSupport: true
                        type: uri
                        index: 131
                      code: {mustSupport: true, index: 132}
                    required: [code, system]
                icd10-cm-2014:
                  match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2014-tw'}
                  schema:
                    binding: {strength: extensible, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2014-tw'}
                    mustSupport: true
                    index: 133
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2014-tw'}
                        mustSupport: true
                        type: uri
                        index: 134
                      code: {mustSupport: true, index: 135}
                    required: [code, system]
      type:
        index: 136
        elements:
          text:
            short: 簡要病摘(申請理由)。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
            constraint:
              pas-2: {human: 長度不得超過4000 bytes。, source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas', severity: error, expression: toString().length() <= 4000}
            mustSupport: true
            index: 137
  enterer:
    type: Reference
    short: 申請醫師,必須存在於醫事人員基本資料檔內,並於合約生效起迄日內。
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Practitioner-twpas']
    index: 12
  supportingInfo:
    array: true
    min: 2
    index: 15
    elements:
      sequence: {short: 因FHIR設計而必填、自動流水號(建議每次加1)、不得重複,作為每筆supportingInfo的唯一識別碼。最後一筆sequence號碼即表示總筆數。, index: 16}
      category:
        binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-supporting-info-type'}
        index: 17
    slicing:
      rules: open
      discriminator:
      - {path: category, type: value}
      min: 2
      slices:
        medicalRecord:
          match:
            category:
              coding:
              - {code: medicalRecord, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 病歷資料(非屬影像報告檢查驗報告部分),可檢附其他佐證癌藥治療必要性之非結構化病歷。
            array: true
            index: 108
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: medicalRecord, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 109
              timing:
                choices: []
                index: 111
              value:
                mustSupport: true
                choices: [valueReference]
                index: 113
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas']
                index: 114
            required: [value, valueReference]
        tests:
          match:
            category:
              coding:
              - {code: tests, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 檢驗(查)
            array: true
            index: 73
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: tests, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 74
              timing:
                choices: []
                index: 76
              value:
                short: 檢驗(查)
                mustSupport: true
                choices: [valueReference]
                index: 78
              valueReference:
                type: Reference
                short: 檢驗(查)
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-laboratory-result-twpas']
                index: 79
            required: [value, valueReference]
        cancerStage:
          match:
            category:
              coding:
              - {code: cancerStage, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 癌症分期量表
            array: true
            index: 52
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: cancerStage, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 53
              timing:
                choices: []
                index: 55
              value:
                short: 癌症分期量表
                mustSupport: true
                choices: [valueReference]
                index: 57
              valueReference:
                type: Reference
                short: 癌症分期量表
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-cancer-stage-twpas']
                index: 58
            required: [value, valueReference]
        medicationRequest:
          match:
            category:
              coding:
              - {code: medicationRequest, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 用藥品項
            array: true
            index: 87
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: medicationRequest, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 88
              timing:
                choices: []
                index: 90
              value:
                short: 用藥品項
                mustSupport: true
                choices: [valueReference]
                index: 92
              valueReference:
                type: Reference
                short: 用藥品項
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/MedicationRequest-treat-twpas']
                index: 93
            required: [value, valueReference]
        radiotherapy:
          match:
            category:
              coding:
              - {code: radiotherapy, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 放射治療
            array: true
            index: 94
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: radiotherapy, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 95
              timing:
                choices: []
                index: 97
              value:
                short: 放射治療
                mustSupport: true
                choices: [valueReference]
                index: 99
              valueReference:
                type: Reference
                short: 放射治療
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Procedure-twpas']
                index: 100
            required: [value, valueReference]
        examinationReport:
          match:
            category:
              coding:
              - {code: examinationReport, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 檢查報告
            array: true
            index: 59
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: examinationReport, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 60
              timing:
                choices: []
                index: 62
              value:
                short: 檢查報告
                mustSupport: true
                choices: [valueReference]
                index: 64
              valueReference:
                type: Reference
                short: 檢查報告
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-twpas']
                index: 65
            required: [value, valueReference]
        pregnancy:
          match:
            category:
              coding:
              - {code: pregnancyBreastfeedingStatus, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 是否懷孕或哺乳
            index: 38
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: pregnancyBreastfeedingStatus, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 39
              timing:
                choices: []
                index: 41
              value:
                short: 是否懷孕或哺乳,false:未懷孕或哺乳 | true:有懷孕或哺乳
                mustSupport: true
                choices: [valueBoolean]
                index: 43
              valueBoolean: {type: boolean, short: '是否懷孕或哺乳,false:未懷孕或哺乳 | true:有懷孕或哺乳', mustSupport: true, choiceOf: value, index: 44}
            required: [value, valueBoolean]
        geneInfo:
          match:
            category:
              coding:
              - {code: geneInfo, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 基因資訊
            array: true
            index: 66
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: geneInfo, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 67
              timing:
                choices: []
                index: 69
              value:
                short: 基因資訊
                mustSupport: true
                choices: [valueReference]
                index: 71
              valueReference:
                type: Reference
                short: 基因資訊
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-diagnostic-twpas']
                index: 72
            required: [value, valueReference]
        weight:
          match:
            category:
              coding:
              - {code: weight, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 病人體重
            _required: true
            index: 18
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: weight, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 19
              timing:
                choices: []
                index: 21
              value:
                mustSupport: true
                choices: [valueQuantity]
                index: 23
              valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 24}
              value[x]:
                elements:
                  value:
                    short: 體重,整數至多3位數及小數至多2位數。
                    constraint:
                      HTWT: {human: 整數至多3位數及小數至多2位數, source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas', severity: error, expression: 'value.toString().matches(''^[0-9]{1,3}(.[0-9]{1,2})?$'')'}
                    mustSupport: true
                    index: 25
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 26
                  code:
                    pattern: {type: code, value: kg}
                    type: code
                    index: 27
                required: [code, system, value]
            required: [value, valueQuantity]
        carePlanDocument:
          match:
            category:
              coding:
              - {code: carePlanDocument, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 治療計畫文件,P-IO(免疫檢查點抑制劑治療計畫)、P-CART(CAR-T多團隊會議紀錄)、P-STEMCELL(造血幹細胞移植計畫書),附件形式PDF
            array: true
            index: 101
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: carePlanDocument, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 102
              timing:
                choices: []
                index: 104
              value:
                short: 治療計畫文件
                mustSupport: true
                choices: [valueReference]
                index: 106
              valueReference:
                type: Reference
                short: 治療計畫文件
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas']
                index: 107
            required: [value, valueReference]
        treatmentAssessment:
          match:
            category:
              coding:
              - {code: treatmentAssessment, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 結果資訊
            array: true
            index: 115
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: treatmentAssessment, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 116
              timing:
                choices: []
                index: 118
              value:
                short: 結果資訊
                mustSupport: true
                choices: [valueReference]
                index: 120
              valueReference:
                type: Reference
                short: 結果資訊
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-tx-assessment-twpas']
                index: 121
            required: [value, valueReference]
        height:
          match:
            category:
              coding:
              - {code: height, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 病人身高
            _required: true
            index: 28
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: height, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 29
              timing:
                choices: []
                index: 31
              value:
                mustSupport: true
                choices: [valueQuantity]
                index: 33
              valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 34}
              value[x]:
                elements:
                  value:
                    short: 身高(cm),整數至多3位數及小數至多2位數。
                    constraint:
                      HTWT: {human: 整數至多3位數及小數至多2位數, source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas', severity: error, expression: 'value.toString().matches(''^[0-9]{1,3}(.[0-9]{1,2})?$'')'}
                    mustSupport: true
                    index: 35
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 36
                  code:
                    pattern: {type: code, value: cm}
                    type: code
                    index: 37
                required: [code, system, value]
            required: [value, valueQuantity]
        patientAssessment:
          match:
            category:
              coding:
              - {code: patientAssessment, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 病人狀態評估
            array: true
            index: 80
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: patientAssessment, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 81
              timing:
                choices: []
                index: 83
              value:
                short: 病人狀態評估
                mustSupport: true
                choices: [valueReference]
                index: 85
              valueReference:
                type: Reference
                short: 病人狀態評估
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-pat-assessment-twpas']
                index: 86
            required: [value, valueReference]
        imagingReport:
          match:
            category:
              coding:
              - {code: imagingReport, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
          schema:
            short: 影像報告
            array: true
            index: 45
            elements:
              category:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: imagingReport, system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type'}
                type: CodeableConcept
                index: 46
              timing:
                choices: []
                index: 48
              value:
                short: 影像報告
                mustSupport: true
                choices: [valueReference]
                index: 50
              valueReference:
                type: Reference
                short: 影像報告
                mustSupport: true
                choiceOf: value
                refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas']
                index: 51
            required: [value, valueReference]
  use:
    pattern: {type: code, value: preauthorization}
    type: code
    index: 9
  item:
    index: 154
    extensions:
      requestedService: {url: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService', min: 1, max: 1, type: Extension, short: 事前審查品項【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, index: 156}
    elements:
      extension:
        index: 155
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            requestedService:
              match: {url: null}
              schema: {type: Extension, short: 事前審查品項【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, url: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService', index: 156}
              min: 1
              max: 1
      productOrService:
        short: 醫令類別
        binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-order-type'}
        mustSupport: true
        index: 157
      modifier:
        array: true
        min: 1
        max: 2
        index: 158
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: coding.system, type: value}
          min: 1
          max: 2
          slices:
            continuation:
              match:
                coding: {system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status'}
              schema:
                short: 續用註記,1:初次使用 | 2:申請再次使用
                binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-continuation-status'}
                mustSupport: true
                _required: true
                index: 159
                elements:
                  coding:
                    index: 160
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status'}
                        type: uri
                        index: 161
                      code: {short: '1:初次使用 | 2:申請再次使用', index: 162}
                    required: [code, system]
                required: [coding]
            lot:
              match:
                coding: {system: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy'}
              schema:
                short: 用藥線別,0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療
                binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-line-of-therapy'}
                mustSupport: true
                index: 163
                elements:
                  coding:
                    index: 164
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy'}
                        type: uri
                        index: 165
                      code: {short: '0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療', mustSupport: true, index: 166}
                    required: [code, system]
                required: [coding]
      programCode:
        short: 給付適應症條件,藥品給付規定內所規範之適應症或條件,若有特定事前審查品項代碼應以代碼填報。
        constraint:
          pas-1: {human: text、coding擇一填寫。, source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas', severity: error, expression: text.exists() xor coding.exists()}
        mustSupport: true
        index: 167
        elements:
          coding:
            short: 給付適應症條件,當事前審查品項代碼為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,才可填寫。
            binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-reason'}
            index: 168
          text: {short: 給付適應症條件,事前審查品項代碼不為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,請自行輸入文字。, index: 169}
      quantity:
        mustSupport: true
        index: 170
        elements:
          value: {short: 事前審查申請數量, mustSupport: true, index: 171}
          system:
            short: 事前審查申請數量單位之代碼系統,固定為「http://unitsofmeasure.org」。
            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
            type: uri
            index: 172
          code:
            short: 事前審查申請數量單位
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-common'}
            mustSupport: true
            index: 173
        required: [code, system, value]
      bodySite:
        short: 申請部位,R:右側 | L:左側 | B:兩側。(此專案暫不檢核,未來待確認)
        binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-side'}
        index: 174
    required: [extension, modifier, programCode, quantity]
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: institutional, system: 'http://terminology.hl7.org/CodeSystem/claim-type'}
    type: CodeableConcept
    index: 4
  created: {short: 申請日期,YYYY-MM-DD,機構自填。健保署收案後另建受理日期,將呈現在ClaimResponse的disposition和created欄位。, mustSupport: true, index: 11}
  procedure:
    elements:
      date: {short: 手術(或其他處置)日期, mustSupport: true, index: 138}
      procedure:
        short: 手術(或其他處置)項目,經動脈導管肝臟腫瘤化學栓塞術(TACE)及冷凍療法等非屬手術。ICD-10-PCS 或 健保代碼 或 其他。
        mustSupport: true
        choices: [procedureCodeableConcept]
        index: 140
      procedureCodeableConcept: {type: CodeableConcept, short: 手術(或其他處置)項目,經動脈導管肝臟腫瘤化學栓塞術(TACE)及冷凍療法等非屬手術。ICD-10-PCS 或 健保代碼 或 其他。, mustSupport: true, choiceOf: procedure, index: 141}
      procedure[x]:
        elements:
          coding:
            index: 142
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: 1
              max: 1
              slices:
                icd10-pcs-2023:
                  match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw'}
                  schema:
                    binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw'}
                    mustSupport: true
                    index: 143
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw'}
                        type: uri
                        index: 144
                      code: {mustSupport: true, index: 145}
                    required: [code, system]
                icd10-pcs-2014:
                  match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw'}
                  schema:
                    binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw'}
                    mustSupport: true
                    index: 146
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw'}
                        type: uri
                        index: 147
                      code: {mustSupport: true, index: 148}
                    required: [code, system]
                medical-service-payment:
                  match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw'}
                  schema:
                    binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw'}
                    mustSupport: true
                    index: 149
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw'}
                        type: uri
                        index: 150
                      code: {mustSupport: true, index: 151}
                    required: [code, system]
        required: [coding]
    required: [date]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        encounter:
          match: {url: null}
          schema: {type: Extension, short: 就醫科別,為細分科之就醫科別,作為審查分科用。【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, url: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter', index: 1}
          min: 1
          max: 1
  priority:
    short: 申請案件類別,1:一般事前審查申請 | 3:自主審查報備 | 4:緊急報備;專審系統識別用,對應PXXT_CODE(TMHB,001)。
    binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-tmhb-type'}
    mustSupport: true
    index: 14
  status:
    pattern: {type: code, value: active}
    type: code
    index: 3
  identifier: {short: '原受理編號。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。', mustSupport: true, index: 2}
  subType:
    short: '申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。'
    binding: {strength: required, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-type'}
    mustSupport: true
    index: 5
    elements:
      coding:
        index: 6
        elements:
          system:
            pattern: {type: uri, value: 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-apply-type'}
            type: uri
            index: 7
          code: {short: '申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。當申報類別為2(送核補件)、3(申復)、4(爭議審議)、5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。', index: 8}
        required: [code, system]
    required: [coding]
  provider:
    type: Reference
    short: 醫事機構代碼,必須存在於醫事機構基本資料檔內。
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Organization-twpas']
    index: 13
package_version: 1.0.2
extensions:
  encounter: {url: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter', min: 1, max: 1, type: Extension, short: 就醫科別,為細分科之就醫科別,作為審查分科用。【此為參考Da Vinci PAS IG的extension設計】, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas
base: http://hl7.org/fhir/StructureDefinition/Claim
version: 1.0.2
required: [diagnosis, enterer, extension, item, subType]