PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.1
    https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas
description: 此影像報告-DiagnosticReport Image TWPAS Profile說明本IG如何進一步定義臺灣核心-診斷報告(TW Core DiagnosticReport) Profile以呈現癌藥事前審查之影像報告
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: DiagnosticReportImageTWPAS
type: DiagnosticReport
elements:
  category:
    index: 0
    elements:
      coding: {index: 1}
    required: [coding]
  conclusion:
    short: 影像報告結果,請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。
    constraint:
      pas-2: {human: 長度不得超過4000 bytes。, source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas', severity: error, expression: toString().length() <= 4000}
    mustSupport: true
    index: 21
  effectiveDateTime:
    short: 影像報告日期,YYYY-MM-DD
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 16
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {short: 影像報告日期,YYYY-MM-DD, type: dateTime, mustSupport: true, _required: true, choiceOf: effective, index: 16}
          min: 1
          max: 1
  effective:
    choices: []
    index: 13
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        effectiveDateTime:
          match: {}
          schema:
            short: 影像報告日期,YYYY-MM-DD
            mustSupport: true
            choices: [effectiveDateTime]
            _required: true
            index: 15
          min: 1
          max: 1
  code:
    short: 影像報告,ICD10-PCS
    binding: {strength: preferred, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-image'}
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: closed
          discriminator:
          - {path: system, type: value}
          min: 1
          max: 1
          slices:
            TW2023ICD10PCS:
              match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw'}
              schema:
                binding: {strength: extensible, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2023-image'}
                mustSupport: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw'}
                    mustSupport: true
                    index: 5
                  code: {mustSupport: true, index: 6}
                required: [system, code]
            TW2014ICD10PCS:
              match: {system: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw'}
              schema:
                binding: {strength: extensible, valueSet: 'https://twcore.mohw.gov.tw/ig/pas/ValueSet/icd-10-pcs-2014-image'}
                mustSupport: true
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw'}
                    mustSupport: true
                    index: 8
                  code: {mustSupport: true, index: 9}
                required: [system, code]
      text: {short: 影像檢查的身體部位, mustSupport: true, index: 10}
    required: [coding]
  presentedForm:
    short: 報告結果-MIMEType。若需要,可上傳影像報告的PDF檔。
    constraint:
      UploadContent: {human: '填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf', source: 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas', severity: error, expression: 'url.matches(''^file://[a-zA-Z0-9一-龥]+.[a-zA-Z]{2,5}$'')'}
    mustSupport: true
    index: 22
    elements:
      contentType: {mustSupport: true, index: 23}
      url: {short: 影像報告(請填寫完整檔案路徑), mustSupport: true, index: 24}
      title: {short: 影像報告名稱, mustSupport: true, index: 25}
    required: [url, title, contentType]
  imagingStudy:
    type: Reference
    short: DICOM影像,SNOMED CT
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ImagingStudy-twpas']
    index: 18
  media:
    short: 非DICOM影像
    mustSupport: true
    index: 19
    elements:
      link:
        type: Reference
        refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Media-twpas']
        index: 20
  subject:
    type: Reference
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Patient-twpas']
    index: 11
  performer:
    type: Reference
    short: 簽發影像報告醫師身分證號
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Practitioner-twpas']
    index: 17
package_version: 1.0.1
class: profile
kind: resource
url: https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.1
required: [effectiveDateTime, conclusion, subject, effective, performer]