{
  "resourceType": "StructureDefinition",
  "id": "DGUV-OPER-PR-Bundle",
  "url": "http://fhir.dguv.de/OPER/Bundle/DGUV-OPER-PR-Bundle",
  "name": "DGUV_OPER_PR_Bundle",
  "title": "OPER-Bundle",
  "status": "draft",
  "publisher": "Deutsche Gesetzliche Unfallversicherung e.V. (DGUV)",
  "description": "Das Profil Bundle dient als bündelndes Element für den Operationsbericht (OPER). Es enthält als Klammer alle durch die Composition zusammengefassten Profile und sonstigen Elemente und könnte bei Bedarf auch noch mit einer digitalen Signatur versehen werden.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "mustSupport": true
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "http://fhir.dguv.de/OPER/Bundle/DGUV-OPER-PR-Bundle",
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "short": "Eindeutiger Identifier für den Operationsbericht",
        "comment": "Für den Value gibt es eine festgeschriebenes Format, dass im OPER-Implementation-Guide beschrieben wird.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "document",
        "mustSupport": true
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "short": "Zeitpunkt der Erstellung des Bundles",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource.meta.profile"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Composition",
        "path": "Bundle.entry",
        "sliceName": "Composition",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Composition.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.dguv.de/OPER/Composition/DGUV-OPER-PR-Composition"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:VersichertePerson",
        "path": "Bundle.entry",
        "sliceName": "VersichertePerson",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:VersichertePerson.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.dguv.de/OPER/Patient/DGUV-OPER-PR-VersichertePerson"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Leistungserbringer",
        "path": "Bundle.entry",
        "sliceName": "Leistungserbringer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Leistungserbringer.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.dguv.de/OPER/Practitioner/DGUV-OPER-PR-Leistungserbringer"
            ]
          }
        ]
      }
    ]
  }
}