PackagesCanonicalsLogsProblems
    Packages
    de.gematik.tiflow.chargeitem@2.0.0
    https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem
description: Abrechnungsinformationen einer Verordnung
package_name: de.gematik.tiflow.chargeitem
derivation: constraint
name: GEM_ERPCHRG_PR_ChargeItem
type: ChargeItem
elements:
  extension:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        markingFlag:
          match: {url: null}
          schema: {type: Extension, short: 'Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy', mustSupport: true, url: 'https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag', index: 1}
          min: 0
          max: 1
  identifier:
    index: 2
    slicing:
      rules: closed
      description: The task ressource contains three identifier. The first one is the identifier for the ask representing one e-prescription. The other identifier are representing the patient as owner of the prescription. One is the "Krankenversichertennummer" which identify each patient by his health insurance company and the other is "Institutionskennzeichen".
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        PrescriptionID:
          match: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'}
          schema:
            short: Prescription Identifier
            _required: true
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'}
                index: 4
              value: {index: 5}
            required: [value, system]
        AccessCode:
          match: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode'}
          schema:
            short: AccessCode Identifier
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode'}
                index: 7
              value: {index: 8}
            required: [value, system]
  status:
    pattern: {type: Code, value: billable}
    index: 9
  code:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
            index: 10
          code:
            pattern: {type: Code, value: not-applicable}
            index: 11
  subject:
    elements:
      identifier: {type: Identifier, index: 12}
    required: [identifier]
  enterer:
    short: Pharmacy that initially provided the Abgabedaten in ChargeItem
    index: 13
    elements:
      identifier: {type: Identifier, index: 14}
    required: [identifier]
  supportingInformation:
    mustSupport: true
    array: true
    max: 4
    index: 15
    slicing:
      rules: closed
      discriminator:
      - {path: display, type: value}
      min: null
      max: 4
      slices:
        prescriptionItemBundle:
          match: {display: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle'}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/Bundle']
            index: 16
            elements:
              display:
                pattern: {type: String, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle'}
                index: 17
            required: [display]
        dispenseItemBinary:
          match: {display: Binary}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
            index: 18
            elements:
              display:
                pattern: {type: String, value: Binary}
                index: 19
            required: [display]
        dispenseItemBundle:
          match: {display: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle'}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/Bundle']
            index: 20
            elements:
              display:
                pattern: {type: String, value: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle'}
                index: 21
            required: [display]
        receiptBundle:
          match: {display: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle'}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/Bundle']
            index: 22
            elements:
              display:
                pattern: {type: String, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle'}
                index: 23
            required: [display]
package_version: 2.0.0
extensions:
  markingFlag: {url: 'https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag', min: 0, max: 1, type: Extension, short: 'Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy', mustSupport: true, index: 1}
class: profile
kind: resource
url: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem
base: http://hl7.org/fhir/StructureDefinition/ChargeItem
version: 2.0.0
required: [identifier]