{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyKasseDiagnoseComposition",
  "name": "MyKasseDiagnoseComposition",
  "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.subject",
        "path": "Composition.subject",
        "min": 1
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "max": "1"
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section.code",
        "path": "Composition.section.code",
        "short": "ICD-Diagnosen (section.code)",
        "min": 1
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "short": "ICD 10 Diagnosen (section.entry)",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/StructureDefinition/MyKasseDiagnosis"
            ]
          }
        ]
      },
      {
        "id": "Composition.section.entry.reference",
        "path": "Composition.section.entry.reference",
        "comment": "Hier darf nur die Diagnose kommen"
      }
    ]
  }
}