PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.eps@1.0.0-ballot.1
    https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-composition
description: Klinisches Dokument, um die Strukturen einer ePA European Patient Summary darzustellen.
package_name: de.gematik.epa.eps
derivation: constraint
name: EPAEPSComposition
type: Composition
elements:
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-patient']
    index: 0
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 1}
    required: [identifier]
  date: {mustSupport: true, index: 2}
  author:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-device']
    index: 3
  title:
    mustSupport: true
    pattern: {type: String, value: ePA European Patient Summary}
    index: 4
  section:
    array: true
    min: 5
    index: 5
    elements:
      section: {index: 6}
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: value}
      min: 5
      slices:
        sectionProblems:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-composition', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: Probleme
            _required: true
            index: 7
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 8
              entry:
                type: Reference
                short: Klinische Probleme oder Erkrankungen
                refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 9
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    problem:
                      match: {}
                      schema:
                        short: Klinisches Problem oder Erkrankung
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core']
                        type: Reference
                        array: true
                        index: 10
                      min: 0
        sectionPatientStory:
          match:
            code:
              coding:
              - {code: 81338-6, system: 'http://loinc.org'}
          schema:
            short: Perspektive des Versicherten
            index: 55
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 81338-6, system: 'http://loinc.org'}
                index: 56
              entry: {short: Ressourcen zur Perspektive des Versicherten., index: 57}
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: Durchgeführte Prozeduren
            _required: true
            index: 28
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 29
              entry:
                type: Reference
                short: Relevante Prozeduren
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Procedure']
                index: 30
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    procedure:
                      match: {}
                      schema:
                        short: Prozedur
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/procedure-eu-eps']
                        type: Reference
                        array: true
                        index: 31
                      min: 0
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: Versorgungsplan
            index: 58
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 59
              entry:
                type: Reference
                short: Strukturierte Versorgungsplanung
                refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation']
                index: 60
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    carePlan:
                      match: {}
                      schema:
                        short: Versorgungsplan
                        refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan']
                        type: Reference
                        array: true
                        index: 61
                      min: 0
                    immunizationRecommendation:
                      match: {}
                      schema:
                        short: Impfempfehlung
                        refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation']
                        type: Reference
                        array: true
                        index: 62
                      min: 0
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: Medizinische Geräte
            _required: true
            index: 32
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 33
              entry:
                type: Reference
                short: Verwendete medizinische Geräte
                refers: ['http://hl7.org/fhir/StructureDefinition/DeviceUseStatement', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 34
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    deviceStatement:
                      match: {}
                      schema:
                        short: Medizinisches Gerät
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/deviceUseStatement-eu-eps']
                        type: Reference
                        array: true
                        index: 35
                      min: 0
        sectionTravelHx:
          match:
            code:
              coding:
              - {code: 10182-4, system: 'http://loinc.org'}
          schema:
            short: Reiseanamnese
            index: 72
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10182-4, system: 'http://loinc.org'}
                index: 73
              entry:
                type: Reference
                short: Reiseanamnese
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 74
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    travelObservation:
                      match: {}
                      schema:
                        short: Reiseinformation
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/observation-travel-eu-eps']
                        type: Reference
                        array: true
                        index: 75
                      min: 0
        sectionSocialHistory:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: Sozialanamnese
            index: 63
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 64
              entry:
                type: Reference
                short: Gesundheitsbezogene Lebensstilinformationen
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 65
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    smokingTobaccoUse:
                      match: {}
                      schema:
                        short: Tabakkonsum
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips']
                        type: Reference
                        array: true
                        index: 66
                      min: 0
                    alcoholUse:
                      match: {}
                      schema:
                        short: Alkoholkonsum
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips']
                        type: Reference
                        array: true
                        index: 67
                      min: 0
        sectionPatientHx:
          match:
            code:
              coding:
              - {code: 11329-0, system: 'http://loinc.org'}
          schema:
            short: Patientenanamnese
            index: 76
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11329-0, system: 'http://loinc.org'}
                index: 77
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: Funktioneller Status
            index: 44
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 45
              entry:
                type: Reference
                short: Funktionelle Einschränkungen und Beurteilungen
                refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 46
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    disability:
                      match: {}
                      schema:
                        short: Funktionelle Einschränkung
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core']
                        type: Reference
                        array: true
                        index: 47
                      min: 0
                    functionalAssessment:
                      match: {}
                      schema:
                        short: Funktionelle Beurteilung
                        refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression']
                        type: Reference
                        array: true
                        index: 48
                      min: 0
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-composition', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: Allergien und Unverträglichkeiten
            _required: true
            index: 11
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 12
              entry:
                type: Reference
                short: Allergien oder Unverträglichkeiten
                refers: ['http://hl7.org/fhir/StructureDefinition/AllergyIntolerance', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        short: Allergie oder Unverträglichkeit
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core']
                        type: Reference
                        array: true
                        index: 14
                      min: 0
        sectionPregnancyHx:
          match:
            code:
              coding:
              - {code: 10162-6, system: 'http://loinc.org'}
          schema:
            short: Schwangerschaftsanamnese
            index: 49
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10162-6, system: 'http://loinc.org'}
                index: 50
              entry:
                short: Schwangerschaftsstatus und Schwangerschaftsanamnese
                index: 51
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    pregnancyStatus:
                      match: {}
                      schema:
                        short: Schwangerschaftsstatus
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips']
                        type: Reference
                        array: true
                        index: 52
                      min: 0
                    pregnancyOutcome:
                      match: {}
                      schema:
                        short: Ausgang einer Schwangerschaft
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips']
                        type: Reference
                        array: true
                        index: 53
                      min: 0
                    gestationalAge:
                      match: {}
                      schema:
                        short: Gestationsalter
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/observation-pregnancy-gestationalAge-eu-eps']
                        type: Reference
                        array: true
                        index: 54
                      min: 0
        sectionAdvanceDirectives:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            short: Vorausverfügungen
            index: 36
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 37
              entry:
                type: Reference
                short: Vorausverfügungen
                refers: ['http://hl7.org/fhir/StructureDefinition/Consent', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 38
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    advanceDirectivesConsent:
                      match: {}
                      schema:
                        short: Vorausverfügung
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/consent-eu-eps']
                        type: Reference
                        array: true
                        index: 39
                      min: 0
        sectionAlerts:
          match:
            code:
              coding:
              - {code: 104605-1, system: 'http://loinc.org'}
          schema:
            short: Warnhinweise
            index: 40
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 104605-1, system: 'http://loinc.org'}
                index: 41
              entry:
                type: Reference
                short: Warnhinweise
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Flag']
                index: 42
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    flag:
                      match: {}
                      schema:
                        short: Warnhinweis
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core']
                        type: Reference
                        array: true
                        index: 43
                      min: 0
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: Vitalparameter
            index: 68
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 69
              entry:
                type: Reference
                short: Relevante Vitalparameter
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 70
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    vitalSign:
                      match: {}
                      schema:
                        short: Vitalparameter
                        refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns']
                        type: Reference
                        array: true
                        index: 71
                      min: 0
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: Impfungen
            index: 19
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 20
              entry:
                type: Reference
                short: Impfstatus und Impfhistorie
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization']
                index: 21
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    immunization:
                      match: {}
                      schema:
                        short: Impfung
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/immunization-eu-core']
                        type: Reference
                        array: true
                        index: 22
                      min: 0
        sectionResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: Ergebnisse
            index: 23
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 24
              entry:
                type: Reference
                short: Untersuchungsergebnisse
                refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 25
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    results-medicalTestResult:
                      match: {}
                      schema:
                        short: Medizinisches Untersuchungsergebnis
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                        type: Reference
                        array: true
                        index: 26
                      min: 0
                    results-diagnosticReport:
                      match: {}
                      schema:
                        short: Diagnostischer Bericht
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps']
                        type: Reference
                        array: true
                        index: 27
                      min: 0
        sectionMedications:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-composition', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: Medikation
            _required: true
            index: 15
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 16
              entry:
                type: Reference
                short: Relevante Medikation
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationStatement']
                index: 17
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: type}
                  min: null
                  slices:
                    medicationStatementOrRequest:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps']
                        array: true
                        index: 18
                      min: 0
package_version: 1.0.0-ballot.1
class: profile
kind: resource
url: https://gematik.de/fhir/epa-eps/StructureDefinition/epa-eps-composition
base: http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core
version: 1.0.0