description: eRezept - elektronische Abrechnungsdaten package_name: rs/de.gkvsv.erezeptabrechnungsdaten derivation: constraint name: GKVSV_PR_ERP_eAbrechnungsdaten type: Invoice elements: date: {index: 29} meta: index: 0 elements: profile: pattern: {type: canonical, value: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten|1.3'} type: canonical index: 1 required: [profile] totalNet: {index: 80} implicitRules: {index: 2} recipient: {index: 28} totalPriceComponent: elementReference: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten', elements, org/fhir/StructureDefinition/Invoice#Invoice, elements, lineItem, elements, priceComponent] index: 79 type: {index: 26} totalGross: {index: 81} participant: {index: 30} note: {index: 83} account: {index: 50} extension: index: 6 slicing: rules: closed discriminator: - {path: url, type: value} min: 1 slices: irrlaeufer: match: {url: null} schema: {type: Extension, short: Kennzeichen für Irrläuferrezepte, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Irrlaeufer', index: 7} min: 1 zusatzdatenHerstellung: match: {url: null} schema: {type: Extension, url: 'http://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_ZusatzdatenHerstellung', index: 8} min: 0 max: 99 contained: {index: 5} status: pattern: {type: code, value: issued} type: code index: 24 language: {index: 3} lineItem: label: Line Data short: Abrechnungszeile constraint: lineItemImportPZN-1: {human: 'Die PZN des Originals für Importe muss angegeben werden, wenn das Kennzeichen zum Import den Wert „1“ oder „2“ hat.', severity: error, expression: '(extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').exists() and ((extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').value as CodeableConcept).coding.code = ''1'' or (extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').value as CodeableConcept).coding.code = ''2'')) implies extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import_PZN'').exists()'} lineItemImportPZN-2: {human: 'Die PZN des Originals für Importe darf nur angegeben werden, wenn das Kennzeichen zum Import den Wert „1“ oder „2“ hat.', severity: error, expression: 'extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import_PZN'').exists() implies (extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').exists() and ((extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').value as CodeableConcept).coding.code = ''1'' or (extension(''https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import'').value as CodeableConcept).coding.code = ''2''))'} index: 51 extensions: positionstyp: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Positionstyp', min: 1, max: 1, type: Extension, short: Kennzeichen Positionstyp, index: 53} import: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import', min: 0, max: 1, type: Extension, index: 54} import_pzn: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import_PZN', min: 0, max: 1, type: Extension, index: 55} vatValue: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_VAT_VALUE', min: 1, max: 1, type: Extension, index: 56} elements: extension: array: true min: 2 index: 52 slicing: rules: closed discriminator: - {path: url, type: value} min: 2 slices: positionstyp: match: {url: null} schema: {type: Extension, short: Kennzeichen Positionstyp, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Positionstyp', index: 53} min: 1 max: 1 import: match: {url: null} schema: {type: Extension, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import', index: 54} min: 0 max: 1 import_pzn: match: {url: null} schema: {type: Extension, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Import_PZN', index: 55} min: 0 max: 1 vatValue: match: {url: null} schema: {type: Extension, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_VAT_VALUE', index: 56} min: 1 max: 1 sequence: {short: Zähler Abrechnungszeile, index: 57} chargeItem: choices: [chargeItemCodeableConcept] index: 59 chargeItemCodeableConcept: {type: CodeableConcept, choiceOf: chargeItem, index: 60} chargeItem[x]: elements: coding: index: 61 elements: system: pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor'} type: uri index: 62 version: {index: 63} code: short: un-encoded pattern: {type: code, value: UNC} type: code index: 64 display: {index: 65} userSelected: {index: 66} required: [code, system] text: {index: 67} required: [coding] priceComponent: short: Zu- und Abschläge index: 68 elements: type: short: surcharge | deduction constraint: surchargeOrDeduction: {human: Es sind nur die Kennzeichen "surcharge" (Zuschlag) oder "deduction" (Abschlag) zulässig., severity: error, expression: matches('^surcharge$') or matches('^deduction$')} index: 69 code: short: Zu-/Abschlag binding: {strength: required, valueSet: 'https://fhir.gkvsv.de/ValueSet/GKVSV_VS_ERP_ZuAbschlagKey'} index: 70 elements: coding: index: 71 elements: system: pattern: {type: uri, value: 'https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_ZuAbschlagKey'} type: uri index: 72 code: {short: Zu-/Abschlag, index: 73} userSelected: {index: 74} required: [code, system] text: {index: 75} required: [coding] factor: {index: 76} amount: type: Money short: Betrag Zu-/Abschlag index: 77 elements: value: {short: Betrag Zu-/Abschlag, index: 78} required: [amount, code] required: [sequence] identifier: array: true min: 2 max: 2 index: 9 slicing: rules: closed discriminator: - {path: system, type: value} min: 2 max: 2 slices: rezeptID: match: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} schema: short: Rezept-ID _required: true index: 10 elements: use: {index: 11} type: {index: 12} system: short: Rezept-Id pattern: {type: uri, value: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} type: uri index: 13 value: constraint: Rezept-ID-length: {human: Die Rezept-ID muss 22 Zeichen lang sein., severity: error, expression: length()=22} index: 14 period: {index: 15} assigner: {index: 16} required: [system, value] belegnummer: match: {system: 'https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Belegnummer'} schema: short: Eindeutige Belegnummer _required: true index: 17 elements: use: {index: 18} type: {index: 19} system: pattern: {type: uri, value: 'https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Belegnummer'} type: uri index: 20 value: short: Eindeutige Belegnummer constraint: Belegnummer-length: {human: Die eindeutige Belegnummer muss numerisch und 19 Zeichen lang sein., severity: error, expression: 'toString().matches(''^\\d{19}$'')'} index: 21 period: {index: 22} assigner: {index: 23} required: [system, value] issuer: short: Leistungserbringertyp und Apotheken-IK index: 31 extensions: sitzLE: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_LE_Sitz', min: 1, max: 1, type: Extension, index: 33} elements: extension: index: 32 slicing: rules: closed discriminator: - {path: url, type: value} min: 1 slices: sitzLE: match: {url: null} schema: {type: Extension, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_LE_Sitz', index: 33} min: 1 max: 1 reference: {index: 34} type: {index: 35} identifier: short: Leistungserbringertyp und Apotheken-IK index: 36 elements: use: {index: 37} type: binding: {strength: required, valueSet: 'https://fhir.gkvsv.de/ValueSet/GKVSV_VS_ERP_Leistungserbringertyp', bindingName: IdentifierType} index: 38 elements: coding: binding: {strength: required, valueSet: 'https://fhir.gkvsv.de/ValueSet/GKVSV_VS_ERP_Leistungserbringertyp'} index: 39 elements: system: pattern: {type: uri, value: 'https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_Leistungserbringertyp'} type: uri index: 40 version: {index: 41} code: {short: A | K | S, index: 42} userSelected: {index: 43} required: [code, system] text: {index: 44} required: [coding] system: pattern: {type: uri, value: 'http://fhir.de/sid/arge-ik/iknr'} type: uri index: 45 value: short: Apotheken-IK constraint: ApothekeIK-length: {human: Die IK der abrechnenden Apotheke muss 9 Zeichen lang und numerisch sein., severity: error, expression: 'toString().matches(''^\\d{9}$'')'} index: 46 period: {index: 47} assigner: {index: 48} required: [system, type, value] display: {index: 49} required: [extension, identifier] cancelledReason: {index: 25} paymentTerms: {index: 82} subject: {index: 27} text: {index: 4} package_version: 1.3.1 extensions: irrlaeufer: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_Irrlaeufer', min: 1, type: Extension, short: Kennzeichen für Irrläuferrezepte, index: 7} zusatzdatenHerstellung: {url: 'http://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_ZusatzdatenHerstellung', min: 0, max: 99, type: Extension, index: 8} class: profile kind: resource url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten base: http://hl7.org/fhir/StructureDefinition/Invoice version: '1.3' required: [extension, issuer, lineItem, meta]