PackagesCanonicalsLogsProblems
    Packages
    rs/de.gematik.isik@5.0.0-rc2
    https://gematik.de/fhir/isik/StructureDefinition/ISiKBerichtBundle
{
  "description": "A document style representation of the receipt (complete, self-contained, signed)",
  "_filename": "StructureDefinition-ISiKBerichtBundle.json",
  "package_name": "rs/de.gematik.isik",
  "date": "2025-06-05",
  "derivation": "constraint",
  "publisher": "gematik GmbH",
  "fhirVersion": "4.0.1",
  "name": "ISiKBerichtBundle",
  "abstract": false,
  "type": "Bundle",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "ISiKBerichtBundle",
  "package_version": "5.0.0-rc2",
  "status": "active",
  "id": "40607527-79c0-4165-bfec-6a003fd57886",
  "kind": "resource",
  "url": "https://gematik.de/fhir/isik/StructureDefinition/ISiKBerichtBundle",
  "version": "5.0.0-rc2",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "ISiK-docBundle-1",
        "human": "All referenced Resources must be contained in the Bundle",
        "source": "https://gematik.de/fhir/isik/StructureDefinition/ISiKBerichtBundle",
        "severity": "error",
        "expression": "Bundle.entry.descendants().reference.distinct().subsetOf(%context.entry.fullUrl)"
      } ]
    }, {
      "id": "Bundle.identifier",
      "min": 1,
      "path": "Bundle.identifier",
      "mustSupport": true
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "fixedCode": "document",
      "mustSupport": true
    }, {
      "id": "Bundle.timestamp",
      "min": 1,
      "path": "Bundle.timestamp",
      "mustSupport": true
    }, {
      "id": "Bundle.entry",
      "min": 2,
      "path": "Bundle.entry",
      "short": "Slice zur Hinterlegung einer Encounter-Instanz",
      "comment": "Dieses Slice ist optional, aber wenn es vorhanden ist, muss es genau eine Encounter-Instanz sein. Die FHIR-Core Specification besagt für [Document-Bundles](https://www.hl7.org/fhir/R4/documents.html) bereits,\n  dass einige von der Composition referenzierte Ressourcen immer auch im Bundle enthalten sein müssen. Hierzu gehört im ISiK Kontext auch die Encounter-Instanz.",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resource",
          "type": "type"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Bundle.entry.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:Composition",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Composition",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:Composition.resource",
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Composition",
        "profile": [ "https://gematik.de/fhir/isik/StructureDefinition/ISiKBerichtSubSysteme" ]
      } ]
    }, {
      "id": "Bundle.entry:Patient",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Patient",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:Patient.resource",
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Patient"
      } ]
    }, {
      "id": "Bundle.entry:Encounter",
      "max": "1",
      "min": 0,
      "path": "Bundle.entry",
      "sliceName": "Encounter",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:Encounter.resource",
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Encounter"
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}