PackagesCanonicalsLogsProblems
    Packages
    de.abda.eRezeptAbgabedaten@1.0.0
    http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen
description: null
package_name: de.abda.eRezeptAbgabedaten
derivation: constraint
name: DAV_PR_ERP_Abgabeinformationen
type: MedicationDispense
elements:
  category: {index: 9}
  whenHandedOver:
    short: Abgabedatum
    constraint:
      EX-Abgabeinformationen-1: {human: 'Wert muss ein Datum in der Form: YYYY-MM-DD sein.', source: 'http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen', severity: error, expression: 'matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?$'')'}
    mustSupport: true
    index: 33
  whenPrepared: {index: 32}
  eventHistory: {index: 43}
  meta: {type: Meta, index: 0}
  substitution:
    mustSupport: true
    index: 38
    extensions:
      Rezeptaenderungen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung', type: Extension, index: 40}
    elements:
      extension:
        index: 39
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Rezeptaenderungen:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung', index: 40}
      wasSubstituted:
        mustSupport: true
        pattern: {type: Boolean, value: true}
        index: 41
  detectedIssue: {index: 42}
  medication[x]:
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
            index: 13
          code:
            pattern: {type: Code, value: not-applicable}
            index: 14
  medicationCodeableConcept: {type: CodeableConcept, choiceOf: medication, index: 12}
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: Abgabeinformationen, system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp'}
    index: 29
  statusReason:
    choices: []
    index: 8
  note: {index: 36}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Vertragskennzeichen:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Vertragskennzeichen', index: 2}
        Abrechnungszeilen:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen', index: 3}
        ZusatzdatenHerstellung:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung', index: 4}
  supportingInformation: {index: 17}
  status:
    pattern: {type: Code, value: completed}
    index: 6
  dosageInstruction: {index: 37}
  daysSupply: {index: 31}
  context: {index: 16}
  quantity: {index: 30}
  partOf: {index: 5}
  location: {index: 23}
  authorizingPrescription:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription']
    index: 24
    elements:
      reference: {index: 25}
      identifier:
        mustSupport: true
        pattern:
          type: Identifier
          value: {system: 'http://gematik.de/fhir/Namingsystem/prescriptionID'}
        index: 26
        elements:
          system:
            pattern: {type: Uri, value: 'http://gematik.de/fhir/Namingsystem/prescriptionID'}
            index: 27
          value: {short: Rezept-ID, index: 28}
        required: [value, system]
    required: [identifier]
  receiver: {index: 35}
  subject: {index: 15}
  destination: {index: 34}
  performer:
    short: Apotheke
    mustSupport: true
    index: 18
    elements:
      function: {index: 19}
      actor:
        type: Reference
        mustSupport: true
        refers: ['http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-Apotheke']
        index: 20
        elements:
          reference: {index: 21}
          identifier: {index: 22}
        required: [reference]
  medication:
    choices: [medicationCodeableConcept]
    index: 11
package_version: 1.0.0
extensions:
  Vertragskennzeichen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Vertragskennzeichen', type: Extension, mustSupport: true, index: 2}
  Abrechnungszeilen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen', type: Extension, mustSupport: true, index: 3}
  ZusatzdatenHerstellung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung', type: Extension, mustSupport: true, index: 4}
class: profile
kind: resource
url: http://fhir.abda.de/eRezeptAbgabadaten/StructureDefinition/DAV-PR-ERP-Abgabeinformationen
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.0.0
required: [authorizingPrescription, whenHandedOver, type, meta, performer]