{ "description": "Rechnung an den Kostenträger", "_filename": "GKVSV_PR_TA7_Rechnung.json", "package_name": "de.gkvsv.erezeptabrechnungsdaten", "date": "2022-03-31", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "GKVSV_PR_TA7_Rechnung", "abstract": false, "type": "Invoice", "experimental": null, "resourceType": "StructureDefinition", "title": "GKVSV_PR_TA7_Rechnung", "package_version": "1.2.0", "status": "active", "id": "917d5eef-a466-4a1c-abf0-70bd4e0e9ba7", "kind": "resource", "url": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung", "version": "1.2", "differential": { "element": [ { "id": "Invoice.id", "path": "Invoice.id", "mustSupport": true }, { "id": "Invoice.meta", "min": 1, "path": "Invoice.meta", "mustSupport": true }, { "id": "Invoice.meta.profile", "max": "1", "min": 1, "path": "Invoice.meta.profile", "mustSupport": true, "fixedCanonical": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung|1.2" }, { "id": "Invoice.implicitRules", "max": "0", "path": "Invoice.implicitRules" }, { "id": "Invoice.language", "max": "0", "path": "Invoice.language" }, { "id": "Invoice.text", "max": "0", "path": "Invoice.text" }, { "id": "Invoice.contained", "max": "0", "path": "Invoice.contained" }, { "id": "Invoice.extension", "min": 2, "path": "Invoice.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "path": "Invoice.extension", "min": 1, "definition": "Anzugeben ist der letzte Tag des Abrechnungszeitraums", "short": "Abrechnungszeitraum", "type": [ { "code": "Extension", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Abrechnungszeitraum" ] } ], "mustSupport": true, "sliceName": "abrechnungszeitraum", "max": "1", "id": "Invoice.extension:abrechnungszeitraum" }, { "id": "Invoice.extension:abrechnungszeitraum.value[x]", "path": "Invoice.extension.value[x]", "mustSupport": true }, { "id": "Invoice.extension:referenceRezeptBundle", "max": "1", "min": 1, "path": "Invoice.extension", "type": [ { "code": "Extension", "profile": [ "https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_RezeptBundleReferenz" ] } ], "sliceName": "referenceRezeptBundle", "mustSupport": true }, { "id": "Invoice.extension:referenceRezeptBundle.extension", "min": 1, "path": "Invoice.extension.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Invoice.extension:referenceRezeptBundle.extension:lineItem", "min": 1, "path": "Invoice.extension.extension", "sliceName": "lineItem", "mustSupport": true }, { "id": "Invoice.extension:referenceRezeptBundle.extension:lineItem.value[x]", "path": "Invoice.extension.extension.value[x]", "mustSupport": true }, { "id": "Invoice.extension:referenceRezeptBundle.extension:lineItem.value[x].reference", "path": "Invoice.extension.extension.value[x].reference", "mustSupport": true }, { "id": "Invoice.identifier", "max": "1", "min": 1, "path": "Invoice.identifier", "short": "Sammelrechnungsnummer", "definition": "Sammelrechnungsnummer des Zahlungsempfängers. Es muss sich um eine eindeutige nachrichtentyp-übergreifende Rechnungsnummer handeln.", "mustSupport": true }, { "id": "Invoice.identifier.use", "max": "0", "path": "Invoice.identifier.use" }, { "id": "Invoice.identifier.type", "max": "0", "path": "Invoice.identifier.type" }, { "id": "Invoice.identifier.system", "min": 1, "path": "Invoice.identifier.system", "fixedUri": "https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Sammelrechnungsnummer", "mustSupport": true }, { "id": "Invoice.identifier.value", "min": 1, "path": "Invoice.identifier.value", "short": "Sammelrechnungsnummer", "constraint": [ { "key": "Sammelrechnungsnummer-maxLength", "human": "Die Sammelrechnungsnummer darf maximal 20 Zeichen lang sein.", "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung", "severity": "error", "expression": "length()<=20" }, { "key": "char-1", "human": "Die Sammelrechnungsnummer darf nicht die Zeichen \"/:?*\\\"<>|\" enthalten.", "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung", "severity": "error", "expression": "toString().matches('^\\\\S*[\\/:?*\\\\\\\"<>|]\\\\S*$').not()" }, { "key": "char-2", "human": "Die Sammelrechnungsnummer darf nicht die Zeichenkette \"\\\\\" enthalten.", "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung", "severity": "error", "expression": "toString().contains('\\\\').not()" } ], "definition": "Sammelrechnungsnummer des Zahlungsempfängers. Es muss sich um eine eindeutige nachrichtentyp-übergreifende Rechnungsnummer handeln.", "mustSupport": true }, { "id": "Invoice.identifier.period", "max": "0", "path": "Invoice.identifier.period" }, { "id": "Invoice.identifier.assigner", "max": "0", "path": "Invoice.identifier.assigner" }, { "id": "Invoice.status", "path": "Invoice.status", "fixedCode": "issued", "mustSupport": true }, { "id": "Invoice.cancelledReason", "max": "0", "path": "Invoice.cancelledReason" }, { "id": "Invoice.type", "min": 1, "path": "Invoice.type", "short": "Rechnungsart", "mustSupport": true }, { "id": "Invoice.type.coding", "max": "1", "min": 1, "path": "Invoice.type.coding", "binding": { "strength": "required", "valueSet": "https://fhir.gkvsv.de/ValueSet/GKVSV_VS_ERP_Rechnungsart", "description": "Die Kennzeichnung der Art der Abrechnung muss aus dem Value Set 'https://fhir.gkvsv.de/ValueSet/GKVSV_VS_ERP_Rechnungsart' gewählt werden." }, "mustSupport": true }, { "id": "Invoice.type.coding.system", "min": 1, "path": "Invoice.type.coding.system", "fixedUri": "https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_Rechnungsart", "mustSupport": true }, { "id": "Invoice.type.coding.version", "max": "0", "path": "Invoice.type.coding.version" }, { "id": "Invoice.type.coding.code", "min": 1, "path": "Invoice.type.coding.code", "mustSupport": true }, { "id": "Invoice.type.coding.display", "path": "Invoice.type.coding.display", "mustSupport": true }, { "id": "Invoice.type.coding.userSelected", "max": "0", "path": "Invoice.type.coding.userSelected" }, { "id": "Invoice.type.text", "max": "0", "path": "Invoice.type.text" }, { "id": "Invoice.subject", "max": "0", "path": "Invoice.subject" }, { "id": "Invoice.recipient", "min": 1, "path": "Invoice.recipient", "short": "Kostenträger-IK", "definition": "IK des Kostenträgers", "mustSupport": true }, { "id": "Invoice.recipient.reference", "max": "0", "path": "Invoice.recipient.reference" }, { "id": "Invoice.recipient.type", "max": "0", "path": "Invoice.recipient.type" }, { "id": "Invoice.recipient.identifier", "min": 1, "path": "Invoice.recipient.identifier", "mustSupport": true }, { "id": "Invoice.recipient.identifier.use", "max": "0", "path": "Invoice.recipient.identifier.use" }, { "id": "Invoice.recipient.identifier.type", "max": "0", "path": "Invoice.recipient.identifier.type" }, { "id": "Invoice.recipient.identifier.type.text", "max": "0", "path": "Invoice.recipient.identifier.type.text" }, { "id": "Invoice.recipient.identifier.system", "min": 1, "path": "Invoice.recipient.identifier.system", "fixedUri": "http://fhir.de/NamingSystem/arge-ik/iknr", "mustSupport": true }, { "id": "Invoice.recipient.identifier.value", "min": 1, "path": "Invoice.recipient.identifier.value", "short": "Kostenträger-IK", "constraint": [ { "key": "KostentraegerID-length", "human": "Die IK des Kostenträgers muss 9 Zeichen lang und numerisch sein.", "source": "https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung", "severity": "error", "expression": "toString().matches('^\\\\d{9}$')" } ], "definition": "IK des Kostenträgers", "mustSupport": true }, { "id": "Invoice.recipient.identifier.period", "max": "0", "path": "Invoice.recipient.identifier.period" }, { "id": "Invoice.recipient.identifier.assigner", "max": "0", "path": "Invoice.recipient.identifier.assigner" }, { "id": "Invoice.recipient.display", "max": "0", "path": "Invoice.recipient.display" }, { "id": "Invoice.date", "min": 1, "path": "Invoice.date", "short": "Rechnungsdatum", "mustSupport": true }, { "id": "Invoice.participant", "max": "0", "path": "Invoice.participant" }, { "id": "Invoice.issuer", "max": "0", "path": "Invoice.issuer" }, { "id": "Invoice.account", "max": "0", "path": "Invoice.account" }, { "id": "Invoice.lineItem", "max": "0", "path": "Invoice.lineItem" }, { "id": "Invoice.totalPriceComponent", "max": "0", "path": "Invoice.totalPriceComponent" }, { "id": "Invoice.totalNet", "max": "0", "path": "Invoice.totalNet" }, { "id": "Invoice.totalGross", "max": "0", "path": "Invoice.totalGross" }, { "id": "Invoice.paymentTerms", "max": "0", "path": "Invoice.paymentTerms" }, { "id": "Invoice.note", "max": "0", "path": "Invoice.note" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Invoice" }