PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedatenbasis@1.2.0-rc
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen
description: null
package_name: de.abda.erezeptabgabedatenbasis
derivation: constraint
name: DAV_PR_Base_Abrechnungszeilen
type: Invoice
elements:
  date: {index: 11}
  meta: {type: Meta, mustSupport: true, index: 0}
  totalNet: {index: 53}
  implicitRules: {index: 1}
  recipient: {index: 10}
  totalPriceComponent: {index: 52}
  type:
    mustSupport: true
    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
    mustSupport: true
    index: 54
    extensions:
      Gesamtzuzahlung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', min: 1, type: Extension, index: 56}
    elements:
      extension:
        index: 55
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            Gesamtzuzahlung:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung', index: 56}
              min: 1
      value: {short: Gesamt-Bruttopreis der Verordnung, index: 57}
    required: [extension]
  participant: {index: 12}
  note: {index: 59}
  account: {index: 14}
  contained: {index: 4}
  status:
    mustSupport: true
    pattern: {type: Code, value: issued}
    index: 6
  language: {index: 2}
  lineItem:
    short: Abrechnungszeile
    mustSupport: true
    index: 15
    extensions:
      Zusatzattribute: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', min: 0, max: 1, type: Extension, mustSupport: true, index: 17}
      Chargenbezeichnung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Chargenbezeichnung', min: 0, type: Extension, mustSupport: true, index: 18}
    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}
              min: 0
              max: 1
            Chargenbezeichnung:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Chargenbezeichnung', index: 18}
              min: 0
      sequence: {short: Zähler Abrechnungszeile, mustSupport: true, index: 19}
      chargeItem:
        mustSupport: true
        choices: [chargeItemCodeableConcept]
        index: 21
      chargeItemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: chargeItem, index: 22}
      chargeItem[x]:
        elements:
          coding:
            constraint:
              PR-Abrechnungszeilen-1: {human: Feldlänge muss 8 oder 10 sein., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen', severity: error, expression: 'code.matches(''^\\S{8}(\\S{2})?$'')'}
            index: 23
            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: 24
                    elements:
                      system: {mustSupport: true, index: 25}
                      version: {index: 26}
                      code: {mustSupport: true, index: 27}
                      display: {index: 28}
                      userSelected: {index: 29}
                    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: 30
                    elements:
                      system: {mustSupport: true, index: 31}
                      version: {index: 32}
                      code: {mustSupport: true, index: 33}
                      display: {index: 34}
                      userSelected: {index: 35}
                    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: 36
                    elements:
                      system: {mustSupport: true, index: 37}
                      version: {index: 38}
                      code: {mustSupport: true, index: 39}
                      display: {index: 40}
                      userSelected: {index: 41}
                    required: [system, code]
          text: {index: 42}
        required: [coding]
      priceComponent:
        mustSupport: true
        index: 43
        extensions:
          MwSt-Satz: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', min: 1, type: Extension, index: 45}
          KostenVersicherter: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter', min: 1, type: Extension, short: 'Kosten, die vom Versicherten getragen werden.', mustSupport: true, index: 46}
        elements:
          extension:
            array: true
            min: 2
            index: 44
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 2
              slices:
                MwSt-Satz:
                  match: {url: null}
                  schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz', index: 45}
                  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: 46}
                  min: 1
          type:
            mustSupport: true
            pattern: {type: Code, value: informational}
            index: 47
          code: {index: 48}
          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}$'')'}
            mustSupport: true
            index: 49
          amount:
            type: Money
            mustSupport: true
            index: 50
            elements:
              value: {short: Gesamter Bruttopreis für eine Abrechnungszeile, index: 51}
        required: [factor, amount]
    required: [priceComponent, sequence]
  identifier: {index: 5}
  issuer: {index: 13}
  cancelledReason: {index: 7}
  paymentTerms: {index: 58}
  subject: {index: 9}
  text: {index: 3}
package_version: 1.2.0-rc
class: profile
kind: resource
url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abrechnungszeilen
base: http://hl7.org/fhir/StructureDefinition/Invoice
version: 1.2.0-rc
required: [lineItem, totalGross, type, meta]