# Composition (HDR) - HL7 Europe Hospital Discharge Report v1.0.0-alpha

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Composition (HDR)**

## Resource Profile: Composition (HDR) 

| | |
| :--- | :--- |
| *Official URL*:http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr | *Version*:1.0.0-alpha |
| Draft as of 2026-04-17 | *Computable Name*:CompositionEuHdr |
| **Copyright/Legal**: Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). | |

 
Clinical document used to represent a Hospital Discharge Report (HDR) for the scope of this guide. 

> **Medication Lists**The usage of several resources for expressing medication is related to the different purposes and meaning of each resource. While more clear boundaries and relationships between resources may be useful, the editors have decided to maintain a comprehensive set of options open. Reviewers are invited to provide ther feedback about the usage of the Medicaition related resources (e.g. MedicationStatement, MedicationRequest,...) in the medication lists used by the HDR

### Entry optionality

In order to support the different maturity levels foreseen for the **European EHR eXchange format** (structured, text-only, unstructured), this version of the guide does not impose the mandatory presence of entries in the HDR sections.

HHowever, the presence of entries in the HDR sections is generally recommended to ensure a more structured and interoperable document.

This recommendation is expressed in this guide through **specific obligations** which guide implementers toward achieving a higher level of data quality and interoperability.

### Hospital Discharge Report Structure Challenge

 To address the [ **Hospital Discharge Report Structure Challenge** ](challenges.md), we have opted for a **flexible approach** rather than imposing a rigid format. 

 The **"flat structure"** documented in the guide should be understood as a sort of **"section library"** that can be reused in both **flat and nested structures**. This approach allows implementers to organize the report according to local or institutional needs while maintaining a standardized content model. 

In practice:

1. A few sections are required.
1. **Section slices are open**, meaning that implementers have the freedom to include additional**"first-level" sections**.
1. With the exception of a few specific cases,**sub-sections are allowed**, giving healthcare providers the ability to create a structure that best fits their clinical context.

 By offering this level of flexibility, the implementation guide supports diverse healthcare environments while promoting consistency in content and interoperability. 

>  **Section Codes** Not all the LOINC codes used in this version align with the purpose of the sections, and in some cases, temporary 'local' codes have been assigned.A collaboration with LOINC has been established to identify the most appropriate codes for the HDR sections. **Adopters should be aware that codes may be subject to change.** 

**Usages:**

