PackagesCanonicalsLogsProblems
    Packages
    de.abda.eRezeptAbgabedaten@1.0.0
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Abrechnungszeilen
description: null
package_name: de.abda.eRezeptAbgabedaten
derivation: constraint
name: DAV_PR_ERP_Abrechnungszeilen
type: Invoice
elements:
  date: {index: 6}
  meta: {type: Meta, index: 0}
  totalNet: {index: 39}
  recipient: {index: 5}
  totalPriceComponent: {index: 38}
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: Abrechnungszeilen, system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp'}
    index: 3
  totalGross:
    type: Money
    short: Bruttopreisangaben in Euro
    mustSupport: true
    index: 40
    extensions:
      Gesamtzuzahlung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', min: 1, type: Extension, index: 42}
    elements:
      extension:
        index: 41
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gesamtzuzahlung:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', index: 42}
              min: 1
      value: {short: Gesamt-Bruttopreis der Verordnung, mustSupport: true, index: 43}
  participant: {index: 7}
  note: {index: 45}
  account: {index: 9}
  status:
    mustSupport: true
    pattern: {type: Code, value: issued}
    index: 1
  lineItem:
    short: Abrechnungszeile
    mustSupport: true
    index: 10
    extensions:
      Zusatzattribut: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', type: Extension, mustSupport: true, index: 12}
    elements:
      extension:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Zusatzattribut:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', index: 12}
      sequence: {short: Zähler Abrechnungszeile, mustSupport: true, index: 13}
      chargeItem:
        mustSupport: true
        choices: [chargeItemCodeableConcept]
        index: 15
      chargeItemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: chargeItem, index: 16}
      chargeItem[x]:
        extensions:
          Chargenbezeichnung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Chargenbezeichnung', type: Extension, mustSupport: true, index: 18}
        elements:
          extension:
            index: 17
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Chargenbezeichnung:
                  match: {url: null}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Chargenbezeichnung', index: 18}
          coding:
            constraint:
              PR-Abrechnungszeilen-1: {human: Feldlänge muss 8 oder 10 sein., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Abrechnungszeilen', severity: error, expression: 'code.matches(''^\\S{8}(\\S{2})?$'')'}
            index: 19
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: 1
              max: 1
              slices:
                PZN:
                  match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                  schema:
                    short: PZN
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                    index: 20
                    elements:
                      system: {index: 21}
                      code: {index: 22}
                    required: [system, code]
                Sonderkennzeichen-TA1:
                  match: {system: 'http://TA1.abda.de'}
                  schema:
                    short: Vertraglich vereinbartes Sonderkennzeichen
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://TA1.abda.de'}
                    index: 23
                    elements:
                      system: {index: 24}
                      code: {index: 25}
                    required: [system, code]
                Hilfsmittelnummer:
                  match: {system: 'http://fhir.de/NamingSystem/gkv/hmnr'}
                  schema:
                    short: Hilfsmittelpositionsnummer
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/NamingSystem/gkv/hmnr'}
                    index: 26
                    elements:
                      system: {index: 27}
                      code: {index: 28}
                    required: [system, code]
          text: {index: 29}
        required: [coding]
      priceComponent:
        mustSupport: true
        index: 30
        extensions:
          MwSt-Satz: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', min: 1, type: Extension, mustSupport: true, index: 32}
          KostenVersicherter: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter', type: Extension, short: 'Kosten, die vom Versicherten getragen werden.', mustSupport: true, index: 33}
        elements:
          extension:
            index: 31
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                MwSt-Satz:
                  match: {url: null}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', index: 32}
                  min: 1
                KostenVersicherter:
                  match: {url: null}
                  schema: {type: Extension, short: 'Kosten, die vom Versicherten getragen werden.', mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter', index: 33}
          type:
            mustSupport: true
            pattern: {type: Code, value: informational}
            index: 34
          factor:
            short: Mengenfaktor
            constraint:
              PR-Abrechnungszeilen-2: {human: Faktor hatdie Feldänge 1..6, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Abrechnungszeilen', severity: error, expression: 'toString().matches(''^\\S{1,6}$'')'}
            mustSupport: true
            index: 35
          amount:
            type: Money
            mustSupport: true
            index: 36
            elements:
              value: {short: Gesamter Bruttopreis für eine Abrechnungszeile, index: 37}
        required: [factor, amount]
    required: [priceComponent, sequence]
  issuer: {index: 8}
  cancelledReason: {index: 2}
  paymentTerms: {index: 44}
  subject: {index: 4}
package_version: 1.0.0
class: profile
kind: resource
url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Abrechnungszeilen
base: http://hl7.org/fhir/StructureDefinition/Invoice
version: 1.0.0
required: [lineItem, totalGross, type, meta]