PackagesCanonicalsLogsProblems
    Packages
    de.gevko.evo.hlm@1.3.0
    https://fhir.gevko.de/StructureDefinition/EVO_PR_HFM_Bundle
{
  "description": "Dieses Bundle vereint die Elemente des strukturierten Dokuments elektronische Verordnung eines Hilfsmittels, KBV Muster 16 (10.2014)",
  "_filename": "EVO_PR_HFM_Bundle.json",
  "package_name": "de.gevko.evo.hlm",
  "date": "2022-02-09",
  "derivation": "constraint",
  "publisher": "gevko GmbH",
  "fhirVersion": "4.0.1",
  "name": "EVO_PR_HFM_Bundle",
  "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": null,
  "package_version": "1.3.0",
  "status": "draft",
  "id": "d73a5778-47bb-499c-a6d1-fd867ec26d58",
  "kind": "resource",
  "url": "https://fhir.gevko.de/StructureDefinition/EVO_PR_HFM_Bundle",
  "version": "0.9",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "-erp-compositionPflicht",
        "human": "Die Ressource vom Typ Composition muss genau einmal vorhanden sein",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Composition).count()=1"
      }, {
        "key": "-erp-angabePruefnummer",
        "human": "Prüfnummer nicht vorhanden, aber Pflicht bei den Kostenträger der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK')) implies entry.where(resource is Composition).resource.author.identifier.where(system='https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer').exists()"
      }, {
        "key": "-erp-angabeZuzahlung",
        "human": "Zuzahlungsstatus nicht vorhanden, aber Pflicht bei den Kostenträgern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is MedicationRequest).exists() and entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK')) implies entry.where(resource is MedicationRequest).resource.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_StatusCoPayment').exists()"
      }, {
        "key": "-erp-angabePLZ",
        "human": "Postleitzahl nicht vorhanden, aber Pflicht bei den Kostentraegern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is Patient).exists() and entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK')) implies entry.where(resource is Patient).resource.address.postalCode.exists()"
      }, {
        "key": "-erp-angabeNrAusstellendePerson",
        "human": "Nummer der ausstellenden Person nicht vorhanden, aber Pflicht, wenn es sich um einen Arzt oder Zahnarzt handelt",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK') and (entry.where(resource is Practitioner).resource.qualification.coding.code='00' or entry.where(resource is Practitioner).resource.qualification.coding.code='01')) implies entry.where(resource is Practitioner).resource.identifier.exists()"
      }, {
        "key": "-erp-angabeBestriebsstaettennr",
        "human": "Betriebsstaettennummer nicht vorhanden, aber Pflicht, wenn es sich um einen Arzt, Zahnarzt oder Arzt in Weiterbildung handelt",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK') and (entry.where(resource is Practitioner).resource.qualification.coding.code='00' or entry.where(resource is Practitioner).resource.qualification.coding.code='01' or entry.where(resource is Practitioner).resource.qualification.coding.code='03')) implies entry.where(resource is Organization).resource.identifier.exists()"
      }, {
        "key": "-erp-angabeRechtsgrundlage",
        "human": "Rechtsgrundlage nicht vorhanden, aber Pflicht bei den Kostentraegern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is MedicationRequest).exists() and entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='GKV' or entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='SKT' or entry.where(resource is Coverage).resource.type.coding.code='UK')) implies entry.where(resource is Composition).resource.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis').exists()"
      }, {
        "key": "-erp-versionComposition",
        "human": "Die Instanz der Composition muss vom Profil KBV_PR_ERP_Composition|1.0.2 sein",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Composition).resource.meta.profile = 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.0.2'"
      }, {
        "key": "IK-Kostentraeger-BG-UK-Pflicht",
        "human": "Zusätzliches IK des Kostenträger nicht vorhanden, aber Pflicht bei Kostenträgern vom Typ \"BG\" oder \"UK\",",
        "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle",
        "severity": "error",
        "expression": "(entry.where(resource is Coverage).exists() and (entry.where(resource is Coverage).resource.type.coding.code='BG' or entry.where(resource is Coverage).resource.type.coding.code='UK')) implies  entry.select(resource as Coverage).payor.identifier.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Alternative_IK').exists()"
      } ]
    }, {
      "id": "Bundle.id",
      "min": 1,
      "path": "Bundle.id",
      "mustSupport": true
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta",
      "mustSupport": true
    }, {
      "id": "Bundle.meta.versionId",
      "max": "0",
      "path": "Bundle.meta.versionId",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.meta.lastUpdated",
      "path": "Bundle.meta.lastUpdated",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "mustSupport": true
    }, {
      "id": "Bundle.meta.source",
      "max": "0",
      "path": "Bundle.meta.source",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Bundle.meta.profile",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "mustSupport": true,
      "fixedCanonical": "https://fhir.gevko.de/StructureDefinition/EVO_PR_HFM_Bundle|0.9"
    }, {
      "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",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.language",
      "max": "0",
      "path": "Bundle.language",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.identifier",
      "min": 1,
      "path": "Bundle.identifier",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.use",
      "max": "0",
      "path": "Bundle.identifier.use",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.identifier.type",
      "max": "0",
      "path": "Bundle.identifier.type"
    }, {
      "id": "Bundle.identifier.system",
      "min": 1,
      "path": "Bundle.identifier.system",
      "fixedUri": "https://gematik.de/fhir/NamingSystem/PrescriptionID",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "definition": "Für den digitalen Vordruck \"Elektronische Arzneimittelverordnung (Vordruck e160)\" wird die Dokumenten-ID gemäß den Vorgaben der gematik gesetzt.",
      "mustSupport": true
    }, {
      "id": "Bundle.identifier.value",
      "min": 1,
      "path": "Bundle.identifier.value",
      "short": "Dokumenten-ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "definition": "Eindeutige Identifikation des Dokuments, bzw. der Verordnung. Diese ID wird mit signiert und sichert damit die Verordnung vor Fälschungen.\r\n\r\nFür den digitalen Vordruck \"Elektronische Arzneimittelverordnung (Vordruck e160)\" wird die Dokumenten-ID gemäß den Vorgaben der gematik gesetzt.",
      "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",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "fixedCode": "document",
      "mustSupport": true
    }, {
      "id": "Bundle.timestamp",
      "min": 1,
      "path": "Bundle.timestamp",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "definition": "DateTime wann das Dokument technisch erstellt wurde. \r\nFachlich bildet das Ausstellungsdatum das entscheidende Datum ab",
      "mustSupport": true
    }, {
      "id": "Bundle.total",
      "max": "0",
      "path": "Bundle.total",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ]
    }, {
      "id": "Bundle.link",
      "max": "0",
      "path": "Bundle.link"
    }, {
      "id": "Bundle.entry",
      "min": 1,
      "path": "Bundle.entry",
      "mustSupport": true
    }, {
      "id": "Bundle.entry.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
        "valueCode": "normative"
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
        "valueCode": "4.0.0"
      } ],
      "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"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}