* Derived from this Profile: [Composition: obligations](StructureDefinition-composition-obl-eu-hdr.md)
* Use this Profile: [Bundle (HDR)](StructureDefinition-bundle-eu-hdr.md)
* Examples for this Profile: [Composition/b9dc409d-ec81-4556-9fac-4dc3f731c199](Composition-b9dc409d-ec81-4556-9fac-4dc3f731c199.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.eu.hdr|current/StructureDefinition/composition-eu-hdr)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-composition-eu-hdr.csv), [Excel](StructureDefinition-composition-eu-hdr.xlsx), [Schematron](StructureDefinition-composition-eu-hdr.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "composition-eu-hdr",
  "url" : "http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr",
  "version" : "1.0.0-alpha",
  "name" : "CompositionEuHdr",
  "title" : "Composition (HDR)",
  "status" : "draft",
  "date" : "2026-04-17T16:11:24+00:00",
  "publisher" : "HL7 Europe",
  "contact" : [{
    "name" : "HL7 Europe",
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.eu"
    }]
  }],
  "description" : "Clinical document used to represent a Hospital Discharge Report (HDR) for the scope of this guide.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "150",
      "display" : "Europe"
    }]
  }],
  "copyright" : "Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0).",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "cda",
    "uri" : "http://hl7.org/v3/cda",
    "name" : "CDA (R2)"
  },
  {
    "identity" : "fhirdocumentreference",
    "uri" : "http://hl7.org/fhir/documentreference",
    "name" : "FHIR DocumentReference"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Composition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Composition",
      "path" : "Composition",
      "short" : "Hospital Discharge Report composition",
      "definition" : "Hospital Discharge Report composition. \r\nA composition is a set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. \r\nWhile a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.",
      "constraint" : [{
        "key" : "text-or-section",
        "severity" : "error",
        "human" : "A Composition SHALL have either text, at least one section, or both.",
        "expression" : "text.exists() or section.exists()",
        "source" : "http://hl7.eu/fhir/hdr/StructureDefinition/composition-eu-hdr"
      }]
    },
    {
      "id" : "Composition.extension",
      "path" : "Composition.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Composition.extension:basedOn",
      "path" : "Composition.extension",
      "sliceName" : "basedOn",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/event-basedOn"]
      }]
    },
    {
      "id" : "Composition.extension:basedOn.value[x]",
      "path" : "Composition.extension.value[x]",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource",
        "http://hl7.org/fhir/StructureDefinition/ServiceRequest"]
      }]
    },
    {
      "id" : "Composition.extension:version",
      "path" : "Composition.extension",
      "sliceName" : "version",
      "short" : "Business version",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version"]
      }]
    },
    {
      "id" : "Composition.extension:information-recipient",
      "path" : "Composition.extension",
      "sliceName" : "information-recipient",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.eu/fhir/StructureDefinition/information-recipient"]
      }]
    },
    {
      "id" : "Composition.extension:information-recipient.value[x]",
      "path" : "Composition.extension.value[x]",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core",
        "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"]
      }]
    },
    {
      "id" : "Composition.identifier",
      "path" : "Composition.identifier",
      "short" : "HDR business identifier"
    },
    {
      "id" : "Composition.status",
      "path" : "Composition.status",
      "short" : "HDR status"
    },
    {
      "id" : "Composition.type",
      "path" : "Composition.type",
      "short" : "Kind of composition (\"Hospital Discharge Report\")",
      "definition" : "Specifies that this composition refer to a Hospital Discharge Report",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"]
      }],
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "34105-7",
          "display" : "Hospital Discharge summary"
        }]
      }
    },
    {
      "id" : "Composition.subject",
      "path" : "Composition.subject",
      "definition" : "Who or what the composition is about. \r\nIn general a composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).\r\nFor the hdr the subject is always the patient.",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"]
      }]
    },
    {
      "id" : "Composition.encounter",
      "path" : "Composition.encounter",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/hdr/StructureDefinition/encounter-eu-hdr"]
      }]
    },
    {
      "id" : "Composition.date",
      "path" : "Composition.date",
      "short" : "HDR date"
    },
    {
      "id" : "Composition.author",
      "path" : "Composition.author",
      "short" : "Who and/or what authored the Hospital Discharge Report",
      "definition" : "Identifies who is responsible for the information in the Hospital Discharge Report, not necessarily who typed it in.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["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.eu/fhir/base/StructureDefinition/organization-eu-core"]
      }]
    },
    {
      "id" : "Composition.title",
      "path" : "Composition.title",
      "short" : "Hospital Discharge Report",
      "definition" : "Official human-readable label for the composition.\r\n\r\nFor this document should be \"Hospital Discharge Report\" or any equivalent translation"
    },
    {
      "id" : "Composition.attester.mode",
      "path" : "Composition.attester.mode",
      "short" : "The type of attestation"
    },
    {
      "id" : "Composition.attester.time",
      "path" : "Composition.attester.time",
      "short" : "When the composition was attested."
    },
    {
      "id" : "Composition.attester.party",
      "path" : "Composition.attester.party",
      "short" : "Who attested the composition.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core",
        "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core",
        "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"]
      }]
    },
    {
      "id" : "Composition.section",
      "path" : "Composition.section",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "code"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "Sections composing the HDR",
      "definition" : "The root of the sections that make up the HDR composition.",
      "min" : 1
    },
    {
      "id" : "Composition.section.extension",
      "path" : "Composition.section.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Composition.section.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section.title",
      "path" : "Composition.section.title",
      "min" : 1
    },
    {
      "id" : "Composition.section.code",
      "path" : "Composition.section.code",
      "min" : 1,
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"]
      }]
    },
    {
      "id" : "Composition.section:sectionAdmissionEvaluation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionAdmissionEvaluation",
      "short" : "Hospital Admission evaluation",
      "definition" : "Hospital Admission evaluation",
      "comment" : "Admission evaluation should be reported only exceptionally, if it is relevant to ensure continuity of care.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionAdmissionEvaluation.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionAdmissionEvaluation.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "67851-6"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionVitalSigns",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionVitalSigns",
      "short" : "Vital signs",
      "definition" : "The Vital signs section includes blood pressure, body temperature, heart rate, and respiratory rate. It may also include other clinical findings, such as height, weight, body mass index, head circumference, and pulse oximetry. In particular, notable vital signs or physical findings such as the most recent, maximum and/or minimum, baseline, or relevant trends may be included",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionVitalSigns.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionVitalSigns.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "8716-3"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionVitalSigns.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/vitalsigns"]
      }]
    },
    {
      "id" : "Composition.section:sectionPhysicalFindings",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionPhysicalFindings",
      "short" : "Physical findings",
      "definition" : "Physical findings",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionPhysicalFindings.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionPhysicalFindings.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "29545-1"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionFunctionalStatus",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionFunctionalStatus",
      "short" : "Functional status",
      "definition" : "The functional status section shall contain a narrative description of capability of the patient to perform acts of daily living, including possible needs of the patient to be continuously assessed by third parties. The invalidity status may in fact influence decisions about how to administer treatments.\r\nProfiles to express disabilities and functional assessments will be specified by future versions of this guide.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionFunctionalStatus.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionFunctionalStatus.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "47420-5"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionFunctionalStatus.entry",
      "path" : "Composition.section.entry",
      "short" : "Optional entry used to represent disabilities and functional assessments",
      "definition" : "It describes capabilities of the patient to perform acts of daily living, including possible needs of the patient to be continuously assessed by third parties. The invalidity status may in fact influence decisions about how to administer treatments.\r\nProfiles to express disabilities and functional assessments will be specified by future versions of this guide.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/ClinicalImpression",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"]
      }]
    },
    {
      "id" : "Composition.section:sectionHospitalCourse",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionHospitalCourse",
      "short" : "Significant information about course of hospital stay",
      "definition" : "This section includes basic information about hospital staty (encounter), diagnostic summary in narrative form, pharmacotherapy, major procedures, medical devices, significant findings during hospital stay and clinical synthesis.",
      "min" : 1,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionHospitalCourse.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionHospitalCourse.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "8648-8"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionDiagnosticSummary",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionDiagnosticSummary",
      "short" : "Problem specification in narrative form",
      "definition" : "All problems/diagnoses that affect care during the inpatient case or are important to be recorded to ensure continuity of care. The diagnostic summary differentiates, in accordance with the international recommendation, between problems treated during hospital stay and other (untreated) problems. Treated problems are problems that were the subject of diagnostics, therapy, nursing, or (continuous) monitoring during the hospitalisation. Furthermore problems could be divided into three categories: problems present on admission (POA), conditions acquired during hospital stay (HAC) and problems that cannot be classified as being of any of the two (N/A). The diagnostic summary contains all conditions as they were recognised at the end of hospitalisation, after all examinations. This section contains concise, well specified, codeable, summary of problems. Problems are ordered by importance (main problems first) during hospital stay. Description of the problem might be completed with additional details in the medical history section and/or in the Synthesis section.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionDiagnosticSummary.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionDiagnosticSummary.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "11535-2"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionDiagnosticSummary.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantProcedures",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionSignificantProcedures",
      "short" : "Significant procedures",
      "definition" : "Significant surgical and non-surgical procedures performed during hospitalisation which are significant for continuity of care, e.g. surgeries and other \"instrumental\"interventions (endoscopic, intravascular), chemotherapy, radiotherapy, purification methods (dialysis, hemoperfusion), circulation support methods (counterpulsation, etc.), administration of blood derivatives or others.\r\nThis section does not include purely diagnostic procedures (MRI, CT, etc.). If no significant performance has been performed, this fact must be explicitly stated using the IPS Absent and Unknown Data.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionSignificantProcedures.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantProcedures.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "10185-7"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionSignificantProcedures.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantProcedures.section",
      "path" : "Composition.section.section",
      "max" : "0"
    },
    {
      "id" : "Composition.section:sectionMedicalDevices",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionMedicalDevices",
      "short" : "Medical devices and implants",
      "definition" : "Implants and used medical devices that affected or may affect the provision of health services (diagnosis and treatment). Also medical devices explanted, or its use was stopped during hospitalisation. If the section is blank, the reason must be explicitly stated using the IPS Absent and Unknown Data coding system.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionMedicalDevices.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionMedicalDevices.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "57080-4"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionMedicalDevices.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr",
        "http://hl7.eu/fhir/base/StructureDefinition/procedure-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionMedicalDevices.section",
      "path" : "Composition.section.section",
      "max" : "0"
    },
    {
      "id" : "Composition.section:sectionPharmacotherapy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionPharmacotherapy",
      "short" : "Pharmacotherapy",
      "definition" : "Selected drug treatment during hospitalisation. Medicinal products that were administered during hospitalisation and whose administration has already been discontinued before discharge. Only products which are important for continuity of care (antibiotics other than completely routine, corticosteroids in high doses, etc.) will be listed. Products which administration will continue after discharge will be also recorder in the Medication summary section.\nMedicinal products, the administration of which was started during hospitalisation but is also recommended after discharge, will be listed in the summary table in the recommendation section.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionPharmacotherapy.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionPharmacotherapy.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "87232-5"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionPharmacotherapy.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core",
        "http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr",
        "http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr",
        "http://hl7.eu/fhir/hdr/StructureDefinition/medicationAdministration-eu-hdr"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantResults",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionSignificantResults",
      "short" : "Significant medical test results",
      "definition" : "Significant medical test results of functional, diagnostic (including laboratory), and imaging examinations performed during encounter. This may include orders for which the results have not yet arrived.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionSignificantResults.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantResults.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "30954-2"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionSignificantResults.entry",
      "path" : "Composition.section.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resolve()"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "Significant medical test results",
      "definition" : "Significant medical test results slice",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantResults.entry:results-medicalTestResult",
      "path" : "Composition.section.entry",
      "sliceName" : "results-medicalTestResult",
      "short" : "Medical test results",
      "definition" : "Results collected on the patient or produced on in-vitro biologic specimens.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionSignificantResults.entry:results-diagnosticReport",
      "path" : "Composition.section.entry",
      "sliceName" : "results-diagnosticReport",
      "short" : "DiagnosticReport",
      "definition" : "DiagnosticReport resource to represent diagnostic test and procedure reports in a patient summary",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/diagnosticReport-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionSynthesis",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionSynthesis",
      "short" : "Synthesis",
      "definition" : "This section provides clinical synthesis (e.g. description of reasons and course of hospital stay) clustered by managed conditions. Clinical synthesis may include clinical reasoning (differential diagnostics, explanation of clinical context) in clinically complex conditions.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionSynthesis.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionSynthesis.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "67781-5"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionPlanOfCare",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionPlanOfCare",
      "short" : "Plan of Care Section",
      "definition" : "The plan of care section contains a narrative description of the expectations for care including proposals, goals, and order requests for monitoring, tracking, or improving the condition of the patient.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionPlanOfCare.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionPlanOfCare.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "18776-5"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionPlanOfCare.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/hdr/StructureDefinition/carePlan-eu-hdr",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionDischargeInstructions",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionDischargeInstructions",
      "short" : "Hospital Discharge Instructions",
      "definition" : "Hospital Discharge Instructions",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionDischargeInstructions.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionDischargeInstructions.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "8653-8"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionDischargeMedications",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionDischargeMedications",
      "short" : "Hospital discharge medications",
      "definition" : "Hospital discharge medications defines the medications that the patient is intended to take, or stop, after discharge",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionDischargeMedications.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionDischargeMedications.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "75311-1"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionDischargeMedications.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/hdr/StructureDefinition/medicationRequest-eu-hdr",
        "http://hl7.eu/fhir/hdr/StructureDefinition/medicationDispense-eu-hdr",
        "http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionAllergies",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionAllergies",
      "short" : "Allergies and Intolerances Section",
      "definition" : "This section documents the relevant allergies or intolerances for that patient, describing the kind of reaction - e.g. rash, anaphylaxis,.. - preferably the agents that cause it; and optionally the criticality and the certainty of the allergy. At a minimum, it should list currently active and any relevant historical allergies and adverse reactions. If no information about allergies is available, or if no allergies are known this should be clearly documented in the section.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionAllergies.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionAllergies.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "48765-2"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionAllergies.entry",
      "path" : "Composition.section.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resolve()"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "allergyOrIntolerance",
      "definition" : "allergyOrIntolerance",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionAllergies.entry:allergyOrIntolerance",
      "path" : "Composition.section.entry",
      "sliceName" : "allergyOrIntolerance",
      "short" : "Relevant allergies or intolerances for that patient.",
      "definition" : "It lists the relevant allergies or intolerances for that patient, describing the kind of reaction - e.g. rash, anaphylaxis,.. - preferably the agents that cause it; and optionally the criticality and the certainty of the allergy. At a minimum, it should list currently active and any relevant historical allergies and adverse reactions. If no information about allergies is available, or if no allergies are known this should be clearly documented in the section.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionAlert",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionAlert",
      "short" : "Alert Section",
      "definition" : "// SHORT\n    Information about substantial alerts or warnings (including allergies) that health professionals should be aware of.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionAlert.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionAlert.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "104605-1"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionAlert.entry",
      "path" : "Composition.section.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resolve()"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "EPS Alerts entry",
      "definition" : "EPS Alerts entry slice",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Flag",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionAlert.entry:flag",
      "path" : "Composition.section.entry",
      "sliceName" : "flag",
      "short" : "Alert information",
      "definition" : "Contains alert information to be communicated. May optionally reference other resources in IPS.lags",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionPatientHx",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionPatientHx",
      "short" : "Hx general Reported Section",
      "definition" : "This section may provide both synthetic anamnesis ,e.g. description of phases of the pathology as a chronological summary of clustered clinical information, and anecdotal evidence that clinicians can collect from the patient, and can read in a narrative form.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionPatientHx.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionPatientHx.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "11329-0"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionProblems",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionProblems",
      "short" : "Problem List Section",
      "definition" : "The Problem List Section lists and describes clinical problems or conditions currently being monitored for the patient.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionProblems.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionProblems.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "11450-4"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionProblems.entry",
      "path" : "Composition.section.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resolve()"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "Clinical problems or conditions currently being monitored for the patient.",
      "definition" : "It lists and describes clinical problems or conditions currently being monitored for the patient. This entry shall be used to document that no information about problems is available, or that no relevant problems are known.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionProblems.entry:problem",
      "path" : "Composition.section.entry",
      "sliceName" : "problem",
      "definition" : "It lists and describes clinical problems or conditions currently being monitored for the patient.  This entry shall be used to document that no information about problems is available, or that no relevant problems are known.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionImmunizations",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionImmunizations",
      "short" : "Immunizations Section",
      "definition" : "The Immunizations Section defines a patient's current immunization status and pertinent immunization history. The primary use case for the Immunization Section is to enable communication of a patient's immunization status. The section includes the current immunization status, and may contain the entire immunization history that is relevant to the period of time being summarized.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionImmunizations.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionImmunizations.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "11369-6"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionImmunizations.entry",
      "path" : "Composition.section.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resolve()"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "Patient's immunization status and pertinent history.",
      "definition" : "It defines the patient's current immunization status and pertinent immunization history.\r\nThe primary use case for the Immunization Section is to enable communication of a patient's immunization status.\r\nIt may contain the entire immunization history that is relevant to the period of time being summarized. This entry shall be used to document that no information about immunizations is available, or that no immunizations are known.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Immunization",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }]
    },
    {
      "id" : "Composition.section:sectionImmunizations.entry:immunization",
      "path" : "Composition.section.entry",
      "sliceName" : "immunization",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.eu/fhir/base/StructureDefinition/immunization-eu-core"]
      }]
    },
    {
      "id" : "Composition.section:sectionDischargeDetails",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionDischargeDetails",
      "short" : "Discharge details",
      "definition" : "The hospital discharge status or disposition of the patient having a hospitalization.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionDischargeDetails.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionDischargeDetails.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "8650-4"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionAttachments",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Section"
      }],
      "path" : "Composition.section",
      "sliceName" : "sectionAttachments",
      "short" : "Attachments",
      "definition" : "This section lists documents and attachments associated to this report",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Composition.section:sectionAttachments.extension:section-note",
      "path" : "Composition.section.extension",
      "sliceName" : "section-note",
      "short" : "Additional notes that apply to the section (but not to specific resource).",
      "definition" : "Additional notes that apply to the section (but not to specific resource).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/note"]
      }]
    },
    {
      "id" : "Composition.section:sectionAttachments.code",
      "path" : "Composition.section.code",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "77599-9"
        }]
      }
    },
    {
      "id" : "Composition.section:sectionAttachments.entry",
      "path" : "Composition.section.entry",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference",
        "http://hl7.org/fhir/StructureDefinition/Binary"]
      }]
    }]
  }
}

```
