PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.1.0
    https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
description: 此門診病歷-Composition OPD TWPAS Profile說明本IG如何進一步定義臺灣核心-臨床文件架構(TW Core Composition) Profile以呈現免疫製劑事前審查
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: CompositionOpdTWPAS
type: Composition
elements:
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas'}
        index: 1
    required: [profile]
  status:
    pattern: {type: Code, value: final}
    index: 2
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 34108-1, system: 'http://loinc.org'}
    index: 3
  subject:
    type: Reference
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas']
    index: 4
  encounter:
    type: Reference
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-opd-twpas']
    index: 5
  author:
    type: Reference
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Organization-twpas', 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Practitioner-twpas']
    index: 6
  section:
    array: true
    min: 4
    index: 7
    slicing:
      rules: closed
      discriminator:
      - {path: code.coding.code, type: value}
      min: 4
      slices:
        subjective:
          match:
            code:
              coding: {code: 10154-3}
          schema:
            mustSupport: true
            _required: true
            index: 8
            elements:
              code:
                index: 9
                elements:
                  coding:
                    index: 10
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 11
                      code:
                        pattern: {type: Code, value: 10154-3}
                        index: 12
                    required: [system, code]
                required: [coding]
              entry:
                type: Reference
                refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Observation-subjective-twpas']
                index: 13
            required: [entry, code]
        objective:
          match:
            code:
              coding: {code: 61149-1}
          schema:
            mustSupport: true
            _required: true
            index: 14
            elements:
              code:
                index: 15
                elements:
                  coding:
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 17
                      code:
                        pattern: {type: Code, value: 61149-1}
                        index: 18
                    required: [system, code]
                required: [coding]
              entry:
                type: Reference
                refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Observation-objective-twpas']
                index: 19
            required: [entry, code]
        assessment:
          match:
            code:
              coding: {code: 51848-0}
          schema:
            mustSupport: true
            _required: true
            index: 20
            elements:
              code:
                index: 21
                elements:
                  coding:
                    index: 22
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 23
                      code:
                        pattern: {type: Code, value: 51848-0}
                        index: 24
                    required: [system, code]
                required: [coding]
              entry:
                type: Reference
                refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/ClinicalImpression-twpas']
                index: 25
            required: [entry, code]
        plan:
          match:
            code:
              coding: {code: 18776-5}
          schema:
            mustSupport: true
            _required: true
            index: 26
            elements:
              code:
                index: 27
                elements:
                  coding:
                    index: 28
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        index: 29
                      code:
                        pattern: {type: Code, value: 18776-5}
                        index: 30
                    required: [system, code]
                required: [coding]
              entry:
                type: Reference
                refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/CarePlan-twpas']
                index: 31
            required: [entry, code]
package_version: 1.1.0
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Composition-opd-twpas
base: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Composition-twcore
version: 1.1.0
required: [encounter, subject, meta]