PackagesCanonicalsLogsProblems
    Packages
    de.gkvsv.erezeptabrechnungsdaten@1.5.0
    https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle
{
  "description": "TA7 Rechnung aus Datei - Bundle",
  "_filename": "GKVSV_PR_TA7_Rechnung_Bundle.json",
  "package_name": "de.gkvsv.erezeptabrechnungsdaten",
  "date": "2025-03-31",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "GKVSV_PR_TA7_Rechnung_Bundle",
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "GKVSV_PR_TA7_Rechnung_Bundle",
  "package_version": "1.5.0",
  "status": "active",
  "id": "6ab50dae-f738-4368-b9e4-3ff6ae652e8d",
  "kind": "resource",
  "url": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle",
  "version": "1.5.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "dname-1",
        "human": "Der Dateiname der TA7_Rechnung_Bundle muss in der TA7_Rechnung_List enthalten sein.",
        "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle",
        "severity": "error",
        "expression": "identifier.value in entry.where(resource is List).resource.entry.item.identifier.value"
      } ]
    }, {
      "id": "Bundle.id",
      "min": 1,
      "path": "Bundle.id"
    }, {
      "id": "Bundle.meta",
      "min": 1,
      "path": "Bundle.meta"
    }, {
      "id": "Bundle.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Bundle.meta.profile",
      "fixedCanonical": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle|1.5"
    }, {
      "id": "Bundle.implicitRules",
      "max": "0",
      "path": "Bundle.implicitRules"
    }, {
      "id": "Bundle.language",
      "max": "0",
      "path": "Bundle.language"
    }, {
      "id": "Bundle.identifier",
      "min": 1,
      "path": "Bundle.identifier",
      "short": "Dateiname und Dateinummer"
    }, {
      "id": "Bundle.identifier.extension",
      "max": "1",
      "min": 1,
      "path": "Bundle.identifier.extension",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.identifier.extension:Dateinummer",
      "max": "1",
      "min": 1,
      "path": "Bundle.identifier.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Dateinummer" ]
      } ],
      "short": "Dateinummer",
      "sliceName": "Dateinummer",
      "definition": "fortlaufende Nummer innerhalb eines Jahres, beginnend mit 00001"
    }, {
      "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",
      "short": "Dateiname",
      "fixedUri": "https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Dateiname"
    }, {
      "id": "Bundle.identifier.value",
      "min": 1,
      "path": "Bundle.identifier.value",
      "short": "Dateiname",
      "constraint": [ {
        "key": "Dateiname",
        "human": "Der Dateiname muss den Konventionen der TA7 entsprechen.",
        "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle",
        "severity": "error",
        "expression": "toString().matches('^((ARZ|APO|KKR|KRZ|SON)(FHR|FK[1-9])(\\\\d{2})(\\\\d{3}|[A-Z]\\\\d{2}))|((B|C|D|K|R)([0-9]|[A-Z]){2}(FHR|FK[1-9])(\\\\d{2})([0-9]|[A-Z]){3})$') and toString().matches('^((ARZ|APO|KKR|KRZ|SON)(FHR|FK[1-9])(\\\\d{2})(000))|((B|C|D|K|R)(00)(FHR|FK[1-9])(\\\\d{2})(000))$').not()"
      } ]
    }, {
      "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": "document"
    }, {
      "id": "Bundle.timestamp",
      "min": 1,
      "path": "Bundle.timestamp",
      "short": "Erstelldatum der Datei",
      "definition": "Erstelldatum/-uhrzeit der Datei.\r\nJJJJMMTT:HHMM (zusammengesetztes Datenelement aus Erstelldatum und Erstelluhrzeit der Datei)"
    }, {
      "id": "Bundle.total",
      "max": "0",
      "path": "Bundle.total"
    }, {
      "id": "Bundle.link",
      "max": "0",
      "path": "Bundle.link"
    }, {
      "id": "Bundle.entry",
      "min": 2,
      "path": "Bundle.entry",
      "short": "Composition, List und Rechnungen",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "resource.meta.profile",
          "type": "value"
        } ]
      },
      "definition": "Die Liste der Rechnung_Bundles, die Composition und die darin referenzierten Rechnungen werden hier inhaltlich vollständig aufgeführt."
    }, {
      "id": "Bundle.entry:Rechnung_Composition",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Rechnung_Composition"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Composition|1.5.0" ]
      } ]
    }, {
      "id": "Bundle.entry:Rechnung_Composition.resource.extension",
      "max": "2",
      "path": "Bundle.entry.resource.extension"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.resource.date.extension",
      "max": "1",
      "path": "Bundle.entry.resource.date.extension"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Rechnung_Composition.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:Rechnung_List",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Rechnung_List"
    }, {
      "id": "Bundle.entry:Rechnung_List.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Rechnung_List.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Rechnung_List.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_List|1.5.0" ]
      } ]
    }, {
      "id": "Bundle.entry:Rechnung_List.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Rechnung_List.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Rechnung_List.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.entry:RezeptBundle",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "RezeptBundle"
    }, {
      "id": "Bundle.entry:RezeptBundle.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:RezeptBundle.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:RezeptBundle.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle" ]
      } ]
    }, {
      "id": "Bundle.entry:RezeptBundle.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:RezeptBundle.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:RezeptBundle.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.signature",
      "max": "0",
      "path": "Bundle.signature"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}