PackagesCanonicalsLogsProblems
    Packages
    de.gevko.evo.hlm@1.3.0
    https://fhir.gevko.de/StructureDefinition/EVO_PR_HLM_Bundle
{
  "description": "Dieses Bundle vereint die Elemente des strukturierten Dokuments Heilmittelverordnung Muster 13 (10.2020)",
  "_filename": "EVO_PR_HLM_Bundle.json",
  "package_name": "de.gevko.evo.hlm",
  "date": "2023-10-18",
  "derivation": "constraint",
  "publisher": "gevko GmbH",
  "fhirVersion": "4.0.1",
  "name": "EVO_PR_HLM_Bundle",
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Heilmittelverordnung",
  "package_version": "1.3.0",
  "status": "active",
  "id": "b6164ce8-e5a9-4e79-8811-7bb31ae53d82",
  "kind": "resource",
  "url": "https://fhir.gevko.de/StructureDefinition/EVO_PR_HLM_Bundle",
  "version": "1.3",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "Composition-pflicht",
        "human": "Die Ressource vom Typ Composition muss genau einmal vorhanden sein",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Composition).count()=1"
      }, {
        "key": "typComposition",
        "human": "Die Instanz der Composition muss vom Profil EVO_PR_HLM_Composition|1.3 sein",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Composition).resource.meta.profile = 'https://fhir.gevko.de/StructureDefinition/EVO_PR_HLM_Composition|1.3'"
      }, {
        "key": "angabePruefnummer",
        "human": "Prüfnummer nicht vorhanden, aber Pflicht bei den Kostenträger der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "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": "angabeZuzahlung",
        "human": "Zuzahlungsstatus nicht vorhanden, aber Pflicht bei den Kostenträgern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "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 ServiceRequest).resource.extension('https://fhir.gevko.de/StructureDefinition/EVO_EX_Zuzahlungsstatus').exists()"
      }, {
        "key": "angabePLZ",
        "human": "Postleitzahl nicht vorhanden, aber Pflicht bei den Kostentraegern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "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 Patient).resource.address.postalCode.exists()"
      }, {
        "key": "angabeNrAusstellendePerson",
        "human": "Nummer der ausstellenden Person nicht vorhanden, aber Pflicht, wenn es sich um einen Arzt oder Zahnarzt handelt",
        "source": "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": "angabeBetriebsstaettennr",
        "human": "Betriebsstaettennummer nicht vorhanden, aber Pflicht, wenn es sich um einen Arzt, Zahnarzt oder Arzt in Weiterbildung handelt",
        "source": "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": "angabeRechtsgrundlage",
        "human": "Rechtsgrundlage nicht vorhanden, aber Pflicht bei den Kostentraegern der Typen \"GKV\", \"BG\", \"SKT\" oder \"UK\"",
        "source": "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.extension('https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis').exists()"
      }, {
        "key": "Arztpraxis-1",
        "human": "Für eine Arztpraxis muss eine BSNR angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Organization).exists() implies entry.where(resource is Organization).resource.identifier.system='https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR'"
      }, {
        "key": "Arztpraxis-2",
        "human": "Bei einer Arztpraxis darf kein Institutionskennzeichen angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Organization).exists() implies entry.where(resource is Organization).resource.identifier.system != 'http://fhir.de/NamingSystem/arge-ik/iknr'"
      }, {
        "key": "Arztpraxis-3",
        "human": "Bei einer Arztpraxis darf keine Zahnarztnummer angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Organization).exists() implies entry.where(resource is Organization).resource.identifier.system != 'http://fhir.de/NamingSystem/kzbv/kzvabrechnungsnummer'"
      }, {
        "key": "Patient-1",
        "human": "Bei einem Patienten mit gesetzlicher Krankenversicherung muss die gesetzliche Krankenversicherungsnummer angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Coverage).resource.type.coding.code = 'GKV' implies entry.where(resource is Patient).resource.identifier.type.coding.code = 'GKV'"
      }, {
        "key": "Patient-2",
        "human": "Bei einem Patienten mit privater Krankenversicherung muss die private Krankenversicherungsnummer angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Coverage).resource.type.coding.code = 'PKV' implies entry.where(resource is Patient).resource.identifier.type.coding.code = 'PKV'"
      }, {
        "key": "Arzt-1",
        "human": "Die LANR des Arztes muss angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Practitioner).exists() implies entry.where(resource is Practitioner).resource.identifier.type.coding.all(code = 'LANR')"
      }, {
        "key": "Arzt-2",
        "human": "Für einen Arzt darf keine Zahnarztnummer angegeben werden.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Practitioner).exists() implies entry.where(resource is Practitioner).resource.identifier.type.coding.code != 'ZANR'"
      }, {
        "key": "Arzt-3",
        "human": "Es ist nur der Code für \"Arzt\", \"Arzt in Weiterbildung\" oder \"Arzt als Vertreter\" zugelassen.",
        "source": "Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Practitioner).exists() implies entry.where(resource is Practitioner).resource.qualification.code.coding.all(code in '00'| '03' | '04')"
      } ]
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta"
    }, {
      "id": "Bundle.meta.id",
      "max": "0",
      "path": "Bundle.meta.id"
    }, {
      "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"
      } ]
    }, {
      "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"
      } ],
      "fixedCanonical": "https://fhir.gevko.de/StructureDefinition/EVO_PR_HLM_Bundle|1.3"
    }, {
      "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"
    }, {
      "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 Heilmittelverordnung (Muster 13)\" wird die Dokumenten-ID gemäß den Vorgaben der gematik gesetzt."
    }, {
      "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 Heilmittelverordnung (Muster 13)\" wird die Dokumenten-ID gemäß den Vorgaben der gematik gesetzt."
    }, {
      "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"
    }, {
      "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"
    }, {
      "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"
    }, {
      "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"
      } ]
    }, {
      "id": "Bundle.entry.resource",
      "min": 1,
      "path": "Bundle.entry.resource"
    }, {
      "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.signature",
      "max": "0",
      "path": "Bundle.signature"
    }, {
      "id": "Bundle.signature.who.id",
      "max": "0",
      "path": "Bundle.signature.who.id"
    }, {
      "id": "Bundle.signature.who.reference",
      "min": 1,
      "path": "Bundle.signature.who.reference",
      "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"
      } ],
      "fixedString": "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Betriebsstaette|https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner"
    }, {
      "id": "Bundle.signature.who.type",
      "max": "0",
      "path": "Bundle.signature.who.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"
      } ]
    }, {
      "id": "Bundle.signature.who.identifier",
      "max": "0",
      "path": "Bundle.signature.who.identifier"
    }, {
      "id": "Bundle.signature.who.display",
      "max": "0",
      "path": "Bundle.signature.who.display",
      "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"
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}