description: null package_name: de.abda.erezeptabgabedatenbasis derivation: constraint name: DAV_PR_Base_ZusatzdatenHerstellung type: MedicationDispense elements: category: {index: 15} whenHandedOver: {index: 55} whenPrepared: {short: Herstellungsdatum und Zeitpunkt der Herstellung, mustSupport: true, index: 54} eventHistory: {index: 62} meta: {type: Meta, mustSupport: true, index: 0} substitution: {index: 60} detectedIssue: {index: 61} 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: 45 elements: coding: mustSupport: true index: 46 elements: system: {mustSupport: true, index: 47} version: {index: 48} code: {mustSupport: true, index: 49} display: {index: 50} userSelected: {index: 51} statusReason: choices: [] index: 14 note: {index: 58} 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: 59} daysSupply: {index: 53} identifier: {index: 10} context: {index: 27} quantity: {index: 52} partOf: {index: 11} location: {index: 43} authorizingPrescription: {index: 44} receiver: {index: 57} subject: {index: 26} destination: {index: 56} 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: short: Kennzeichen des Herstellenden constraint: PR-ZusatzdatenHerstellung-1: {human: 'Die Angabe des Identifiers für den Herstellerschlüssel muss dem Profil http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-DAVHerstellerSchluessel oder http://fhir.de/StructureDefinition/identifier-iknr entsprechen.', source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung', severity: error, expression: 'conformsTo("http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-DAVHerstellerSchluessel") or conformsTo("http://fhir.de/StructureDefinition/identifier-iknr")'} PR-ZusatzdatenHerstellung-2: {human: 'Wenn der Herstellerschlüssel als IK-Nummer angegeben wird, muss die Angabe 9-stellig inklusive Prüfziffer erfolgen.', source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-Base-ZusatzdatenHerstellung', severity: error, expression: 'conformsTo("http://fhir.de/StructureDefinition/identifier-iknr") implies value.matches(''[0-9]{9}'')'} mustSupport: true index: 41 display: {index: 42} 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.2.0-rc 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.2.0-rc required: [whenPrepared, type, meta, performer]