{
  "resourceType" : "Composition",
  "id" : "ExampleCompositionHdr",
  "meta" : {
    "profile" : ["http://fhir.ehdsi.eu/hdr/StructureDefinition/composition-hdr-myhealtheu"]
  },
  "language" : "en-GB",
  "text" : {
    "status" : "generated",
    "div" : "<div xml:lang=\"en-GB\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-GB\">Composition of clinical sections.</div>"
  },
  "status" : "final",
  "type" : {
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "34105-7",
      "display" : "Hospital Discharge summary"
    }]
  },
  "subject" : {
    "reference" : "urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49"
  },
  "encounter" : {
    "reference" : "urn:uuid:b49cdbed-299c-4b95-aa9d-273811521147"
  },
  "date" : "2025-05-05T14:00:00+02:00",
  "author" : [{
    "reference" : "urn:uuid:b975ec26-4ecf-4588-9fa2-afbb0d9fc530"
  }],
  "title" : "Hospital Discharge Summary",
  "section" : [{
    "title" : "Hospital Course",
    "code" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "8648-8",
        "display" : "Hospital course note"
      }]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient was admitted for observation and discharged in stable condition.</div>"
    }
  },
  {
    "title" : "Significant Results",
    "code" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "30954-2",
        "display" : "Relevant diagnostic tests/laboratory data note"
      }]
    },
    "entry" : [{
      "reference" : "urn:uuid:9c72df9a-c459-45ea-bedf-b89568a8378a"
    },
    {
      "reference" : "urn:uuid:d532c253-9bd1-433a-a08e-fb6384f4a6b6"
    }]
  },
  {
    "title" : "Clinical Synthesis",
    "code" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "67781-5",
        "display" : "Summarization of encounter note"
      }]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Final diagnosis: Acute bronchitis. Treatment included antibiotics and rest.</div>"
    }
  },
  {
    "title" : "Allergies and intolerances",
    "code" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "48765-2",
        "display" : "Allergies and adverse reactions Document"
      }]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Textual overview of allergies and intolerances.</div>"
    },
    "entry" : [{
      "reference" : "urn:uuid:5b87ea1e-01ad-4239-81ec-3a16b5c4f4ec"
    }]
  }]
}