PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.4
    https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
description: 此檢查報告-DiagnosticReport TWPAS Profile說明本IG如何進一步定義臺灣核心-診斷報告(TW Core DiagnosticReport) Profile以呈現癌藥事前審查中疾病資訊之檢查報告
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: DiagnosticReportTWPAS
type: DiagnosticReport
elements:
  category:
    index: 0
    elements:
      coding: {index: 1}
    required: [coding]
  code:
    short: 報告類型,當LOINC無法具體描述檢體種類(例如:`47526-9`時),請填寫及補充說明檢體種類(code.text)。
    binding: {strength: extensible, valueSet: 'https://nhicore.nhi.gov.tw/pas/ValueSet/report-type'}
    constraint:
      speType: {human: 當報告類型(code.coding.code)為`47526-9`時,檢體種類(code.text)必填, source: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas', severity: error, expression: (coding.exists(code='47526-9')) implies (text.exists())}
    index: 2
    elements:
      coding:
        index: 3
        elements:
          system:
            pattern: {type: uri, value: 'http://loinc.org'}
            type: uri
            index: 4
          code: {index: 5}
        required: [code, system]
      text: {short: 檢體種類, index: 6}
    required: [coding]
  subject:
    type: Reference
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas']
    index: 7
  effective:
    short: 報告日期,YYYY-MM-DD
    mustSupport: true
    choices: [effectiveDateTime]
    index: 9
  effectiveDateTime: {type: dateTime, short: 報告日期,YYYY-MM-DD, mustSupport: true, choiceOf: effective, index: 10}
  performer:
    type: Reference
    short: 檢查報告醫師
    mustSupport: true
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Practitioner-twpas']
    index: 11
  conclusion: {short: 報告結果-文數字,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。, mustSupport: true, index: 12}
  presentedForm:
    short: 報告結果-MIMEType
    constraint:
      UploadContent: {human: '填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf', source: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas', severity: error, expression: 'url.matches(''^file://[a-zA-Z0-9一-龥]+.[a-zA-Z]{2,5}$'')'}
    mustSupport: true
    index: 13
    elements:
      contentType: {mustSupport: true, index: 14}
      url: {short: 檢查報告(請填寫完整檔案路徑), mustSupport: true, index: 15}
      title: {short: 檢查報告名稱, mustSupport: true, index: 16}
    required: [contentType, url]
package_version: 1.0.4
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DiagnosticReport-twpas
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.4
required: [conclusion, effective, effectiveDateTime, performer, subject]