PackagesCanonicalsLogsProblems
    Packages
    basisprofil.tiplu.de.r4.dev@1.0.1
    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: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        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: 12
              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: 13
              min: 0
              max: 1
    required: [coding]
  date:
    mustSupport: true
    index: 16
    extensions:
      DocumentCreationDate: {url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 17}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate
        index: 17
        slicing:
          slices:
            DocumentCreationDate:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCreationDate', index: 17}
              min: 0
              max: 1
  encounter: {mustSupport: true, index: 15}
  section:
    mustSupport: true
    index: 20
    extensions:
      Zuordnungscodes:
        url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
        type: Extension
        mustSupport: true
        index: 21
        elements:
          value:
            mustSupport: true
            choices: []
            index: 23
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
        index: 21
        slicing:
          slices:
            Zuordnungscodes:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://tiplu.de/fhir/StructureDefinition/DocumentSectionSourceMapping
                index: 21
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 23
      title: {mustSupport: true, index: 24}
      code:
        elements:
          coding:
            mustSupport: true
            index: 25
            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: 26
                  min: 0
                  max: 1
                TipluCode:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://tiplu.de/fhir/ValueSet/DocumentSection'}
                    mustSupport: true
                    index: 27
                  min: 0
                  max: 1
        required: [coding]
      text: {mustSupport: true, index: 28}
      mode: {mustSupport: true, index: 29}
      emptyReason: {mustSupport: true, index: 30}
    required: [text]
  type:
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        array: true
        min: 2
        index: 5
        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: 6
              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: 7
              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: 8
              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: 9
              min: 0
              max: 1
  title: {mustSupport: true, index: 19}
  author: {mustSupport: true, index: 18}
  status:
    mustSupport: true
    index: 2
    extensions:
      KundenStatus: {url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCustomerStatus', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://tiplu.de/fhir/StructureDefinition/DocumentCustomerStatus
        index: 3
        slicing:
          slices:
            KundenStatus:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'https://tiplu.de/fhir/StructureDefinition/DocumentCustomerStatus', index: 3}
              min: 0
              max: 1
  identifier: {mustSupport: true, index: 1}
  subject: {mustSupport: true, index: 14}
  modifierExtension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.status
    index: 0
    slicing:
      slices:
        DocumentCompositionStatus:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.status', index: 0}
          min: 0
          max: 1
package_version: 1.0.1
class: profile
kind: resource
url: https://tiplu.de/fhir/StructureDefinition/TipluStructuredDocument
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 2.0.0
required: [identifier, category]