PackagesCanonicalsLogsProblems
    Packages
    de.abda.erezeptabgabedatenbasis@1.1.1
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung
description: null
package_name: de.abda.erezeptabgabedatenbasis
derivation: constraint
name: DAV_PR_Base_ZusatzdatenHerstellung
type: MedicationDispense
elements:
  category: {index: 15}
  whenHandedOver: {index: 61}
  whenPrepared: {short: Herstellungsdatum und Zeitpunkt der Herstellung, mustSupport: true, index: 60}
  eventHistory: {index: 68}
  meta: {type: Meta, mustSupport: true, index: 0}
  substitution: {index: 66}
  detectedIssue: {index: 67}
  medication[x]:
    elements:
      coding:
        mustSupport: true
        index: 19
        elements:
          system: {mustSupport: true, index: 20}
          version: {index: 21}
          code: {mustSupport: true, index: 22}
          display: {index: 23}
          userSelected: {index: 24}
        required: [system, code]
      text: {index: 25}
    required: [coding]
  implicitRules: {index: 1}
  medicationCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: not-applicable, system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
    choiceOf: medication
    index: 18
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: ZusatzdatenHerstellung, system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp'}
    index: 51
    elements:
      coding:
        mustSupport: true
        index: 52
        elements:
          system: {mustSupport: true, index: 53}
          version: {index: 54}
          code: {mustSupport: true, index: 55}
          display: {index: 56}
          userSelected: {index: 57}
  statusReason:
    choices: []
    index: 14
  note: {index: 64}
  extension:
    array: true
    min: 2
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        ZaehlerHerstellung:
          match: {url: null}
          schema:
            type: Extension
            short: Angabe des Zählers zur Kennzeichnung des Herstellungsvorgangs
            mustSupport: true
            url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zaehler
            index: 6
            elements:
              value:
                short: Zähler zur Kennzeichnung des Herstellungsvorgangs
                constraint:
                  PR-ZaehlerHerstellung-1: {human: Das Element ZusatzdatenHerstellung kann 0 bis 99 mal angegeben werden. Daher hat der Zähler einen Wertebereich von 1 bis 99., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung', severity: error, expression: 'toString().matches(''^\\d{1,2}$'')'}
                choices: []
                index: 8
        Einheit:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenEinheit', index: 9}
          min: 1
  contained: {index: 4}
  supportingInformation: {index: 28}
  status:
    pattern: {type: Code, value: completed}
    mustSupport: true
    index: 12
  language: {index: 2}
  dosageInstruction: {index: 65}
  daysSupply: {index: 59}
  identifier: {index: 10}
  context: {index: 27}
  quantity: {index: 58}
  partOf: {index: 11}
  location: {index: 49}
  authorizingPrescription: {index: 50}
  receiver: {index: 63}
  subject: {index: 26}
  destination: {index: 62}
  performer:
    mustSupport: true
    index: 29
    elements:
      function:
        short: Funktion der abrechnenden Apotheke
        binding: {strength: required, valueSet: 'http://fhir.abda.de/eRezeptAbgabedaten/ValueSet/DAV-VS-ERP-ZusatzdatenHerstellungHerstellerSchluessel'}
        mustSupport: true
        index: 30
        elements:
          coding:
            mustSupport: true
            index: 31
            elements:
              system: {mustSupport: true, index: 32}
              version: {index: 33}
              code: {short: 'Information, ob die abrechnende Apotheke auch Hersteller ist', mustSupport: true, index: 34}
              display: {index: 35}
              userSelected: {index: 36}
            required: [system, code]
          text: {index: 37}
        required: [coding]
      actor:
        mustSupport: true
        index: 38
        elements:
          reference: {index: 39}
          type: {index: 40}
          identifier:
            type: Identifier
            short: Kennzeichen des Herstellenden
            mustSupport: true
            index: 41
            elements:
              use: {index: 42}
              type: {index: 43}
              system: {mustSupport: true, index: 44}
              value: {mustSupport: true, index: 45}
              period: {index: 46}
              assigner: {index: 47}
            required: [value, system]
          display: {index: 48}
        required: [identifier]
    required: [function]
  medication:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: not-applicable, system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
    choices: [medicationCodeableConcept]
    index: 17
  text: {index: 3}
package_version: 1.1.1
extensions:
  ZaehlerHerstellung:
    url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zaehler
    type: Extension
    short: Angabe des Zählers zur Kennzeichnung des Herstellungsvorgangs
    mustSupport: true
    index: 6
    elements:
      value:
        short: Zähler zur Kennzeichnung des Herstellungsvorgangs
        constraint:
          PR-ZaehlerHerstellung-1: {human: Das Element ZusatzdatenHerstellung kann 0 bis 99 mal angegeben werden. Daher hat der Zähler einen Wertebereich von 1 bis 99., source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung', severity: error, expression: 'toString().matches(''^\\d{1,2}$'')'}
        choices: []
        index: 8
  Einheit: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-ZusatzdatenEinheit', min: 1, type: Extension, mustSupport: true, index: 9}
class: profile
kind: resource
url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung
base: http://hl7.org/fhir/StructureDefinition/MedicationDispense
version: 1.1.1
required: [whenPrepared, type, meta, performer]