{
  "resourceType": "StructureDefinition",
  "id": "PalgaComposition",
  "url": "http://mrdm.nl/profiles/fhir/r4/palga/StructureDefinition/composition",
  "name": "PalgaComposition",
  "status": "draft",
  "date": "2023-11-28T08:53:54.0362159+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition",
        "path": "Composition",
        "short": "First entry of the Palga document",
        "definition": "The first FHIR resource as entry within the FHIR Bundle will be the Composition Resource. This resource will contain the other FHIR Resources that are included for data exchange"
      },
      {
        "id": "Composition.id",
        "path": "Composition.id",
        "short": "ID will be a GUID",
        "min": 1
      },
      {
        "id": "Composition.identifier",
        "path": "Composition.identifier",
        "short": "Identifier Composition",
        "definition": "The identifier should include a value for the variable reglabrap. This variable consist of  the name of the clinical registry, labid and number of the report, concatenated with dashes. For example: “DICADGEA-10-T17-99999””.",
        "min": 1
      },
      {
        "id": "Composition.status",
        "path": "Composition.status",
        "definition": "The status has been set as a fixed value, final.",
        "fixedCode": "final"
      },
      {
        "id": "Composition.type.coding",
        "path": "Composition.type.coding",
        "short": "Composition Type",
        "definition": "The type of composition is a fixed LOINC value which represents type Pathology Study",
        "min": 1,
        "max": "1",
        "fixedCoding": {
          "system": "http://loinc.org",
          "code": "11526-1"
        }
      },
      {
        "id": "Composition.type.text",
        "path": "Composition.type.text",
        "min": 1,
        "fixedString": "Pathology study"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/patient"
            ]
          }
        ]
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://logex.com/profiles/fhir/r4/palga/StructureDefinition/practitioner-role"
            ]
          }
        ]
      },
      {
        "id": "Composition.title",
        "path": "Composition.title",
        "fixedString": "Pathology study report"
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "short": "A reference to the related Diagnostic Report"
      }
    ]
  }
}