PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.eu.hdr@0.1.0-ballot
    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: rs/hl7.fhir.eu.hdr
derivation: constraint
name: CompositionEuHdr
type: Composition
elements:
  date: {short: HDR date, index: 21}
  encounter:
    type: Reference
    refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/encounter-eu-hdr']
    index: 20
  section:
    short: Sections composing the Hospital Discharge Report
    index: 27
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        sectionPayers:
          match:
            code:
              coding:
              - {code: 48768-6, system: 'http://loinc.org'}
          schema:
            short: Health insurance and payment information.
            index: 97
            elements:
              title: {index: 98}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48768-6, system: 'http://loinc.org'}
                index: 99
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Coverage']
                index: 100
            required: [code, title]
        sectionDrugUse:
          match:
            code:
              coding:
              - {code: 11343-1, system: 'http://loinc.org'}
          schema:
            short: Drug use Section
            index: 156
            elements:
              title: {index: 157}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11343-1, system: 'http://loinc.org'}
                index: 158
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 159
            required: [code, title]
        sectionDischargeMedications:
          match:
            code:
              coding:
              - {code: 75311-1, system: 'http://loinc.org'}
          schema:
            short: Hospital discharge medications
            index: 83
            elements:
              title: {index: 84}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 75311-1, system: 'http://loinc.org'}
                index: 85
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationStatement-eu-hdr']
                index: 86
            required: [code, title]
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org', display: History of Procedures Document}
          schema:
            short: History of Procedures Section
            index: 117
            elements:
              title: {index: 118}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org', display: History of Procedures Document}
                index: 119
              entry:
                type: Reference
                short: Patient past procedures pertinent to the scope of this document.
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/procedure-eu-hdr']
                index: 120
            required: [code, title]
        sectionDischargeDetails:
          match:
            code:
              coding:
              - {code: 8650-4, system: 'http://loinc.org'}
          schema:
            short: Discharge details
            index: 160
            elements:
              title: {index: 161}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8650-4, system: 'http://loinc.org'}
                index: 162
            required: [code, title]
        sectionAttachments:
          match:
            code:
              coding:
              - {code: 77599-9, system: 'http://loinc.org'}
          schema:
            short: Attachments
            index: 173
            elements:
              title: {index: 174}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 77599-9, system: 'http://loinc.org'}
                index: 175
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 176
            required: [code, title]
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: Plan of Care Section
            index: 76
            elements:
              title: {index: 77}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 78
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/carePlan-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 79
            required: [code, title]
        sectionAdmissionEvaluation:
          match:
            code:
              coding:
              - {code: 67851-6, system: 'http://loinc.org'}
          schema:
            short: Hospital Admission evaluation
            index: 28
            elements:
              title: {index: 29}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 67851-6, system: 'http://loinc.org'}
                index: 30
            required: [code, title]
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 57080-4, system: 'http://loinc.org'}
          schema:
            short: Medical devices and implants
            index: 58
            elements:
              title: {index: 59}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 57080-4, system: 'http://loinc.org'}
                index: 60
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/procedure-eu-hdr']
                index: 61
              section: {index: 62}
            required: [code, title]
        sectionTravelHx:
          match:
            code:
              coding:
              - {code: 10182-4, system: 'http://loinc.org'}
          schema:
            short: Travel History Section
            index: 130
            elements:
              title: {index: 131}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10182-4, system: 'http://loinc.org'}
                index: 132
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/observation-travel-eu-hdr']
                index: 133
              section: {index: 134}
            required: [code, title]
        sectionSocialHistory:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: Social History Section
            index: 139
            elements:
              title: {index: 140}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 141
              entry:
                type: Reference
                short: Information about social determinants of health.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse']
                index: 142
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    sdoh:
                      match: {}
                      schema:
                        short: SDOH entry
                        refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/observation-sdoh-eu-hdr']
                        type: Reference
                        array: true
                        index: 143
                      min: 0
            required: [code, title]
        sectionPhysicalFindings:
          match:
            code:
              coding:
              - {code: 29545-1, system: 'http://loinc.org'}
          schema:
            short: Physical findings
            index: 39
            elements:
              title: {index: 40}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29545-1, system: 'http://loinc.org'}
                index: 41
            required: [code, title]
        sectionPatientHx:
          match:
            code:
              coding:
              - {code: 35090-0, system: 'http://loinc.org'}
          schema:
            short: Patient history Section
            index: 101
            elements:
              title: {index: 102}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 35090-0, system: 'http://loinc.org'}
                index: 103
            required: [code, title]
        sectionInfectiousContacts:
          match:
            code:
              coding:
              - {code: infection-contact, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
          schema:
            short: Infectious contacts
            index: 125
            elements:
              title: {index: 126}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: infection-contact, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
                index: 127
              entry:
                type: Reference
                short: Exposure to an infectious agent.
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/observation-infectious-contact-eu-hdr']
                index: 128
              section: {index: 129}
            required: [code, title]
        sectionSignificantProcedures:
          match:
            code:
              coding:
              - {code: 10185-7, system: 'http://loinc.org'}
          schema:
            short: Significant procedures
            index: 53
            elements:
              title: {index: 54}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10185-7, system: 'http://loinc.org'}
                index: 55
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/procedure-eu-hdr']
                index: 56
              section: {index: 57}
            required: [code, title]
        sectionAnthropometry:
          match:
            code:
              coding:
              - {code: anthropometry, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
          schema:
            short: Anthropometric observations
            index: 31
            elements:
              title: {index: 32}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: anthropometry, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
                index: 33
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/vitalsigns']
                index: 34
            required: [code, title]
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: Functional status
            index: 42
            elements:
              title: {index: 43}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 44
              entry:
                type: Reference
                short: Optional entry used to represent disabilities and functional assessments
                refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse']
                index: 45
            required: [code, title]
        sectionProblemList:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            short: Problem List Section
            index: 104
            elements:
              title: {index: 105}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 106
              entry:
                type: Reference
                short: Conditions the patient suffered in the past.
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/condition-eu-hdr']
                index: 107
            required: [code, title]
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            short: Allergies and Intolerances Section
            index: 87
            elements:
              title: {index: 88}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 89
              entry:
                type: Reference
                short: Relevant allergies or intolerances (conditions) for that patient.
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/allergyIntolerance-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 90
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    allergyIntolerance:
                      match: {}
                      schema:
                        short: Allergy entry
                        refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/allergyIntolerance-eu-hdr']
                        type: Reference
                        array: true
                        index: 91
                      min: 0
            required: [code, title]
        sectionHospitalCourse:
          match:
            code:
              coding:
              - {code: 8648-8, system: 'http://loinc.org'}
          schema:
            short: Significant information about course of hospital stay
            _required: true
            index: 46
            elements:
              title: {index: 47}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8648-8, system: 'http://loinc.org'}
                index: 48
            required: [code, title]
        sectionDiagnosticSummary:
          match:
            code:
              coding:
              - {code: 11535-2, system: 'http://loinc.org'}
          schema:
            short: Problem specification in narrative form
            index: 49
            elements:
              title: {index: 50}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11535-2, system: 'http://loinc.org'}
                index: 51
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/condition-eu-hdr']
                index: 52
            required: [code, title]
        sectionSignificantResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: Significant Observation Results
            index: 67
            elements:
              title: {index: 68}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 69
              entry:
                type: Reference
                short: significant results
                refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 70
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    labResult:
                      match: {}
                      schema:
                        short: Laboratory Result
                        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab']
                        type: Reference
                        array: true
                        index: 71
                      min: 0
                    radResult:
                      match: {}
                      schema:
                        short: Radiology Result
                        refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/observation-imgFinding-eu-hdr']
                        type: Reference
                        array: true
                        index: 72
                      min: 0
            required: [code, title]
        sectionHistoryMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: History of Medical devices and implants
            index: 112
            elements:
              title: {index: 113}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 114
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/procedure-eu-hdr']
                index: 115
              section: {index: 116}
            required: [code, title]
        sectionAdvanceDirectives:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            short: Advance Directives Section
            index: 163
            elements:
              title: {index: 164}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 165
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/consent-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 166
            required: [code, title]
        sectionSynthesis:
          match:
            code:
              coding:
              - {code: 67781-5, system: 'http://loinc.org'}
          schema:
            short: Synthesis
            index: 73
            elements:
              title: {index: 74}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 67781-5, system: 'http://loinc.org'}
                index: 75
            required: [code, title]
        sectionFamilyHistory:
          match:
            code:
              coding:
              - {code: 10157-6, system: 'http://loinc.org'}
          schema:
            short: Family History Section
            index: 135
            elements:
              title: {index: 136}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10157-6, system: 'http://loinc.org'}
                index: 137
              entry:
                type: Reference
                short: Family History
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/familyMemberHistory-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 138
            required: [code, title]
        sectionAlert:
          match:
            code:
              coding:
              - {code: 104605-1, system: 'http://loinc.org'}
          schema:
            short: Alert Section
            index: 92
            elements:
              title: {index: 93}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 104605-1, system: 'http://loinc.org'}
                index: 94
              entry:
                short: Alerts
                index: 95
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    flag:
                      match: {}
                      schema:
                        short: Flags
                        refers: ['http://hl7.org/fhir/StructureDefinition/Flag']
                        type: Reference
                        array: true
                        index: 96
                      min: 0
            required: [code, title]
        sectionTobaccoUse:
          match:
            code:
              coding:
              - {code: 11367-0, system: 'http://loinc.org'}
          schema:
            short: Tobacco use Section
            index: 152
            elements:
              title: {index: 153}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11367-0, system: 'http://loinc.org'}
                index: 154
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 155
            required: [code, title]
        sectionAlcoholUse:
          match:
            code:
              coding:
              - {code: 11331-6, system: 'http://loinc.org'}
          schema:
            short: Alcohol use Section
            index: 148
            elements:
              title: {index: 149}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11331-6, system: 'http://loinc.org'}
                index: 150
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 151
            required: [code, title]
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: Vital signs
            index: 35
            elements:
              title: {index: 36}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 37
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/vitalsigns']
                index: 38
            required: [code, title]
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: Immunizations Section
            index: 121
            elements:
              title: {index: 122}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 123
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/immunization-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/immunizationRecommendation-eu-hdr', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 124
            required: [code, title]
        sectionCareTeam:
          match:
            code:
              coding:
              - {code: 85847-2, system: 'http://loinc.org'}
          schema:
            short: Care Team Section
            index: 167
            elements:
              title: {index: 168}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 85847-2, system: 'http://loinc.org'}
                index: 169
              entry:
                short: Care Teams
                index: 170
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: resolve(), type: type}
                  min: null
                  slices:
                    cteam:
                      match: {}
                      schema:
                        short: Care Team
                        refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam']
                        type: Reference
                        array: true
                        index: 171
                      min: 0
              section: {mustSupport: false, index: 172}
            required: [code, title]
        sectionDischargeInstructions:
          match:
            code:
              coding:
              - {code: 8653-8, system: 'http://loinc.org'}
          schema:
            short: Hospital Discharge Instructions
            index: 80
            elements:
              title: {index: 81}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8653-8, system: 'http://loinc.org'}
                index: 82
            required: [code, title]
        sectionPharmacotherapy:
          match:
            code:
              coding:
              - {code: 87232-5, system: 'http://loinc.org'}
          schema:
            short: Pharmacotherapy
            index: 63
            elements:
              title: {index: 64}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 87232-5, system: 'http://loinc.org'}
                index: 65
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medicationAdministration-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr', 'http://hl7.eu/fhir/hdr/StructureDefinition/medicationStatement-eu-hdr']
                index: 66
            required: [code, title]
        sectionPastIllnessHx:
          match:
            code:
              coding:
              - {code: 11348-0, system: 'http://loinc.org'}
          schema:
            short: History of Past Illness Section
            index: 108
            elements:
              title: {index: 109}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11348-0, system: 'http://loinc.org'}
                index: 110
              entry:
                type: Reference
                short: Conditions the patient suffered in the past.
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/condition-eu-hdr']
                index: 111
            required: [code, title]
        sectionSubstanceUse:
          match:
            code:
              coding:
              - {code: substance-use, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
          schema:
            short: Use of Substances Section
            index: 144
            elements:
              title: {index: 145}
              code:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: substance-use, system: 'http://hl7.eu/fhir/hdr/CodeSystem/temporarySystem-hdr-eu'}
                index: 146
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 147
            required: [code, title]
  attester:
    elements:
      mode: {short: The type of attestation, index: 24}
      time: {short: When the composition was attested., index: 25}
      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: 26
  type:
    type: CodeableConcept
    short: Kind of composition ("Hospital Discharge Report")
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 34105-7, system: 'http://loinc.org', display: Hospital Discharge summary}
    index: 18
  title: {short: Hospital Discharge Report, index: 23}
  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.org/fhir/StructureDefinition/Device']
    index: 22
  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
        presentedForm:
          match: {url: null}
          schema:
            type: Extension
            short: Presented form
            url: http://hl7.eu/fhir/StructureDefinition/presentedForm
            index: 5
            elements:
              value[x]:
                elements:
                  contentType: {index: 6}
                  data: {short: B64 in-line data, index: 7}
                  url: {short: URL of the document, index: 8}
        compositionVersionR5:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version
            index: 9
            elements:
              value:
                short: Business version
                choices: []
                index: 11
        information-recipient:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/information-recipient
            index: 12
            elements:
              value:
                choices: [valueReference]
                index: 14
              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.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 15
  status: {short: HDR status, index: 17}
  identifier: {short: HDR business identifier, index: 16}
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core']
    index: 19
package_version: 0.1.0-ballot
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
  presentedForm:
    url: http://hl7.eu/fhir/StructureDefinition/presentedForm
    type: Extension
    short: Presented form
    index: 5
    elements:
      value[x]:
        elements:
          contentType: {index: 6}
          data: {short: B64 in-line data, index: 7}
          url: {short: URL of the document, index: 8}
  compositionVersionR5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version
    type: Extension
    index: 9
    elements:
      value:
        short: Business version
        choices: []
        index: 11
  information-recipient:
    url: http://hl7.eu/fhir/StructureDefinition/information-recipient
    type: Extension
    index: 12
    elements:
      value:
        choices: [valueReference]
        index: 14
      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.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 15
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.1.0-ballot
required: [section, subject]