PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.4
    https://nhicore.nhi.gov.tw/pas/StructureDefinition/Observation-diagnostic-twpas
description: 此基因資訊-Observation Diagnostic TWPAS Profile說明本IG如何進一步定義FHIR的Observation Resource以呈現癌藥事前審查之基因資訊
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: ObservationDiagnosticTWPAS
type: Observation
elements:
  category:
    short: 因FHIR設計而需必填
    index: 0
    elements:
      coding:
        index: 1
        elements:
          system:
            pattern: {type: uri, value: 'https://nhicore.nhi.gov.tw/pas/CodeSystem/nhi-supporting-info-type'}
            type: uri
            index: 2
          code:
            pattern: {type: code, value: geneInfo}
            type: code
            index: 3
    required: [coding]
  derivedFrom:
    type: Reference
    short: 基因報告
    mustSupport: true
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas']
    index: 28
  interpretation: {short: 基因臨床判讀結果,醫師判讀結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, index: 25}
  method:
    short: 基因檢測方法
    binding: {strength: extensible, valueSet: 'http://loinc.org/vs/LL4048-6'}
    mustSupport: true
    index: 26
  valueTime: {type: time, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 22}
  specimen:
    type: Reference
    short: 基因檢測檢體類型
    mustSupport: true
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Specimen-twpas']
    index: 27
  valueQuantity: {type: Quantity, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 14}
  value:
    short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
    mustSupport: true
    choices: [valueQuantity, valueCodeableConcept, valueString, valueBoolean, valueInteger, valueRange, valueRatio, valueSampledData, valueTime, valueDateTime, valuePeriod]
    index: 13
  valueString: {type: string, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 16}
  valueRatio: {type: Ratio, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 20}
  valueBoolean: {type: boolean, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 17}
  valueDateTime: {type: dateTime, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 23}
  component:
    index: 29
    slicing:
      rules: closed
      discriminator:
      - {path: code.coding.system, type: pattern}
      min: null
      slices:
        gene-test-code:
          match:
            code:
              coding: {system: 'http://loinc.org'}
          schema:
            short: 基因檢測代碼
            mustSupport: true
            array: true
            index: 30
            elements:
              code:
                binding: {strength: extensible, valueSet: 'https://nhicore.nhi.gov.tw/pas/ValueSet/gene-test-code'}
                mustSupport: true
                index: 31
                elements:
                  coding:
                    index: 32
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://loinc.org'}
                        type: uri
                        index: 33
                    required: [system]
                required: [coding]
              value:
                mustSupport: true
                choices: []
                index: 35
              interpretation:
                short: 基因突變類型
                binding: {strength: extensible, valueSet: 'https://nhicore.nhi.gov.tw/pas/ValueSet/dna-change-type'}
                constraint:
                  pas-1: {human: text、coding擇一填寫。, source: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Observation-diagnostic-twpas', severity: error, expression: text.exists() xor coding.exists()}
                mustSupport: true
                index: 36
                elements:
                  coding:
                    index: 37
                    elements:
                      code: {short: 'LA6692-3: Deletion | LA6686-5: Duplication | LA6687-3: Insertion | LA6688-1: Insertion/Deletion | LA6689-9: Inversion | LA6690-7: Substitution | 101397-8: Copy number variation analysis Sequencing Doc (Bld/Tiss) | 81695-9: MSI Ca spec-Imp | 94077-5: TMB Tumor-Imp | O55-2: Delins', index: 38}
                    required: [code]
                  text: {short: 基因突變類型。若無合適代碼,可使用此欄位以文字呈現。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, index: 39}
            required: [value]
  valueSampledData: {type: SampledData, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 21}
  effectiveDateTime: {type: dateTime, short: 基因檢測日期, mustSupport: true, choiceOf: effective, index: 10}
  effective:
    short: 基因檢測日期
    mustSupport: true
    choices: [effectiveDateTime]
    index: 9
  code:
    elements:
      coding:
        index: 4
        elements:
          system:
            pattern: {type: uri, value: 'http://loinc.org'}
            type: uri
            index: 5
          code:
            mustSupport: true
            pattern: {type: code, value: 69548-6}
            type: code
            index: 6
        required: [code]
    required: [coding]
  valueCodeableConcept: {type: CodeableConcept, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 15}
  valuePeriod: {type: Period, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 24}
  valueRange: {type: Range, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 19}
  valueInteger: {type: integer, short: 基因檢測分析結果。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, choiceOf: value, index: 18}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas']
    index: 7
  performer:
    type: Reference
    short: 基因檢測機構,衛福部公告名冊或LDTs核定函上之「案件編號」。
    mustSupport: true
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Organization-genetic-testing-twpas']
    index: 11
package_version: 1.0.4
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Observation-diagnostic-twpas
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.4
required: [category, effective, effectiveDateTime, method, performer, specimen, subject, value, valueBoolean, valueCodeableConcept, valueDateTime, valueInteger, valuePeriod, valueQuantity, valueRange, valueRatio, valueSampledData, valueString, valueTime]