{
  "resourceType": "StructureDefinition",
  "url": "http://gkv-sv.de/fhir/StructureDefinition/CompositionVersorgungsplan",
  "name": "CompositionVersorgungsplan",
  "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.meta",
        "path": "Composition.meta",
        "short": "Pflegeberater",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Composition.meta.lastUpdated",
        "path": "Composition.meta.lastUpdated",
        "short": "Angepasst_am",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Composition.meta.security",
        "path": "Composition.meta.security",
        "min": 1,
        "max": "4"
      },
      {
        "id": "Composition.identifier",
        "path": "Composition.identifier",
        "short": "Versorgungsplan_ID",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Composition.status",
        "path": "Composition.status",
        "fixedCode": "final",
        "mustSupport": true
      },
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "mustSupport": true
      },
      {
        "id": "Composition.type.coding",
        "path": "Composition.type.coding",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Composition.type.coding.system",
        "path": "Composition.type.coding.system",
        "min": 1,
        "fixedUri": "http://dvmd.de/fhir/CodeSystem/kdl"
      },
      {
        "id": "Composition.type.coding.code",
        "path": "Composition.type.coding.code",
        "min": 1,
        "fixedCode": "VL160105"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Composition.subject.reference",
        "path": "Composition.subject.reference",
        "min": 1
      },
      {
        "id": "Composition.date",
        "path": "Composition.date",
        "short": "Erstellungsdatum",
        "mustSupport": true
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Composition.author.reference",
        "path": "Composition.author.reference",
        "min": 1
      },
      {
        "id": "Composition.title",
        "path": "Composition.title",
        "fixedString": "Versorgungsplan Pflege",
        "mustSupport": true
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "title"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Composition.section:Betreuer",
        "path": "Composition.section",
        "sliceName": "Betreuer",
        "max": "1"
      },
      {
        "id": "Composition.section:Betreuer.title",
        "path": "Composition.section.title",
        "min": 1,
        "fixedString": "Betreuer",
        "mustSupport": true
      },
      {
        "id": "Composition.section:Betreuer.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Composition.section:Betreuer.entry.reference",
        "path": "Composition.section.entry.reference",
        "min": 1
      },
      {
        "id": "Composition.section:Pflegegrad",
        "path": "Composition.section",
        "sliceName": "Pflegegrad",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:Pflegegrad.title",
        "path": "Composition.section.title",
        "min": 1,
        "fixedString": "Pflegegrad",
        "mustSupport": true
      },
      {
        "id": "Composition.section:Pflegegrad.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.de/StructureDefinition/observation-de-pflegegrad"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Composition.section:Pflegekasse",
        "path": "Composition.section",
        "sliceName": "Pflegekasse",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Composition.section:Pflegekasse.title",
        "path": "Composition.section.title",
        "min": 1,
        "fixedString": "Pflegekasse",
        "mustSupport": true
      },
      {
        "id": "Composition.section:Pflegekasse.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Composition.section:Pflegekasse.entry.reference",
        "path": "Composition.section.entry.reference",
        "min": 1
      },
      {
        "id": "Composition.section:Beratung",
        "path": "Composition.section",
        "sliceName": "Beratung",
        "min": 1
      },
      {
        "id": "Composition.section:Beratung.extension",
        "path": "Composition.section.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Composition.section:Beratung.extension:EmpfaengerBeratung",
        "path": "Composition.section.extension",
        "sliceName": "EmpfaengerBeratung",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://gkv-sv.de/fhir/StructureDefinition/EmpfaengerBeratung"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:Beratung.title",
        "path": "Composition.section.title",
        "min": 1,
        "fixedString": "Beratung"
      }
    ]
  }
}