{ "description": "TA7 Sammelrechnung aus Datei - Bundle", "_filename": "GKVSV_PR_TA7_Sammelrechnung_Bundle.json", "package_name": "de.gkvsv.erezeptabrechnungsdaten", "date": "2022-02-25", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "GKVSV_PR_TA7_Sammelrechnung_Bundle", "abstract": false, "type": "Bundle", "experimental": null, "resourceType": "StructureDefinition", "title": "GKVSV_PR_TA7_Sammelrechnung_Bundle", "package_version": "1.2.0-rc2", "status": "draft", "id": "b799727a-5d6a-4ed1-a07c-f6126cd30774", "kind": "resource", "url": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Bundle", "version": "1.2.0-rc2", "differential": { "element": [ { "id": "Bundle", "path": "Bundle", "constraint": [ { "key": "kik-1", "human": "Die IKs des empfangenden Kostentraegers muessen identisch sein.", "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Bundle", "severity": "error", "expression": "entry.where(resource is Invoice).resource.recipient.identifier.value = entry.where(resource is Composition).resource.extension('https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_TA7_IK_Kostentraeger').valueIdentifier.value" }, { "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_Sammelrechnung_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", "mustSupport": true }, { "id": "Bundle.meta", "min": 1, "path": "Bundle.meta", "mustSupport": true }, { "id": "Bundle.meta.profile", "max": "1", "min": 1, "path": "Bundle.meta.profile", "mustSupport": true, "fixedCanonical": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Bundle|1.2-rc2" }, { "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", "mustSupport": true }, { "id": "Bundle.identifier.extension", "min": 1, "path": "Bundle.identifier.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "path": "Bundle.identifier.extension", "min": 1, "definition": "fortlaufende Nummer innerhalb eines Jahres, beginnend mit 00001", "short": "Dateinummer", "type": [ { "code": "Extension", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Dateinummer" ] } ], "mustSupport": true, "sliceName": "Dateinummer", "max": "1", "id": "Bundle.identifier.extension:Dateinummer" }, { "id": "Bundle.identifier.extension:Dateinummer.value[x]", "path": "Bundle.identifier.extension.value[x]", "short": "Dateinummer", "definition": "fortlaufende Nummer innerhalb eines Jahres, beginnend mit 00001.", "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", "short": "Dateiname", "fixedUri": "https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Dateiname", "mustSupport": true }, { "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_Sammelrechnung_Bundle", "severity": "error", "expression": "toString().matches('^(ARZ|APO|KKR|KRZ|SON)(FHR|FK[1-9])(\\\\d{2})(\\\\d{3}|.\\\\d{2})$')" } ], "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": "document", "mustSupport": true }, { "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)", "mustSupport": true }, { "id": "Bundle.total", "max": "0", "path": "Bundle.total" }, { "id": "Bundle.link", "max": "0", "path": "Bundle.link" }, { "id": "Bundle.entry", "min": 4, "path": "Bundle.entry", "short": "Composition, List und Rechnungen", "slicing": { "rules": "open", "discriminator": [ { "path": "resource", "type": "profile" } ] }, "definition": "Die Liste der Sammelrechnung_Bundles, die Composition und die darin referenzierten Rechnungen werden hier inhaltlich vollständig aufgeführt.", "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_Composition", "max": "1", "min": 1, "path": "Bundle.entry", "sliceName": "sammelrechnung_Composition", "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_Composition.link", "max": "0", "path": "Bundle.entry.link" }, { "id": "Bundle.entry:sammelrechnung_Composition.fullUrl", "min": 1, "path": "Bundle.entry.fullUrl", "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_Composition.resource", "min": 1, "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Composition|1.2-rc2" ] } ], "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_Composition.search", "max": "0", "path": "Bundle.entry.search" }, { "id": "Bundle.entry:sammelrechnung_Composition.request", "max": "0", "path": "Bundle.entry.request" }, { "id": "Bundle.entry:sammelrechnung_Composition.response", "max": "0", "path": "Bundle.entry.response" }, { "id": "Bundle.entry:sammelrechnung_List", "max": "1", "min": 1, "path": "Bundle.entry", "sliceName": "sammelrechnung_List", "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_List.link", "max": "0", "path": "Bundle.entry.link" }, { "id": "Bundle.entry:sammelrechnung_List.fullUrl", "min": 1, "path": "Bundle.entry.fullUrl", "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_List.resource", "min": 1, "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_List|1.2-rc2" ] } ], "mustSupport": true }, { "id": "Bundle.entry:sammelrechnung_List.search", "max": "0", "path": "Bundle.entry.search" }, { "id": "Bundle.entry:sammelrechnung_List.request", "max": "0", "path": "Bundle.entry.request" }, { "id": "Bundle.entry:sammelrechnung_List.response", "max": "0", "path": "Bundle.entry.response" }, { "id": "Bundle.entry:rechnung", "max": "1", "min": 1, "path": "Bundle.entry", "sliceName": "rechnung", "mustSupport": true }, { "id": "Bundle.entry:rechnung.link", "max": "0", "path": "Bundle.entry.link" }, { "id": "Bundle.entry:rechnung.fullUrl", "min": 1, "path": "Bundle.entry.fullUrl", "mustSupport": true }, { "id": "Bundle.entry:rechnung.resource", "min": 1, "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung|1.2-rc2" ] } ], "mustSupport": true }, { "id": "Bundle.entry:rechnung.search", "max": "0", "path": "Bundle.entry.search" }, { "id": "Bundle.entry:rechnung.request", "max": "0", "path": "Bundle.entry.request" }, { "id": "Bundle.entry:rechnung.response", "max": "0", "path": "Bundle.entry.response" }, { "id": "Bundle.entry:rezeptBundle", "min": 1, "path": "Bundle.entry", "sliceName": "rezeptBundle", "mustSupport": true }, { "id": "Bundle.entry:rezeptBundle.link", "max": "0", "path": "Bundle.entry.link" }, { "id": "Bundle.entry:rezeptBundle.fullUrl", "min": 1, "path": "Bundle.entry.fullUrl", "mustSupport": true }, { "id": "Bundle.entry:rezeptBundle.resource", "min": 1, "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle|1.2-rc2" ] } ], "mustSupport": true }, { "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" }