{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Bundle_DMPDokumentation",
  "version": "0.10",
  "name": "74_PR_DMPD2_Bundle_DMPDokumentation",
  "status": "draft",
  "experimental": false,
  "publisher": "Kassenärztliche Bundesvereinigung",
  "contact": [
    {
      "name": "Kassenärztliche Bundesvereinigung",
      "telecom": [
        {
          "system": "url",
          "value": "www.kbv.de"
        }
      ]
    }
  ],
  "fhirVersion": "3.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": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "min": 1
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "short": "DokumentenID",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.extension",
        "path": "Bundle.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.identifier.extension:DokumentenSetId",
        "path": "Bundle.identifier.extension",
        "sliceName": "DokumentenSetId",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.kbv.de/StructureDefinition/74_EX_DMPD2_DokumentenSetId"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.extension:DokumentenSetId.extension:value",
        "path": "Bundle.identifier.extension.extension",
        "sliceName": "value",
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.use",
        "path": "Bundle.identifier.use",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.type",
        "path": "Bundle.identifier.type",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.kbv.de/NamingSystem/74_NS_DMPD2_DokumentenID"
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.period",
        "path": "Bundle.identifier.period",
        "max": "0"
      },
      {
        "id": "Bundle.identifier.assigner",
        "path": "Bundle.identifier.assigner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Einrichtung"
          }
        ]
      },
      {
        "id": "Bundle.identifier.assigner.reference",
        "path": "Bundle.identifier.assigner.reference",
        "min": 1
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "document"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "description": "The entries are discriminated by content.",
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen",
        "path": "Bundle.entry",
        "sliceName": "Composition_Dokumentationsbogen",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Composition_Dokumentationsbogen"
          }
        ]
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Composition_Dokumentationsbogen.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis",
        "path": "Bundle.entry",
        "sliceName": "Versicherungsverhaeltnis",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://kbv.de/fhir/StructureDefinition/74_PR_DMPD2_Versicherungsverhaeltnis"
          }
        ]
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Versicherungsverhaeltnis.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_PVS",
        "path": "Bundle.entry",
        "sliceName": "Software_PVS",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Software_PVS.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_PVS.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:Software_PVS.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Software_PVS"
          }
        ]
      },
      {
        "id": "Bundle.entry:Software_PVS.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_PVS.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_PVS.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XSD",
        "path": "Bundle.entry",
        "sliceName": "Software_XSD",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Software_XSD.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XSD.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:Software_XSD.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Software_XSD"
          }
        ]
      },
      {
        "id": "Bundle.entry:Software_XSD.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XSD.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XSD.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XPM",
        "path": "Bundle.entry",
        "sliceName": "Software_XPM",
        "max": "1"
      },
      {
        "id": "Bundle.entry:Software_XPM.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XPM.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Software_XPM.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_DMPD2_Software_XPM"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Software_XPM.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XPM.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Software_XPM.response",
        "path": "Bundle.entry.response",
        "max": "0"
      }
    ]
  }
}