PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.eps@1.0.0-poc
    http://fhir.ehdsi.eu/eps/StructureDefinition/composition-eps-myhealtheu
description: This profile constrains the Composition resource to represent a Patient Summary for the purpose of the MyHealth@EU EPS.
package_name: myhealth.eu.fhir.eps
derivation: constraint
name: CompositionMyHealthEuEps
type: Composition
elements:
  category: {index: 9}
  date: {index: 11}
  section:
    array: true
    min: 5
    index: 22
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSISection'}
        index: 23
    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:
            short: Problems
            _required: true
            index: 24
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 25
              text: {index: 26}
              entry:
                short: problem
                index: 27
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    problem:
                      match: {}
                      schema:
                        short: Problem
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/condition-eps-myhealtheu']
                        type: Reference
                        array: true
                        index: 28
                      min: 0
        sectionPatientStory:
          match:
            code:
              coding:
              - {code: 81338-6, system: 'http://loinc.org'}
          schema:
            short: Patient Story
            index: 70
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 81338-6, system: 'http://loinc.org'}
                index: 71
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: History of Procedures
            _required: true
            index: 39
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 40
              text: {index: 41}
              entry:
                short: Slice on procedure
                index: 42
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    procedure:
                      match: {}
                      schema:
                        short: Procedure
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/procedure-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 43
                      min: 0
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: Plan of Care
            index: 72
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 73
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: Medical Devices
            _required: true
            index: 44
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 45
              text: {index: 46}
              entry:
                short: EPS Medical Device entry
                index: 47
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    deviceStatement:
                      match: {}
                      schema:
                        short: Medical device
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/deviceUseStatement-eps-myhealtheu']
                        type: Reference
                        array: true
                        index: 48
                      min: 0
        sectionTravelHx:
          match:
            code:
              coding:
              - {code: 10182-4, system: 'http://loinc.org'}
          schema:
            short: Travel History
            index: 80
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10182-4, system: 'http://loinc.org'}
                index: 81
              entry:
                short: EPS Travel History entry
                index: 82
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    travelHistory:
                      match: {}
                      schema:
                        short: Travel History
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/observation-travel-history-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 83
                      min: 0
        sectionSocialHistory:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: Social History
            index: 74
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 75
        sectionPatientHx:
          match:
            code:
              coding:
              - {code: 11329-0, system: 'http://loinc.org'}
          schema:
            short: Patient History
            index: 84
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11329-0, system: 'http://loinc.org'}
                index: 85
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: Functional Status
            index: 65
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 66
              text: {index: 67}
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            short: Allergy and intolerance
            _required: true
            index: 29
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 30
              text: {index: 31}
              entry:
                short: allergyOrIntolerance
                index: 32
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        short: Allergy or intolerance
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/allergyIntolerance-eps-myhealtheu']
                        type: Reference
                        array: true
                        index: 33
                      min: 0
        sectionPregnancyHx:
          match:
            code:
              coding:
              - {code: 10162-6, system: 'http://loinc.org'}
          schema:
            short: Pregnancy History
            index: 68
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10162-6, system: 'http://loinc.org'}
                index: 69
        sectionAdvanceDirectives:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            short: Advance Directives
            index: 56
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 57
              entry:
                short: EPS Advance Directives entry
                index: 58
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    advanceDirective:
                      match: {}
                      schema:
                        short: Advance Directive
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/advance-directive-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 59
                      min: 0
        sectionAlert:
          match:
            code:
              coding:
              - {code: 104605-1, system: 'http://loinc.org'}
          schema:
            short: Medical alerts
            index: 60
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 104605-1, system: 'http://loinc.org'}
                index: 61
              text: {index: 62}
              entry:
                short: EPS Alerts entry
                index: 63
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    flag:
                      match: {}
                      schema:
                        short: Alert
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/flag-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 64
                      min: 0
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: Vital Signs
            index: 76
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 77
              entry:
                short: Vital Signs
                index: 78
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    vitalSign:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/observation-vital-eps-myhealtheu']
                        array: true
                        index: 79
                      min: 0
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: Immunizations
            index: 49
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 50
        sectionResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: Results
            index: 51
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 52
              entry:
                short: EPS Results entry
                index: 53
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    results-medicalTestResult:
                      match: {}
                      schema:
                        short: Medical test results
                        refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core']
                        type: Reference
                        array: true
                        index: 54
                      min: 0
                    results-diagnosticReport:
                      match: {}
                      schema:
                        short: EPS DiagnosticReport
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/diagnosticReport-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 55
                      min: 0
        sectionMedications:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            short: Medications
            _required: true
            index: 34
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 35
              text: {index: 36}
              entry:
                short: medicationStatementOrRequest
                index: 37
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    medicationStatementOrRequest:
                      match: {}
                      schema:
                        short: Medications
                        refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/medicationStatement-myhealtheu-eps']
                        type: Reference
                        array: true
                        index: 38
                      min: 0
  attester:
    index: 14
    elements:
      party:
        type: Reference
        refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core']
        index: 15
    slicing:
      slices:
        legalAuthenticator:
          match: {}
          schema:
            index: 16
            elements:
              party:
                type: Reference
                refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core']
                index: 17
        validator:
          match: {}
          schema:
            index: 18
            elements:
              party:
                type: Reference
                refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core']
                index: 19
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 60591-5, system: 'http://loinc.org'}
    index: 8
  title: {index: 13}
  author:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/Device']
    index: 12
  extension:
    index: 1
    slicing:
      slices:
        version:
          match: {}
          schema: {index: 1}
        informationRecipient:
          match: {}
          schema:
            index: 2
            elements:
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 5
  custodian:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core']
    index: 20
  status: {index: 7}
  language:
    binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILanguage'}
    index: 0
  identifier: {index: 6}
  relatesTo: {index: 21}
  subject:
    type: Reference
    refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core']
    index: 10
package_version: 1.0.0-poc
extensions:
  version: {url: null, index: 1}
  informationRecipient:
    url: null
    index: 2
    elements:
      value:
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core', 'http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 5
class: profile
kind: resource
url: http://fhir.ehdsi.eu/eps/StructureDefinition/composition-eps-myhealtheu
base: http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core
version: 1.0.0-poc