PackagesCanonicalsLogsProblems
    Packages
    de.gkvsv.erezeptabrechnungsdaten@1.3.0-rc1
    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": "2022-05-02",
  "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.3.0-rc1",
  "status": "draft",
  "id": "53372069-d564-4c2b-8204-80246c2f1f87",
  "kind": "resource",
  "url": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle",
  "version": "1.3",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "constraint": [ {
        "key": "dateabrz-1",
        "human": "Das Enddatum des Abrechnungszeitraums in der Composition und der TA7_Rechnung muss identisch sein.",
        "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle",
        "severity": "error",
        "expression": "entry.where(resource is Composition).resource.date = entry.where(resource is Invoice).resource.extension('https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Abrechnungszeitraum').valueDateTime"
      } ]
    }, {
      "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.3"
    }, {
      "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",
      "min": 1,
      "path": "Bundle.identifier.extension",
      "slicing": {
        "rules": "open",
        "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.extension:Dateinummer.value[x]",
      "path": "Bundle.identifier.extension.value[x]",
      "short": "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}|.\\\\d{2})$')"
      } ]
    }, {
      "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",
          "type": "profile"
        } ]
      },
      "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.3" ]
      } ]
    }, {
      "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.3" ]
      } ]
    }, {
      "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:Abrechnungsdaten",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "Abrechnungsdaten"
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.link",
      "max": "0",
      "path": "Bundle.entry.link"
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten|1.3" ]
      } ]
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.search",
      "max": "0",
      "path": "Bundle.entry.search"
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.request",
      "max": "0",
      "path": "Bundle.entry.request"
    }, {
      "id": "Bundle.entry:Abrechnungsdaten.response",
      "max": "0",
      "path": "Bundle.entry.response"
    }, {
      "id": "Bundle.signature",
      "max": "0",
      "path": "Bundle.signature"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}