{
  "resourceType": "StructureDefinition",
  "url": "http://tx.gerontonet.org/fhir/StructureDefinition/wundbericht-bundle",
  "name": "WundberichtBundle",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier.type",
        "path": "Bundle.identifier.type",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "document"
            }
          ]
        }
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "description": "Resourcen",
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:Patient",
        "path": "Bundle.entry",
        "sliceName": "Patient",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Patient.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Observation",
        "path": "Bundle.entry",
        "sliceName": "Observation",
        "short": "Wundanamnesedaten",
        "definition": "Observation beinhaltet Observation-Resourcen, die die Wundanamnesedaten repräsentieren.\r\nDie Profile möglicher Observation-Resourcen sind im Projekt NAIPWundbericht definiert.",
        "min": 1
      },
      {
        "id": "Bundle.entry:Wunde",
        "path": "Bundle.entry",
        "sliceName": "Wunde",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Wunde.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://tx.gerontonet.org/fhir/StructureDefinition/Wunde"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:WundberichtComposition",
        "path": "Bundle.entry",
        "sliceName": "WundberichtComposition"
      },
      {
        "id": "Bundle.entry:WundberichtComposition.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://tx.gerontonet.org/fhir/StructureDefinition/wundbericht-composition"
            ]
          }
        ]
      }
    ]
  }
}