description: null package_name: de.abda.erezeptabgabedatenbasis derivation: constraint name: DAV_PR_Base_Abrechnungszeilen type: Invoice elements: date: {index: 11} meta: {type: Meta, index: 0} totalNet: {index: 51} implicitRules: {index: 1} recipient: {index: 10} totalPriceComponent: {index: 50} type: pattern: type: CodeableConcept value: coding: - {code: Abrechnungszeilen, system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp'} index: 8 totalGross: type: Money short: Bruttopreisangaben in Euro index: 52 extensions: Gesamtzuzahlung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', min: 1, type: Extension, index: 54} elements: extension: index: 53 slicing: rules: closed discriminator: - {path: url, type: value} min: 1 max: 1 slices: Gesamtzuzahlung: match: {url: null} schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', index: 54} min: 1 value: {short: Gesamt-Bruttopreis der Verordnung, index: 55} required: [extension] participant: {index: 12} note: {index: 57} account: {index: 14} contained: {index: 4} status: pattern: {type: Code, value: issued} index: 6 language: {index: 2} lineItem: short: Abrechnungszeile constraint: PR-NOCTU: {human: Angabe der NOCTU SOK und ZusatzattributAbgabeNoctu nur in Verbindung., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: '(extension(''http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute'').extension(''ZusatzattributAbgabeNoctu'').exists() implies (chargeItemCodeableConcept.coding.system = ''http://TA1.abda.de'' and chargeItemCodeableConcept.coding.code = ''02567018'')) and ((chargeItemCodeableConcept.coding.system = ''http://TA1.abda.de'' and chargeItemCodeableConcept.coding.code = ''02567018'') implies extension(''http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute'').extension(''ZusatzattributAbgabeNoctu'').exists())'} index: 15 extensions: Zusatzattribute: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', max: 1, type: Extension, mustSupport: true, index: 17} elements: extension: index: 16 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: Zusatzattribute: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', index: 17} max: 1 sequence: {short: Zähler Abrechnungszeile, index: 18} chargeItem: choices: [chargeItemCodeableConcept] index: 20 chargeItemCodeableConcept: {type: CodeableConcept, choiceOf: chargeItem, index: 21} chargeItem[x]: elements: coding: index: 22 slicing: rules: closed discriminator: - {path: $this, type: pattern} min: 1 max: 1 slices: PZN: match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} schema: constraint: PR-Abrechnungszeilen-PZN: {human: Feldlänge muss numerisch 8 sein., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: 'code.matches(''^\\d{8}$'')'} short: PZN mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} index: 23 elements: system: {mustSupport: true, index: 24} version: {index: 25} code: {mustSupport: true, index: 26} display: {index: 27} userSelected: {index: 28} required: [system, code] Sonderkennzeichen-TA1: match: {system: 'http://TA1.abda.de'} schema: constraint: PR-Abrechnungszeilen-SOK: {human: Feldlänge muss numerisch 8 sein., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: 'code.matches(''^\\d{8}$'')'} short: Vertraglich vereinbartes Sonderkennzeichen mustSupport: true pattern: type: Coding value: {system: 'http://TA1.abda.de'} index: 29 elements: system: {mustSupport: true, index: 30} version: {index: 31} code: {mustSupport: true, index: 32} display: {index: 33} userSelected: {index: 34} required: [system, code] Hilfsmittelnummer: match: {system: 'http://fhir.de/sid/gkv/hmnr'} schema: constraint: PR-Abrechnungszeilen-HMNR: {human: Feldlänge muss numerisch 10 sein., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: 'code.matches(''^\\d{10}$'')'} short: Hilfsmittelpositionsnummer mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/sid/gkv/hmnr'} index: 35 elements: system: {mustSupport: true, index: 36} version: {index: 37} code: {mustSupport: true, index: 38} display: {index: 39} userSelected: {index: 40} required: [system, code] required: [coding] priceComponent: index: 41 extensions: MwSt-Satz: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', min: 1, type: Extension, index: 43} KostenVersicherter: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter', min: 1, type: Extension, short: 'Kosten, die vom Versicherten getragen werden.', index: 44} elements: extension: array: true min: 2 max: 4 index: 42 slicing: rules: closed discriminator: - {path: url, type: value} min: 2 max: 4 slices: MwSt-Satz: match: {url: null} schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', index: 43} min: 1 KostenVersicherter: match: {url: null} schema: {type: Extension, short: 'Kosten, die vom Versicherten getragen werden.', url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter', index: 44} min: 1 type: pattern: {type: Code, value: informational} index: 45 code: {index: 46} factor: short: Mengenfaktor constraint: PR-Abrechnungszeilen-2: {human: Faktor hat die Feldänge 1..6, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: 'toString().matches(''^\\d{1,6}$'')'} index: 47 amount: type: Money index: 48 elements: value: {short: Gesamter Bruttopreis für eine Abrechnungszeile, index: 49} required: [factor, amount] required: [priceComponent, sequence] identifier: {index: 5} issuer: {index: 13} cancelledReason: {index: 7} paymentTerms: {index: 56} subject: {index: 9} text: {index: 3} package_version: 1.4.1 class: profile kind: resource url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen base: http://hl7.org/fhir/StructureDefinition/Invoice version: '1.4' required: [lineItem, totalGross, type, meta]