# Composition (Core) - MyHealth@EU Core v1.0.0

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

## Resource Profile: Composition (Core) 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://fhir.ehdsi.eu/core/StructureDefinition/composition-myhealtheu-core | *Version*:1.0.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 2 | *Computable Name*:CompositionMyHealthCore |

 
This profile sets minimum expectations for the Composition resource for commonly used EHDS documents. 

 
This profile constrains the Composition resource for the purpose of this guide. 

**Usages:**

* Refer to this Profile: [DiagnosticReport (Core)](StructureDefinition-diagnosticReport-myhealtheu-core.md)
* Examples for this Profile: [Composition/f2a3b4c5-d6e7-8901-fabc-012345678901](Composition-f2a3b4c5-d6e7-8901-fabc-012345678901.md)

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

### 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-myhealtheu-core.csv), [Excel](StructureDefinition-composition-myhealtheu-core.xlsx), [Schematron](StructureDefinition-composition-myhealtheu-core.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "composition-myhealtheu-core",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  }],
  "url" : "http://fhir.ehdsi.eu/core/StructureDefinition/composition-myhealtheu-core",
  "version" : "1.0.0",
  "name" : "CompositionMyHealthCore",
  "title" : "Composition (Core)",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-05-05T10:01:52+00:00",
  "publisher" : "MyHealth@Eu",
  "contact" : [{
    "name" : "MyHealth@Eu",
    "telecom" : [{
      "system" : "url",
      "value" : "https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en"
    }]
  }],
  "description" : "This profile sets minimum expectations for the Composition resource for commonly used EHDS documents.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "150",
      "display" : "Europe"
    }]
  }],
  "purpose" : "This profile constrains the Composition resource for the purpose of this guide.",
  "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.eu/fhir/base/StructureDefinition/composition-eu-core",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Composition",
      "path" : "Composition"
    },
    {
      "id" : "Composition.language",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.language",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSILanguage"
      }
    },
    {
      "id" : "Composition.extension:informationRecipient",
      "path" : "Composition.extension",
      "sliceName" : "informationRecipient"
    },
    {
      "id" : "Composition.extension:informationRecipient.value[x]",
      "path" : "Composition.extension.value[x]",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }]
    },
    {
      "id" : "Composition.identifier",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.identifier",
      "definition" : "Identifiers assigned to this report by the performer or other systems. Should remain stable across versions of the report."
    },
    {
      "id" : "Composition.status",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.status"
    },
    {
      "id" : "Composition.type",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.type",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://fhir.ehdsi.eu/core/ValueSet/eHDSIDocumentTypes"
      }
    },
    {
      "id" : "Composition.category",
      "path" : "Composition.category",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      }
    },
    {
      "id" : "Composition.subject",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.subject",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/patient-myhealtheu-core"]
      }]
    },
    {
      "id" : "Composition.date",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHOULD:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.date"
    },
    {
      "id" : "Composition.author",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.author",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }]
    },
    {
      "id" : "Composition.title",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.title"
    },
    {
      "id" : "Composition.attester",
      "path" : "Composition.attester"
    },
    {
      "id" : "Composition.attester.party",
      "path" : "Composition.attester.party",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core"]
      }]
    },
    {
      "id" : "Composition.attester:legalAuthenticator",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHALL:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.attester",
      "sliceName" : "legalAuthenticator"
    },
    {
      "id" : "Composition.attester:legalAuthenticator.party",
      "path" : "Composition.attester.party",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core"]
      }]
    },
    {
      "id" : "Composition.attester:validator",
      "path" : "Composition.attester",
      "sliceName" : "validator"
    },
    {
      "id" : "Composition.attester:validator.party",
      "path" : "Composition.attester.party",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/practitioner-myhealtheu-core",
        "http://fhir.ehdsi.eu/core/StructureDefinition/practitionerRole-myhealtheu-core"]
      }]
    },
    {
      "id" : "Composition.custodian",
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCode" : "SHOULD:handle"
        },
        {
          "url" : "actor",
          "valueCanonical" : "http://fhir.ehdsi.eu/core/ActorDefinition/actor-handler-ehdsi"
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
      }],
      "path" : "Composition.custodian",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/organization-myhealtheu-core"]
      }]
    },
    {
      "id" : "Composition.section.code",
      "path" : "Composition.section.code",
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.ehdsi.eu/ValueSet/eHDSISection"
      }
    }]
  }
}

```
