description: null package_name: rs/KBV.ITA.ERP derivation: constraint name: KBV_PR_ERP_Medication_Compounding type: Medication elements: amount: mustSupport: true index: 49 elements: numerator: constraint: -erp-begrenzungValue: {human: Die Gesamtmange der Rezeptur darf aus maximal 7 Zeichen bestehen., source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: value.toString().length()<=7} -erp-codeUndSystem: {human: 'Wenn ein Code eingegeben ist, muss auch das System hinterlegt sein.', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: code.exists() implies system.exists()} mustSupport: true index: 50 elements: value: {short: Gesamtmenge der Rezeptur, mustSupport: true, index: 51} comparator: {index: 52} unit: {short: Einheit der Gesamtmenge, maxLength: 12, mustSupport: true, index: 53} system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} mustSupport: false type: uri index: 54 code: {short: Einheit der Gesamtmenge (kodiert), mustSupport: false, index: 55} required: [unit, value] denominator: mustSupport: true index: 56 elements: value: mustSupport: true pattern: {type: decimal, value: 1} type: decimal index: 57 comparator: {index: 58} unit: {index: 59} system: {index: 60} code: {index: 61} required: [value] required: [denominator, numerator] meta: mustSupport: true index: 1 elements: versionId: {index: 2} lastUpdated: {index: 3} source: {index: 4} profile: mustSupport: true pattern: {type: canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.0.1'} type: canonical index: 5 security: {index: 6} tag: {index: 7} required: [profile] implicitRules: {index: 8} extension: index: 12 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: kategorie: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category index: 13 elements: value: mustSupport: true choices: [] index: 15 slicing: slices: valueCoding: match: {} schema: mustSupport: true choices: [] index: 17 value[x]: elements: system: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} impfstoff: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine index: 20 elements: value: mustSupport: true choices: [] index: 22 slicing: slices: valueBoolean: match: {} schema: mustSupport: true choices: [] index: 24 herstellungsanweisung: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction index: 25 elements: value: mustSupport: true choices: [] index: 27 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 29 verpackung: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging index: 30 elements: value: mustSupport: true choices: [] index: 32 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 34 contained: {index: 11} ingredient: mustSupport: true index: 62 extensions: darreichungform: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form type: Extension mustSupport: true index: 64 elements: value: mustSupport: true choices: [] index: 66 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 68 elements: extension: index: 63 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: darreichungform: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form index: 64 elements: value: mustSupport: true choices: [] index: 66 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 68 item: mustSupport: true choices: [itemCodeableConcept] index: 73 slicing: slices: itemCodeableConcept: match: {} schema: mustSupport: true choices: [itemCodeableConcept] _required: true index: 73 min: 1 itemCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: item index: 74 slicing: slices: itemCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: item, _required: true, index: 74} min: 1 item[x]: elements: coding: mustSupport: true index: 75 elements: system: pattern: {type: uri, value: 'http://fhir.de/CodeSystem/ifa/pzn'} mustSupport: true type: uri index: 76 version: {index: 77} code: {short: PZN des Bestandteils, mustSupport: true, index: 78} display: {index: 79} userSelected: {index: 80} required: [code, system] text: {short: Name des Bestandteils, maxLength: 60, mustSupport: true, index: 81} required: [text] isActive: {index: 82} strength: constraint: -erp-numeratorOderFreitext: {human: 'Entweder ist die Menge des Bestandteils durch "numerator" oder als Freitext (extension(''https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount'')) anzugeben.', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: 'extension(''https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount'').exists() xor numerator.exists()'} mustSupport: true index: 83 extensions: mengeFreitext: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount type: Extension mustSupport: true index: 85 elements: value: mustSupport: true choices: [] index: 87 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 89 elements: extension: index: 84 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: mengeFreitext: match: {url: null} schema: type: Extension mustSupport: true url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount index: 85 elements: value: mustSupport: true choices: [] index: 87 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 89 numerator: constraint: -erp-begrenzungValue: {human: Die Menge eines Bestandteils einer Rezeptur darf aus maximal 15 Zeichen bestehen., source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: value.toString().length() <= 15} -erp-codeUndSystem: {human: 'Wenn ein Code eingegeben ist, muss auch das System hinterlegt sein.', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: code.exists() implies system.exists()} mustSupport: true index: 90 elements: value: {short: Menge des Bestandteils, mustSupport: true, index: 91} comparator: {index: 92} unit: {short: Einheit des Bestandteils, maxLength: 15, mustSupport: true, index: 93} system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} mustSupport: false type: uri index: 94 code: {short: Einheit des Bestandteils kodierte, mustSupport: false, index: 95} required: [unit, value] denominator: mustSupport: true index: 96 elements: value: mustSupport: true pattern: {type: decimal, value: 1} type: decimal index: 97 comparator: {index: 98} unit: {index: 99} system: {index: 100} code: {index: 101} required: [value] required: [item, itemCodeableConcept, strength] status: {index: 44} language: {index: 9} id: {mustSupport: true, index: 0} code: mustSupport: true index: 36 elements: coding: mustSupport: true index: 37 elements: system: pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'} mustSupport: true type: uri index: 38 version: {index: 39} code: short: Kennzeichnung Rezepturverordnung pattern: {type: code, value: rezeptur} mustSupport: true type: code index: 40 display: {index: 41} userSelected: {index: 42} required: [code, system] text: {short: Rezepturname, maxLength: 70, mustSupport: true, index: 43} required: [coding] identifier: {index: 35} manufacturer: {index: 45} form: mustSupport: true index: 46 elements: coding: {index: 47} text: {short: Darreichungsform Freitext, maxLength: 30, mustSupport: true, index: 48} required: [text] text: {index: 10} package_version: 1.0.1 extensions: kategorie: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category type: Extension mustSupport: true index: 13 elements: value: mustSupport: true choices: [] index: 15 slicing: slices: valueCoding: match: {} schema: mustSupport: true choices: [] index: 17 value[x]: elements: system: {mustSupport: true, index: 18} code: {mustSupport: true, index: 19} impfstoff: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine type: Extension mustSupport: true index: 20 elements: value: mustSupport: true choices: [] index: 22 slicing: slices: valueBoolean: match: {} schema: mustSupport: true choices: [] index: 24 herstellungsanweisung: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction type: Extension mustSupport: true index: 25 elements: value: mustSupport: true choices: [] index: 27 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 29 verpackung: url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging type: Extension mustSupport: true index: 30 elements: value: mustSupport: true choices: [] index: 32 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [] index: 34 class: profile kind: resource url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.0.1 required: [amount, code, form, id, ingredient, meta]