PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.hdr@1.0.0
    http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr
description: Clinical document used to represent a Hospital Discharge Report (HDR) for the scope of this guide.
package_name: hl7.fhir.eu.hdr
derivation: constraint
name: CompositionEuHdr
type: Composition
elements:
  category: {index: 14}
  date: {short: HDR date, index: 17}
  encounter:
    type: Reference
    refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/encounter-eu-hdr']
    index: 16
  section:
    short: Sections composing the HDR
    constraint:
      cmp-hdr-1: {human: 'A section SHALL have text, sub-sections, or both.', source: 'http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr', severity: error, expression: text.exists() or section.exists()}
    index: 24
    extensions:
      section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 26}
    elements:
      extension:
        index: 25
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            section-note:
              match: {url: null}
              schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 26}
              min: 0
      title: {index: 27}
      code: {index: 28}
    required: [title, code]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        sectionDischargeMedications:
          match:
            code:
              coding:
              - {code: 75311-1, system: 'http://loinc.org'}
          schema:
            short: Medication intended after discharge
            index: 117
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 118}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 118
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 118}
                      min: 0
              title: {short: 'Label of section, e.g. "Hospital discharge medications" for ToC', index: 119}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 75311-1, system: 'http://loinc.org'}
                index: 120
              text: {index: 121}
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicationRequest-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr']
                index: 122
        sectionProblems:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            short: Problems currently being monitored
            index: 134
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 135}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 135
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 135}
                      min: 0
              title: {short: 'Label of section, e.g. "Problem list" for ToC', index: 136}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 137
              entry:
                type: Reference
                short: Clinical problems or conditions currently being monitored for the patient.
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 138
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    problem:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core']
                        array: true
                        index: 139
                      min: 0
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: Past procedures relevant to this encounter
            index: 83
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 84}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 84
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 84}
                      min: 0
              title: {short: 'Label of section, e.g. "History of procedures" for ToC', index: 85}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 86
              entry:
                type: Reference
                short: Past procedure entry
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 87
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    procedure:
                      match: {}
                      schema:
                        short: Patient past procedures pertinent to the scope of this document.
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core']
                        type: Reference
                        array: true
                        index: 88
                      min: 0
        sectionDischargeDetails:
          match:
            code:
              coding:
              - {code: 8650-4, system: 'http://loinc.org'}
          schema:
            short: Discharge status and disposition of the patient
            index: 146
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 147}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 147
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 147}
                      min: 0
              title: {short: 'Label of section, e.g. "Discharge details" for ToC', index: 148}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8650-4, system: 'http://loinc.org'}
                index: 149
              text: {index: 150}
        sectionDischargeSummary:
          match:
            code:
              coding:
              - {code: 18842-5, system: 'http://loinc.org'}
          schema:
            short: Complete narrative discharge summary
            index: 58
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 59}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 59
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 59}
                      min: 0
              title: {short: 'Label of section, e.g. "Discharge summary" for ToC', index: 60}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18842-5, system: 'http://loinc.org'}
                index: 61
        sectionAttachments:
          match:
            code:
              coding:
              - {code: 77599-9, system: 'http://loinc.org'}
          schema:
            short: Library of attachments
            index: 151
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 152}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 152
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 152}
                      min: 0
              title: {short: 'Label of section, e.g. "Attachments" for ToC', index: 153}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 77599-9, system: 'http://loinc.org'}
                index: 154
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 155
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: Plan of care and recommendations after discharge
            index: 111
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 112}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 112
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 112}
                      min: 0
              title: {short: 'Label of section, e.g. "Plan of care" for ToC', index: 113}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 114
              text: {index: 115}
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/carePlan-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 116
        sectionAdmissionEvaluation:
          match:
            code:
              coding:
              - {code: 67851-6, system: 'http://loinc.org'}
          schema:
            short: Patient evaluation at hospital admission
            index: 36
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 37}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 37
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 37}
                      min: 0
              title: {short: 'Label of section, e.g. "Hospital admission evaluation" for ToC', index: 38}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 67851-6, system: 'http://loinc.org'}
                index: 39
              text: {index: 40}
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: Devices used or implanted before this encounter
            index: 77
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 78}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 78
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 78}
                      min: 0
              title: {short: 'Label of section, e.g. "History of medical device use" for ToC', index: 79}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 80
              entry:
                type: Reference
                short: Medical device entry
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 81
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    deviceStatement:
                      match: {}
                      schema:
                        short: Patient history of medical device use
                        refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr']
                        type: Reference
                        array: true
                        index: 82
                      min: 0
        sectionImplantedDevices:
          match:
            code:
              coding:
              - {code: 57080-4, system: 'http://loinc.org'}
          schema:
            short: Devices and implants during the hospital stay
            index: 95
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 96}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 96
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 96}
                      min: 0
              title: {short: 'Label of section, e.g. "Medical devices and implants" for ToC', index: 97}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 57080-4, system: 'http://loinc.org'}
                index: 98
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr']
                index: 99
        sectionPhysicalFindings:
          match:
            code:
              coding:
              - {code: 29545-1, system: 'http://loinc.org'}
          schema:
            short: Objective findings from physical examination
            index: 46
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 47}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 47
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 47}
                      min: 0
              title: {short: 'Label of section, e.g. "Physical findings" for ToC', index: 48}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29545-1, system: 'http://loinc.org'}
                index: 49
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 50
        sectionPatientHx:
          match:
            code:
              coding:
              - {code: 11329-0, system: 'http://loinc.org'}
          schema:
            short: Narrative patient health history (anamnesis)
            index: 129
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 130}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 130
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 130}
                      min: 0
              title: {short: 'Label of section, e.g. "Patient health history" for ToC', index: 131}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11329-0, system: 'http://loinc.org'}
                index: 132
              text: {index: 133}
        sectionSignificantProcedures:
          match:
            code:
              coding:
              - {code: 10185-7, system: 'http://loinc.org'}
          schema:
            short: Significant procedures performed during the stay
            index: 72
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 73}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 73
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 73}
                      min: 0
              title: {short: 'Label of section, e.g. "Significant procedures" for ToC', index: 74}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10185-7, system: 'http://loinc.org'}
                index: 75
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core']
                index: 76
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: Ability to perform activities of daily living
            index: 51
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 52}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 52
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 52}
                      min: 0
              title: {short: 'Label of section, e.g. "Functional status" for ToC', index: 53}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 54
              entry:
                type: Reference
                short: Optional entry used to represent disabilities and functional assessments
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core', 'http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse']
                index: 55
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    condition:
                      match: {}
                      schema:
                        short: Functional status condition entry
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core']
                        type: Reference
                        array: true
                        index: 56
                      min: 0
                    observation:
                      match: {}
                      schema:
                        short: Functional status observation entry
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        type: Reference
                        array: true
                        index: 57
                      min: 0
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            short: Relevant allergies and intolerances
            index: 123
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 124}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 124
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 124}
                      min: 0
              title: {short: 'Label of section, e.g. "Allergies and intolerances" for ToC', index: 125}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 126
              entry:
                type: Reference
                short: Allergy or intolerance entry
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 127
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        short: Relevant allergies or intolerances for that patient.
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core']
                        type: Reference
                        array: true
                        index: 128
                      min: 0
        sectionHospitalCourse:
          match:
            code:
              coding:
              - {code: 8648-8, system: 'http://loinc.org'}
          schema:
            short: Significant information about course of hospital stay
            index: 62
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 63}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 63
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 63}
                      min: 0
              title: {short: 'Label of section, e.g. "Hospital course" for ToC', index: 64}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8648-8, system: 'http://loinc.org'}
                index: 65
              text: {index: 66}
        sectionDiagnosticSummary:
          match:
            code:
              coding:
              - {code: 11535-2, system: 'http://loinc.org'}
          schema:
            short: Problems and diagnoses of the hospital stay
            index: 67
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 68}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 68
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 68}
                      min: 0
              title: {short: 'Label of section, e.g. "Diagnostic summary" for ToC', index: 69}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11535-2, system: 'http://loinc.org'}
                index: 70
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core']
                index: 71
        sectionSignificantResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: Significant medical test results of the stay
            index: 100
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 101}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 101
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 101}
                      min: 0
              title: {short: 'Label of section, e.g. "Significant medical test results" for ToC', index: 102}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 103
              entry:
                type: Reference
                short: Significant medical test results
                refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 104
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    results-medicalTestResult:
                      match: {}
                      schema:
                        short: Medical test results
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core']
                        type: Reference
                        array: true
                        index: 105
                      min: 0
                    results-diagnosticReport:
                      match: {}
                      schema:
                        short: Diagnostic report
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/diagnosticReport-eu-core']
                        type: Reference
                        array: true
                        index: 106
                      min: 0
        sectionSynthesis:
          match:
            code:
              coding:
              - {code: 67781-5, system: 'http://loinc.org'}
          schema:
            short: Clinical synthesis of the hospital stay
            index: 107
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 108}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 108
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 108}
                      min: 0
              title: {short: 'Label of section, e.g. "Synthesis" for ToC', index: 109}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 67781-5, system: 'http://loinc.org'}
                index: 110
        sectionAlert:
          match:
            code:
              coding:
              - {code: 104605-1, system: 'http://loinc.org'}
          schema:
            short: Substantial alerts and warnings
            index: 29
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 30}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 30
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 30}
                      min: 0
              title: {short: 'Label of section, e.g. "Alerts" for ToC', index: 31}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 104605-1, system: 'http://loinc.org'}
                index: 32
              text: {index: 33}
              entry:
                type: Reference
                short: Alerts entry
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Flag']
                index: 34
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    flag:
                      match: {}
                      schema:
                        short: Alert information
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core']
                        type: Reference
                        array: true
                        index: 35
                      min: 0
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: Vital signs during the encounter and at discharge
            index: 41
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 42}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 42
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 42}
                      min: 0
              title: {short: 'Label of section, e.g. "Vital signs" for ToC', index: 43}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 44
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/vitalsigns']
                index: 45
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: Immunization status and vaccination history
            index: 140
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 141}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 141
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 141}
                      min: 0
              title: {short: 'Label of section, e.g. "Immunizations" for ToC', index: 142}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 143
              entry:
                type: Reference
                short: Patient's immunization status and pertinent history.
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/immunization-eu-core', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 144
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    immunization:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/immunization-eu-core']
                        array: true
                        index: 145
                      min: 0
        sectionPharmacotherapy:
          match:
            code:
              coding:
              - {code: 87232-5, system: 'http://loinc.org'}
          schema:
            short: Drug treatment discontinued before discharge
            index: 89
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 90}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note
                index: 90
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 90}
                      min: 0
              title: {short: 'Label of section, e.g. "Pharmacotherapy" for ToC', index: 91}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 87232-5, system: 'http://loinc.org'}
                index: 92
              entry:
                type: Reference
                short: Pharmacotherapy entry
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicationRequest-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationAdministration-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr']
                index: 93
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    medicationStatement:
                      match: {}
                      schema:
                        short: Medication Use
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core']
                        type: Reference
                        array: true
                        index: 94
                      min: 0
  attester:
    elements:
      mode: {short: The type of attestation, index: 20}
      time: {short: When the composition was attested., index: 21}
      party:
        type: Reference
        short: Who attested the composition.
        refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core']
        index: 22
  type:
    short: Kind of composition ("Hospital Discharge Report")
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 34105-7, system: 'http://loinc.org'}
    index: 12
    elements:
      coding:
        elements:
          display: {index: 13}
        required: [display]
  title: {short: Hospital Discharge Report, index: 19}
  author:
    type: Reference
    short: Who and/or what authored the Hospital Discharge Report
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/device-eu-hdr']
    index: 18
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        basedOn:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/event-basedOn
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest']
                index: 4
        version:
          match: {url: null}
          schema: {type: Extension, short: Business version, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version', index: 5}
          min: 0
          max: 1
        informationRecipient:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/information-recipient
            index: 6
            elements:
              value:
                choices: [valueReference]
                index: 8
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/device-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 9
  event:
    elements:
      period: {index: 23}
  status: {short: HDR status, index: 11}
  identifier: {short: HDR business identifier, index: 10}
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core']
    index: 15
package_version: 1.0.0
extensions:
  basedOn:
    url: http://hl7.org/fhir/StructureDefinition/event-basedOn
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest']
        index: 4
  version: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version', min: 0, max: 1, type: Extension, short: Business version, index: 5}
  informationRecipient:
    url: http://hl7.eu/fhir/StructureDefinition/information-recipient
    type: Extension
    index: 6
    elements:
      value:
        choices: [valueReference]
        index: 8
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.eu/fhir/hdr/StructureDefinition/device-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 9
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [encounter, section, subject]