PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedatenbasis@1.4.1
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen
description: null
package_name: de.abda.erezeptabgabedatenbasis
derivation: constraint
name: DAV_PR_Base_Abgabeinformationen
type: MedicationDispense
elements:
  category: {index: 14}
  whenHandedOver:
    short: Abgabedatum
    constraint:
      EX-Abgabeinformationen-1: {human: 'Wert muss ein Datum in der Form: YYYY-MM-DD sein.', source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen', severity: error, expression: toString().length()=10}
    index: 58
  whenPrepared: {index: 57}
  eventHistory: {index: 71}
  meta: {type: Meta, index: 0}
  substitution:
    mustSupport: true
    index: 63
    extensions:
      Rezeptaenderungen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung', min: 1, type: Extension, index: 65}
    elements:
      extension:
        index: 64
        slicing:
          rules: closed
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            Rezeptaenderungen:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung', index: 65}
              min: 1
      wasSubstituted:
        pattern: {type: Boolean, value: true}
        index: 66
      type: {index: 67}
      reason: {index: 68}
      responsibleParty: {index: 69}
    required: [extension]
  detectedIssue: {index: 70}
  medication[x]:
    elements:
      coding:
        mustSupport: true
        index: 18
        elements:
          system: {mustSupport: true, index: 19}
          version: {index: 20}
          code: {mustSupport: true, index: 21}
          display: {index: 22}
          userSelected: {index: 23}
        required: [system, code]
      text: {index: 24}
    required: [coding]
  implicitRules: {index: 1}
  medicationCodeableConcept:
    type: CodeableConcept
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: not-applicable, system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
    choiceOf: medication
    index: 17
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: Abgabeinformationen, system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp'}
    index: 47
    elements:
      coding:
        index: 48
        elements:
          system: {index: 49}
          version: {index: 50}
          code: {index: 51}
          display: {index: 52}
          userSelected: {index: 53}
        required: [system, code]
      text: {index: 54}
    required: [coding]
  statusReason:
    choices: []
    index: 13
  note: {index: 61}
  extension:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        Vertragskennzeichen:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Vertragskennzeichen', index: 6}
        Abrechnungszeilen:
          match: {url: null}
          schema: {type: Extension, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen', index: 7}
          min: 1
        ZusatzdatenHerstellung:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung', index: 8}
  contained: {index: 4}
  supportingInformation: {index: 27}
  status:
    pattern: {type: Code, value: completed}
    index: 11
  language: {index: 2}
  dosageInstruction: {index: 62}
  daysSupply: {index: 56}
  identifier: {index: 9}
  context: {index: 26}
  quantity: {index: 55}
  partOf: {index: 10}
  location: {index: 35}
  authorizingPrescription:
    type: Reference
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription']
    index: 36
    elements:
      reference: {index: 37}
      type: {index: 38}
      identifier:
        index: 39
        elements:
          use: {index: 40}
          type: {index: 41}
          system:
            pattern: {type: Uri, value: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'}
            index: 42
          value: {short: Rezept-ID, index: 43}
          period: {index: 44}
          assigner: {index: 45}
        required: [value, system]
      display: {index: 46}
    required: [identifier]
  receiver: {index: 60}
  subject: {index: 25}
  destination: {index: 59}
  performer:
    short: Apotheke
    index: 28
    elements:
      function: {index: 29}
      actor:
        type: Reference
        refers: ['http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Apotheke']
        index: 30
        elements:
          reference: {index: 31}
          type: {index: 32}
          identifier: {index: 33}
          display: {index: 34}
        required: [reference]
  medication:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: not-applicable, system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
    choices: [medicationCodeableConcept]
    index: 16
  text: {index: 3}
package_version: 1.4.1
extensions:
  Vertragskennzeichen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Vertragskennzeichen', type: Extension, mustSupport: true, index: 6}
  Abrechnungszeilen: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen', min: 1, type: Extension, index: 7}
  ZusatzdatenHerstellung: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenHerstellung', type: Extension, mustSupport: true, index: 8}
class: profile
kind: resource
url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-Abgabeinformationen
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: '1.4'
required: [authorizingPrescription, extension, whenHandedOver, type, meta, performer]