PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.laboratory@1.0.0-ballot.1
    https://gematik.de/fhir/epa-laboratory/StructureDefinition/composition-dglp
description: Dieses Profil bündelt die Strukturen, die zum gesamten Laborbefund gehören. Das MIO Laborbefund enthält genau einen Laborgesamtbefund, inklusive aller Befundanteile und Anhänge.
package_name: de.gematik.epa.laboratory
derivation: constraint
name: CompositiondgLP
type: Composition
elements:
  category:
    index: 49
    slicing:
      slices:
        studyType:
          match: {}
          schema: {index: 50}
          max: 0
        specialty:
          match: {}
          schema: {index: 51}
          max: 0
  date: {mustSupport: true, index: 55}
  encounter: {index: 54}
  section:
    mustSupport: true
    index: 76
    slicing:
      slices:
        annotations:
          match: {}
          schema: {index: 77}
          max: 0
        attachment:
          match: {}
          schema: {index: 78}
          max: 0
        result:
          match: {}
          schema:
            min: 1
            short: Laboruntersuchungsergebnisse
            index: 79
            mustSupport: true
            array: true
            elements:
              orderedBy: {index: 94}
              section: {index: 101}
              mode: {index: 93}
              title: {mustSupport: true, index: 81}
              emptyReason: {index: 100}
              author: {index: 90}
              extension:
                index: 80
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {index: 80}
                      max: 0
              code:
                binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                mustSupport: true
                index: 82
                elements:
                  coding:
                    mustSupport: true
                    index: 83
                    elements:
                      system: {mustSupport: true, index: 84}
                      version: {mustSupport: true, index: 85}
                      code: {mustSupport: true, index: 86}
                      display: {mustSupport: true, index: 87}
                      userSelected: {index: 88}
                    required: [display, system, code]
                  text: {mustSupport: true, index: 89}
              focus: {index: 91}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/observation-image-attachment-dglp', 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/observation-laboratory-study-group-dglp']
                index: 95
                elements:
                  reference: {mustSupport: true, index: 96}
                  type: {index: 97}
                  identifier: {index: 98}
                  display: {index: 99}
                required: [reference]
              text: {mustSupport: true, index: 92}
            _required: true
            extensions:
              section-note: {url: null, max: 0, index: 80}
            required: [entry]
  attester:
    short: Freigabe des gesamten Laborbefundes
    mustSupport: true
    index: 63
    slicing:
      slices:
        legalAuthenticator:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 64
            elements:
              mode: {mustSupport: true, index: 65}
              time:
                constraint:
                  epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-laboratory/StructureDefinition/composition-dglp', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
                mustSupport: true
                index: 66
              party:
                type: Reference
                mustSupport: true
                refers: ['https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner-role']
                index: 67
                elements:
                  reference: {mustSupport: true, index: 68}
                  type: {index: 69}
                  identifier: {index: 70}
                  display: {index: 71}
                required: [reference]
        validator:
          match: {}
          schema: {index: 72}
          max: 0
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '4241000179101', system: 'http://snomed.info/sct', display: Laboratory report, version: 'http://snomed.info/sct/11000274103/version/20260515'}
        - {code: 11502-2, system: 'http://loinc.org', display: Laboratory report, version: '2.82'}
    index: 41
    elements:
      coding:
        mustSupport: true
        array: true
        min: 2
        max: 2
        index: 42
        elements:
          system: {mustSupport: true, index: 43}
          version: {mustSupport: true, index: 44}
          code: {mustSupport: true, index: 45}
          display: {mustSupport: true, index: 46}
          userSelected: {index: 47}
        required: [version, display, system, code]
      text: {index: 48}
  title:
    mustSupport: true
    pattern: {type: String, value: Laboratory Report}
    index: 61
  author:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/ti/StructureDefinition/ti-organization', 'https://gematik.de/fhir/ti/StructureDefinition/ti-patient', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner-role']
    index: 56
    elements:
      reference: {mustSupport: true, index: 57}
      type: {index: 58}
      identifier: {index: 59}
      display: {index: 60}
    required: [reference]
  extension:
    mustSupport: true
    array: true
    min: 3
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 3
      slices:
        version:
          match: {url: null}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              value:
                mustSupport: true
                choices: []
                index: 3
            required: [value]
        informationRecipient:
          match: {url: null}
          schema:
            short: Empfänger:in des Laborbefundes
            mustSupport: true
            _required: true
            index: 4
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 6
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['https://gematik.de/fhir/ti/StructureDefinition/ti-organization', 'https://gematik.de/fhir/ti/StructureDefinition/ti-patient', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner-role', 'https://gematik.de/fhir/ti/StructureDefinition/ti-related-person']
                index: 7
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 8}
                  identifier: {mustSupport: true, index: 9}
            required: [valueReference, value]
        diagnosticReport:
          match: {url: null}
          schema:
            mustSupport: true
            _required: true
            index: 10
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 12
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/diagnostic-report-dglp']
                index: 13
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 14}
                  type: {index: 15}
                  identifier: {index: 16}
                  display: {index: 17}
        basedOn-order-or-requisition:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
            index: 18
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 20
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/service-request-dglp']
                index: 21
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 22}
                  type: {index: 23}
                  identifier: {index: 24}
                  display: {index: 25}
                required: [reference]
            required: [valueReference, value]
  event: {index: 75}
  custodian: {index: 73}
  status: {mustSupport: true, index: 40}
  identifier:
    short: Versionsunabhängiger konstanter Identifikator Laborgesamtbefund (UUID)
    mustSupport: true
    index: 26
    elements:
      use: {index: 27}
      type:
        index: 28
        elements:
          coding:
            mustSupport: true
            index: 29
            elements:
              system: {mustSupport: true, index: 30}
              version: {mustSupport: true, index: 31}
              code: {mustSupport: true, index: 32}
              display: {mustSupport: true, index: 33}
              userSelected: {index: 34}
            required: [display, system, code]
          text: {index: 35}
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        mustSupport: true
        index: 36
      value: {mustSupport: true, index: 37}
      period: {index: 38}
      assigner: {index: 39}
    required: [value, system]
  relatesTo: {index: 74}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/ti/StructureDefinition/ti-patient']
    index: 52
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 53}
    required: [identifier]
  confidentiality: {index: 62}
