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