PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedatenpkv@1.4.0-rc1
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle
{
  "description": null,
  "_filename": "Profile-DAV-PKV-PR-ERP-AbgabedatenBundle.json",
  "package_name": "de.abda.erezeptabgabedatenpkv",
  "date": "2025-02-18",
  "derivation": "constraint",
  "publisher": "Deutscher Apothekerverband e.V. (DAV)",
  "fhirVersion": "4.0.1",
  "name": "DAV_PKV_PR_ERP_AbgabedatenBundle",
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "DAV_PKV_PR_ERP_AbgabedatenBundle",
  "package_version": "1.4.0-rc1",
  "status": "draft",
  "id": "32b7afe8-1dd6-4271-9868-6759745b5206",
  "kind": "resource",
  "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle",
  "version": "1.4.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "AbrechTypBank",
        "human": "Wenn Abrechnungstyp (Abgabeinfo) = 2 (Direktabrechnung) muss eine Bankverbindung (Apotheke) angegeben werden.",
        "source": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle",
        "severity": "error",
        "expression": "((Bundle.entry.resource.ofType(MedicationDispense).first().extension('http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp').value as CodeableConcept).coding.code = 2)  implies Bundle.entry.resource.ofType(Organization).first().extension('http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-Bankverbindung').first().exists()"
      } ]
    }, {
      "id": "Bundle.meta",
      "path": "Bundle.meta"
    }, {
      "id": "Bundle.meta.profile",
      "min": 1,
      "path": "Bundle.meta.profile",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.meta.profile:pkvProfile",
      "max": "1",
      "min": 1,
      "path": "Bundle.meta.profile",
      "sliceName": "pkvProfile",
      "fixedCanonical": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.4"
    }, {
      "id": "Bundle.entry",
      "min": 4,
      "path": "Bundle.entry",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "resource.meta.profile",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "ERezeptAbgabedaten"
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenComposition" ]
      } ]
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:ERezeptAbgabedaten.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:Apotheke",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Apotheke"
    }, {
      "id": "Bundle.entry:Apotheke.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Apotheke.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Apotheke.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke" ]
      } ]
    }, {
      "id": "Bundle.entry:Apotheke.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Apotheke.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Apotheke.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:Abgabeinformationen",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Abgabeinformationen"
    }, {
      "id": "Bundle.entry:Abgabeinformationen.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Abgabeinformationen.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Abgabeinformationen.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen" ]
      } ]
    }, {
      "id": "Bundle.entry:Abgabeinformationen.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Abgabeinformationen.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Abgabeinformationen.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Abrechnungszeilen"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen" ]
      } ]
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Abrechnungszeilen.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung",
      "path": "Bundle.entry",
      "sliceName": "ZusatzdatenHerstellung",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-ZusatzdatenHerstellung" ]
      } ]
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:ZusatzdatenHerstellung.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit",
      "path": "Bundle.entry",
      "sliceName": "ZusatzdatenEinheit",
      "mustSupport": true
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-ZusatzdatenEinheit" ]
      } ]
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:ZusatzdatenEinheit.response",
      "max": "0",
      "path": "Bundle.entry.response"
    } ]
  },
  "baseDefinition": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-AbgabedatenBundle"
}