PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.medication@1.4.0-ballot.1
    https://gematik.de/fhir/epa-medication/StructureDefinition/emp-composition
description: Klinisches Dokument, um die Strukturen eines eMP-Snapshot-Dokuments darzustellen.
package_name: de.gematik.epa.medication
derivation: constraint
name: EMPComposition
type: Composition
elements:
  identifier:
    short: Versionsabhängiger Identifikator eines eMP (UUID)
    mustSupport: true
    index: 0
    elements:
      type: {index: 1}
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        index: 2
      value: {index: 3}
      assigner: {index: 4}
    required: [value, system]
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: MEDI, system: 'urn:oid:1.3.6.1.4.1.19376.3.276.1.5.8', display: Medikamentöse Therapien}
    index: 5
    elements:
      coding: {index: 6}
      text: {index: 7}
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/epa/StructureDefinition/epa-patient']
    index: 8
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 9}
    required: [identifier]
  date: {mustSupport: true, index: 10}
  author: {mustSupport: true, index: 11}
  title:
    mustSupport: true
    pattern: {type: String, value: eMP-Dokument}
    index: 12
  section:
    mustSupport: true
    index: 13
    elements:
      code:
        mustSupport: true
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: 10160-0, system: 'http://loinc.org'}
        index: 14
      text: {mustSupport: true, index: 15}
      entry:
        type: Reference
        short: Medikationen des eMP-Dokuments
        refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest']
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: resolve(), type: profile}
          min: null
          slices:
            medicationRequest:
              match: {}
              schema:
                type: Reference
                mustSupport: true
                refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request']
                array: true
                index: 17
              min: 0
      section: {index: 18}
package_version: 1.4.0-ballot.1
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.4.0
required: [section]