{
  "resourceType": "StructureDefinition",
  "url": "https://tx.gerontonet.org/fhir/StructureDefinition/wundbericht-composition",
  "name": "Wundbericht_composition",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://tx.gerontonet.org/fhir/CodeSystem/wundbericht-typ",
              "code": "wunde"
            }
          ]
        }
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient"
            ]
          }
        ]
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Composition.section:Anamnese",
        "path": "Composition.section",
        "sliceName": "Anamnese",
        "short": "Beobachtungen und Messwerte"
      },
      {
        "id": "Composition.section:Anamnese.code",
        "path": "Composition.section.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "96379-3",
              "display": "Wound care management History and physical note"
            }
          ]
        }
      },
      {
        "id": "Composition.section:Anamnese.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:Wunde",
        "path": "Composition.section",
        "sliceName": "Wunde"
      },
      {
        "id": "Composition.section:Wunde.code",
        "path": "Composition.section.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "29308-4",
              "display": "Diagnosis"
            }
          ]
        }
      },
      {
        "id": "Composition.section:Wunde.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://tx.gerontonet.org/fhir/StructureDefinition/Wunde"
            ]
          }
        ]
      }
    ]
  }
}