PackagesCanonicalsLogsProblems
    Packages
    basisprofil.tiplu.de.r4.dev@1.0.0
    https://tiplu.de/fhir/StructureDefinition/TipluStructuredDocument
description: Mit der Composition werden die Dokumente in strukturierte Sections aufgeteilt
package_name: basisprofil.tiplu.de.r4.dev
derivation: constraint
name: TipluStructuredDocument
type: Composition
elements:
  category:
    mustSupport: true
    index: 11
    elements:
      coding:
        mustSupport: true
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            IHE-ClassCode:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://ihe-d.de/ValueSets/IHEXDSclassCode'}
                mustSupport: true
                _required: true
                index: 13
              min: 1
              max: 1
            LOINC:
              match: {system: 'http://loinc.org'}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/R4/valueset-document-classcodes.html'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://loinc.org'}
                index: 14
              min: 0
              max: 1
    required: [coding]
  date:
    mustSupport: true
    index: 17
    extensions:
      DocumentCreationDate: {url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 18}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate
        index: 18
        slicing:
          slices:
            DocumentCreationDate:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate', index: 18}
              min: 0
              max: 1
  encounter: {mustSupport: true, index: 16}
  section:
    mustSupport: true
    index: 21
    extensions:
      Zuordnungscodes:
        url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
        type: Extension
        mustSupport: true
        index: 22
        elements:
          value:
            mustSupport: true
            choices: []
            index: 24
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
        index: 22
        slicing:
          slices:
            Zuordnungscodes:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
                index: 22
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 24
      title: {mustSupport: true, index: 25}
      code:
        elements:
          coding:
            mustSupport: true
            index: 26
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              slices:
                LOINC:
                  match: {system: 'http://loinc.org'}
                  schema:
                    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/doc-section-codes'}
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://loinc.org'}
                    index: 27
                  min: 0
                  max: 1
                TipluCode:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://tiplu.de/fhir/ValueSet/DocumentSection'}
                    mustSupport: true
                    index: 28
                  min: 0
                  max: 1
        required: [coding]
      text: {mustSupport: true, index: 29}
      mode: {mustSupport: true, index: 30}
      emptyReason: {mustSupport: true, index: 31}
    required: [text]
  type:
    mustSupport: true
    index: 5
    elements:
      coding:
        mustSupport: true
        array: true
        min: 2
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 2
          slices:
            KDL:
              match: {system: 'http://dvmd.de/fhir/CodeSystem/kdl'}
              schema:
                binding: {strength: required, valueSet: 'http://dvmd.de/fhir/ValueSet/kdl'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://dvmd.de/fhir/CodeSystem/kdl'}
                _required: true
                index: 7
              min: 1
              max: 1
            IHE-TypeCode:
              match: {system: 'http://ihe-d.de/CodeSystems/IHEXDStypeCode'}
              schema:
                mustSupport: true
                _required: true
                binding: {strength: required, valueSet: 'http://ihe-d.de/ValueSets/IHEXDStypeCode'}
                pattern:
                  type: Coding
                  value: {system: 'http://ihe-d.de/CodeSystems/IHEXDStypeCode'}
                index: 8
              min: 1
              max: 1
            LOINC:
              match: {system: 'http://loinc.org'}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/c80-doc-typecodes'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://loinc.org'}
                index: 9
              min: 0
              max: 1
            TipluCode:
              match: {system: 'https://tiplu.de/fhir/CodeSystem/DocumentType'}
              schema:
                binding: {strength: required, valueSet: 'https://tiplu.de/fhir/ValueSet/DocumentType'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://tiplu.de/fhir/CodeSystem/DocumentType'}
                index: 10
              min: 0
              max: 1
  title: {mustSupport: true, index: 20}
  author: {mustSupport: true, index: 19}
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/extension-Composition.status
    index: 0
    slicing:
      slices:
        DocumentCompositionStatus:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/extension-Composition.status', index: 0}
          min: 0
          max: 1
  status:
    mustSupport: true
    index: 2
    extensions:
      KundenCode: {url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCustomerStatus', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
    elements:
      extension:
        index: 3
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            KundenCode:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCustomerStatus', index: 4}
              min: 0
              max: 1
  identifier: {mustSupport: true, index: 1}
  subject: {mustSupport: true, index: 15}
package_version: 1.0.0
extensions:
  DocumentCompositionStatus: {url: 'http://hl7.org/fhir/StructureDefinition/extension-Composition.status', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: https://tiplu.de/fhir/StructureDefinition/TipluStructuredDocument
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.2.0
required: [identifier, category]