{
  "resourceType": "StructureDefinition",
  "id": "DGUV-OPER-PR-Bundle",
  "url": "http://fhir.dguv.de/OPER/Bundle/DGUV-OPER-PR-Bundle",
  "version": "0.1",
  "name": "DGUV_OPER_PR_Bundle",
  "title": "Stationärer Operationsbericht - Bundle",
  "status": "draft",
  "publisher": "Deutsche Gesetzliche Unfallversicherung e.V. (DGUV)",
  "description": "Dieses Profil spezifiziert den strukturierten Aufbau des stationären DGUV‑Operationsberichts",
  "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,
        "fixedUri": "http://fhir.dguv.de/OPER/NamingSystem/DGUV-OPER-NS-Nachrichtenkennung",
        "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:Composition.resource.section",
        "path": "Bundle.entry.resource.section",
        "min": 6,
        "max": "6"
      },
      {
        "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:Autor",
        "path": "Bundle.entry",
        "sliceName": "Autor",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Autor.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://fhir.dguv.de/OPER/Practitioner/DGUV-OPER-PR-Autor"
            ]
          }
        ]
      }
    ]
  }
}