PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS
{
  "description": "Bundle zum Schreiben von erstellten (e)Rezepten und aktualisierten/erstellten Medikationsplänen und Provenance-Instanzen im Falle einer Stornierung eines eRezepts von der VoS ins PVS.",
  "_filename": "KBV_PR_VoS_Bundle_VoS_PVS.json",
  "package_name": "kbv.ita.vos",
  "date": "2023-02-01",
  "derivation": "constraint",
  "publisher": "Kassenärztliche Bundesvereinigung",
  "fhirVersion": "4.0.1",
  "name": "KBV_PR_VoS_Bundle_VoS_PVS",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "KBV_PR_VoS_Bundle_VoS_PVS",
  "package_version": "2.1.0",
  "status": "active",
  "id": "1393d2cd-025d-4781-b26e-9c8cfca3f91b",
  "kind": "resource",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS",
  "version": "2.1.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "short": "Speicher-Bundle",
      "constraint": [ {
        "key": "erlaubteRessourcen-1",
        "human": "Es sind nur Ressourcen vom Typ DocumentReference, MedicationRequest, Medication, MedicationStatement, Provenance und Bundle erlaubt",
        "severity": "error",
        "expression": "entry.where((resource is DocumentReference).not() and (resource is MedicationRequest).not() and (resource is Medication).not() and (resource is MedicationStatement).not() and (resource is Provenance).not() and (resource is Bundle).not()).empty()"
      } ],
      "definition": "Bundle mit erstellten (e)Rezepten, aktualisierten/erstellten Medikationsplänen, Medikationsplan-Dosierungen und Provenance-Instanzen im Falle einer Stornierung eines eRezepts von der VoS ins PVS.\r\n\r\nDabei sind nur die KBV-Profile KBV_PR_VoS_DocumentReference, KBV_PR_VoS_Medication_Compounding, KBV_PR_VoS_Medication_FreeText, KBV_PR_VoS_Medication_Ingredient, KBV_PR_VoS_Medication_PZN, KBV_PR_VoS_MedicationStatement_MP, KBV_PR_VoS_Prescription und KBV_PR_VoS_Provenance_ePrescription in der Version 2.1.0 und das eRezept-Bundle nach KBV_PR_ERP_Bundle erlaubt."
    }, {
      "id": "Bundle.id",
      "min": 1,
      "path": "Bundle.id",
      "mustSupport": true
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta",
      "mustSupport": true
    }, {
      "id": "Bundle.meta.source",
      "max": "0",
      "path": "Bundle.meta.source"
    }, {
      "id": "Bundle.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Bundle.meta.profile",
      "mustSupport": true,
      "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS|2.1.0"
    }, {
      "id": "Bundle.meta.security",
      "max": "0",
      "path": "Bundle.meta.security"
    }, {
      "id": "Bundle.meta.tag",
      "max": "0",
      "path": "Bundle.meta.tag"
    }, {
      "id": "Bundle.implicitRules",
      "max": "0",
      "path": "Bundle.implicitRules"
    }, {
      "id": "Bundle.language",
      "max": "0",
      "path": "Bundle.language"
    }, {
      "id": "Bundle.identifier",
      "path": "Bundle.identifier",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.use",
      "max": "0",
      "path": "Bundle.identifier.use"
    }, {
      "id": "Bundle.identifier.type",
      "max": "0",
      "path": "Bundle.identifier.type"
    }, {
      "id": "Bundle.identifier.system",
      "min": 1,
      "path": "Bundle.identifier.system",
      "fixedUri": "https://fhir.kbv.de/NamingSystem/KBV_NS_VoS_BundleID",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.value",
      "min": 1,
      "path": "Bundle.identifier.value",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.period",
      "max": "0",
      "path": "Bundle.identifier.period"
    }, {
      "id": "Bundle.identifier.assigner",
      "max": "0",
      "path": "Bundle.identifier.assigner"
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "fixedCode": "transaction",
      "mustSupport": true
    }, {
      "id": "Bundle.timestamp",
      "path": "Bundle.timestamp",
      "mustSupport": true
    }, {
      "id": "Bundle.total",
      "max": "0",
      "path": "Bundle.total"
    }, {
      "id": "Bundle.link",
      "max": "1",
      "min": 1,
      "path": "Bundle.link",
      "definition": "Angabe der fullURL des Aufruf-Bundles vom PVS zum VoS (KBV_PR_Bundle_PVS_VoS) sowie des Systemkontexts der VoS (Anwender sowie KBV-Prüfnummer)",
      "mustSupport": true
    }, {
      "id": "Bundle.link.extension",
      "max": "1",
      "min": 1,
      "path": "Bundle.link.extension",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.link.extension:systemkontext",
      "max": "1",
      "min": 1,
      "path": "Bundle.link.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_User_Device|2.1.0" ]
      } ],
      "sliceName": "systemkontext",
      "mustSupport": true
    }, {
      "id": "Bundle.link.extension:systemkontext.extension",
      "min": 1,
      "path": "Bundle.link.extension.extension",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.link.extension:systemkontext.extension:KBV-Pruefnummer",
      "min": 1,
      "path": "Bundle.link.extension.extension",
      "sliceName": "KBV-Pruefnummer"
    }, {
      "id": "Bundle.link.extension:systemkontext.extension:KBV-Pruefnummer.value[x]",
      "path": "Bundle.link.extension.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "Bundle.link.extension:systemkontext.extension:KBV-Pruefnummer.value[x]:valueIdentifier",
      "min": 1,
      "path": "Bundle.link.extension.extension.value[x]",
      "sliceName": "valueIdentifier",
      "mustSupport": true
    }, {
      "id": "Bundle.link.extension:systemkontext.extension:systemID",
      "min": 0,
      "path": "Bundle.link.extension.extension",
      "sliceName": "systemID"
    }, {
      "id": "Bundle.link.extension:systemkontext.extension:systemID.value[x]:valueIdentifier",
      "min": 1,
      "path": "Bundle.link.extension.extension.value[x]",
      "sliceName": "valueIdentifier"
    }, {
      "id": "Bundle.link.relation",
      "path": "Bundle.link.relation",
      "fixedString": "related",
      "mustSupport": true
    }, {
      "id": "Bundle.link.url",
      "path": "Bundle.link.url",
      "short": "fullURL des Aufruf-Bundles",
      "definition": "Die fullURL des Aufruf-Bundles (KBV_PR_VoS_Bundle_PVS_VoS), in welchem der Aufrufkontext (inkl. ggf. notwendiger Ressourcen) vom PVS an die VoS übergeben wurde",
      "mustSupport": true
    }, {
      "id": "Bundle.entry",
      "min": 1,
      "path": "Bundle.entry",
      "short": "Ressourcen",
      "constraint": [ {
        "key": "erlaubteRessourcen-2",
        "human": "Es dürfen nur Ressourcen aus der VoS-SST und E-Rezept-Bundles übertragen werden.",
        "severity": "error",
        "expression": "resource.meta.profile.startsWith('https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS') or resource.meta.profile.startsWith('https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle')"
      } ],
      "definition": "Ressourcen, die von der VoS an das PVS gesendet und dort gespeichert werden sollen.\r\nErlaubte Ressourcentypen sind DocumentReference, MedicationRequest, Medication, MedicationStatement, Provenance und Bundle",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.link",
      "max": "0",
      "path": "Bundle.entry.link",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"
    }, {
      "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",
      "min": 1,
      "path": "Bundle.entry.request",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.request.method",
      "path": "Bundle.entry.request.method",
      "fixedCode": "POST",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.request.url",
      "path": "Bundle.entry.request.url",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.request.ifNoneMatch",
      "max": "0",
      "path": "Bundle.entry.request.ifNoneMatch"
    }, {
      "id": "Bundle.entry.request.ifModifiedSince",
      "max": "0",
      "path": "Bundle.entry.request.ifModifiedSince"
    }, {
      "id": "Bundle.entry.request.ifMatch",
      "max": "0",
      "path": "Bundle.entry.request.ifMatch"
    }, {
      "id": "Bundle.entry.request.ifNoneExist",
      "max": "0",
      "path": "Bundle.entry.request.ifNoneExist"
    }, {
      "id": "Bundle.entry.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.signature",
      "max": "0",
      "path": "Bundle.signature"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}