{
  "resourceType": "StructureDefinition",
  "url": "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Bundle",
  "version": "0.9",
  "name": "WoundSummaryBundle",
  "status": "draft",
  "publisher": "Hochschule Osnabrück",
  "contact": [
    {
      "name": "Mareike Przysucha",
      "telecom": [
        {
          "system": "email",
          "value": "ewundbericht@hs-osnabrueck.de",
          "use": "work"
        },
        {
          "system": "phone",
          "value": "+49 541 969 3354",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The Bundle contains the resources for the wound summary. First content is the composition, the next entry is the patient followed by the remaining resources.",
  "copyright": "Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "document"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        },
        "min": 2
      },
      {
        "id": "Bundle.entry:composition",
        "path": "Bundle.entry",
        "sliceName": "composition",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:composition.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/EWoundSummary"
            ]
          }
        ]
      },
      {
        "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": [
              "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:resource",
        "path": "Bundle.entry",
        "sliceName": "resource"
      }
    ]
  }
}