package_version: 1.0.0-ballot.1
extensions:
  version:
    url: null
    mustSupport: true
    _required: true
    index: 1
    elements:
      value:
        mustSupport: true
        choices: []
        index: 3
    required: [value]
  informationRecipient:
    url: null
    short: Empfänger:in des Laborbefundes
    mustSupport: true
    _required: true
    index: 4
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 6
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['https://gematik.de/fhir/ti/StructureDefinition/ti-organization', 'https://gematik.de/fhir/ti/StructureDefinition/ti-patient', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner', 'https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner-role', 'https://gematik.de/fhir/ti/StructureDefinition/ti-related-person']
        index: 7
      value[x]:
        elements:
          reference: {mustSupport: true, index: 8}
          identifier: {mustSupport: true, index: 9}
    required: [valueReference, value]
  diagnosticReport:
    url: null
    mustSupport: true
    _required: true
    index: 10
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 12
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/diagnostic-report-dglp']
        index: 13
      value[x]:
        elements:
          reference: {mustSupport: true, index: 14}
          type: {index: 15}
          identifier: {index: 16}
          display: {index: 17}
  basedOn-order-or-requisition:
    url: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
    type: Extension
    mustSupport: true
    index: 18
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 20
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['https://gematik.de/fhir/epa-laboratory/StructureDefinition/service-request-dglp']
        index: 21
      value[x]:
        elements:
          reference: {mustSupport: true, index: 22}
          type: {index: 23}
          identifier: {index: 24}
          display: {index: 25}
        required: [reference]
    required: [valueReference, value]
class: profile
kind: resource
url: https://gematik.de/fhir/epa-laboratory/StructureDefinition/composition-dglp
base: http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab
version: 1.0.0
required: [attester]