PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.emr@0.2.0
    https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckComposition
description: 此Profile用於描述檢驗檢查中的報告資料
package_name: tw.gov.mohw.emr
derivation: constraint
name: InspectionCheckComposition
type: Composition
elements:
  status:
    pattern: {type: Code, value: final}
    index: 0
  type:
    elements:
      text:
        short: 類型說明描述
        pattern: {type: String, value: 檢驗檢查}
        index: 1
    required: [text]
  subject:
    type: Reference
    short: 報告文件有關的對象及(或)事物。[應填入於檢驗檢查中的病人基本資料]
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckPatient']
    index: 2
    elements:
      reference: {mustSupport: true, index: 3}
    required: [reference]
  encounter:
    type: Reference
    short: 報告文件來自於哪次住院基本資料
    mustSupport: true
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckEncounter']
    index: 4
    elements:
      reference: {short: 關聯至檢驗檢查中的開立資料, mustSupport: true, index: 5}
    required: [reference]
  date: {short: '報告產生日期。[應填入於檢驗檢查報告日期時間Report Date and Time]', index: 6}
  author:
    type: Reference
    short: 報告文件有關的創作部分
    refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckOrganization', 'https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckPractitioner']
    array: true
    min: 2
    index: 7
    elements:
      reference: {mustSupport: true, index: 8}
    required: [reference]
  title: {short: 報告文件的名字或標題, index: 9}
  section:
    short: 報告文件與哪些資料有關
    index: 10
    elements:
      code:
        index: 11
        elements:
          coding:
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'http://loinc.org'}
                index: 13
              code:
                pattern: {type: Code, value: 30954-2}
                index: 14
              display:
                pattern: {type: String, value: Relevant diagnostic tests/laboratory data Narrative}
                index: 15
            required: [system, code]
        required: [coding]
      entry:
        array: true
        min: 2
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: resolve(), type: profile}
          min: 2
          slices:
            Observation:
              match: {}
              schema:
                type: Reference
                short: 檢驗檢查中的檢驗資料
                refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckObservation']
                _required: true
                index: 17
                elements:
                  reference: {index: 18}
                required: [reference]
            Specimen:
              match: {}
              schema:
                type: Reference
                short: 檢驗檢查中的檢體來源
                refers: ['https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckSpecimen']
                _required: true
                index: 19
                elements:
                  reference: {index: 20}
                required: [reference]
    required: [code]
package_version: 0.2.0
class: profile
kind: resource
url: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/InspectionCheckComposition
base: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Composition-twcore
version: 0.2.0
required: [encounter, section, subject]