description: Defines the medication resource for a PZN ingredient of a compounding medication for the Medication Service in the ePA system. These profiles are intended to inherit from EPAMedication, but due to tooling issues, this inheritance cannot currently be implemented. package_name: rs/de.gematik.epa.medication derivation: constraint name: EPAMedicationPZNIngredient type: Medication elements: amount: mustSupport: true index: 71 elements: numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 72 extensions: packagingSize: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension type: Extension index: 73 elements: value: mustSupport: true choices: [] index: 75 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 77 valueString: type: string mustSupport: true choiceOf: value index: 78 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 78} totalQuantity: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension type: Extension index: 79 elements: value: mustSupport: true choices: [] index: 81 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 83 valueString: type: string mustSupport: true choiceOf: value index: 84 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 84} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 73 slicing: slices: packagingSize: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 73 elements: value: mustSupport: true choices: [] index: 75 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 77 valueString: type: string mustSupport: true choiceOf: value index: 78 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 78} totalQuantity: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension index: 79 elements: value: mustSupport: true choices: [] index: 81 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 83 valueString: type: string mustSupport: true choiceOf: value index: 84 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 84} value: {mustSupport: true, index: 85} unit: {mustSupport: true, index: 86} system: {mustSupport: true, index: 87} code: {mustSupport: true, index: 88} denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 89 elements: value: {mustSupport: true, index: 90} unit: {mustSupport: true, index: 91} system: {mustSupport: true, index: 92} code: {mustSupport: true, index: 93} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} batch: short: Batch Information index: 138 elements: lotNumber: {short: Batch Number, mustSupport: true, index: 139} extension: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension index: 4 slicing: slices: rxPrescriptionProcessIdentifier: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 4} min: 0 max: 1 isVaccine: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension index: 5 elements: value: mustSupport: true choices: [valueBoolean] index: 7 slicing: slices: valueBoolean: match: {} schema: mustSupport: true choices: [valueBoolean] index: 7 valueBoolean: type: boolean mustSupport: true choiceOf: value index: 8 slicing: slices: valueBoolean: match: {} schema: {type: boolean, mustSupport: true, choiceOf: value, index: 8} drugCategory: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension index: 9 elements: value: mustSupport: true choices: [valueCoding] index: 11 slicing: slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] index: 11 valueCoding: type: Coding mustSupport: true choiceOf: value index: 12 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, index: 12} value[x]: elements: system: {mustSupport: true, index: 13} code: {mustSupport: true, index: 14} normSizeCode: match: {} schema: short: Package size according to N-designation type: Extension mustSupport: true url: http://fhir.de/StructureDefinition/normgroesse index: 15 elements: value: mustSupport: true choices: [] index: 17 packaging: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension index: 18 elements: value: mustSupport: true choices: [valueString] index: 20 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 20 valueString: type: string mustSupport: true choiceOf: value index: 21 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 21} manufacturingInstructions: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension index: 22 elements: value: mustSupport: true choices: [valueString] index: 24 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 24 valueString: type: string mustSupport: true choiceOf: value index: 25 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 25} type: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension index: 26 elements: value: choices: [] index: 28 contained: {index: 3} ingredient: short: Information on Components (Rezeptur) mustSupport: true index: 94 extensions: darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 95} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension index: 95 slicing: slices: darreichungsform: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 95} min: 0 max: 1 item: short: EPA Medication Ingredients can't have child Medications mustSupport: true choices: [itemReference] index: 118 slicing: slices: itemReference: match: {} schema: short: EPA Medication Ingredients can't have child Medications mustSupport: true choices: [itemReference] index: 118 min: 0 max: 0 itemCodeableConcept: short: Component in coded form or, if necessary, as free text type: CodeableConcept mustSupport: true choiceOf: item index: 100 slicing: slices: itemCodeableConcept: match: {} schema: {short: 'Component in coded form or, if necessary, as free text', type: CodeableConcept, mustSupport: true, choiceOf: item, index: 100} min: 0 max: 1 item[x]: elements: coding: mustSupport: true index: 101 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: ask: match: {system: 'http://fhir.de/CodeSystem/ask'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ask'} array: true type: Coding index: 102 elements: system: {mustSupport: true, index: 103} code: {mustSupport: true, index: 104} display: {mustSupport: true, index: 105} required: [code, system] atc-de: match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'} array: true type: Coding index: 106 elements: system: {mustSupport: true, index: 107} code: {mustSupport: true, index: 108} display: {mustSupport: true, index: 109} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 110 elements: system: {mustSupport: true, index: 111} version: {mustSupport: true, index: 112} code: {mustSupport: true, index: 113} display: {mustSupport: true, index: 114} required: [code, system] pzn: match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} schema: pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} type: Coding index: 115 min: 0 max: 0 text: {mustSupport: true, index: 116} itemReference: short: EPA Medication Ingredients can't have child Medications refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 119 slicing: slices: itemReference: match: {} schema: short: EPA Medication Ingredients can't have child Medications refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 119 min: 0 max: 0 isActive: {short: 'Is it an active ingredient?', index: 120} strength: short: Strength mustSupport: true index: 121 extensions: amountText: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension type: Extension index: 122 elements: value: mustSupport: true choices: [] index: 124 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 126 valueString: type: string mustSupport: true choiceOf: value index: 127 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 127} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 122 slicing: slices: amountText: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 122 elements: value: mustSupport: true choices: [] index: 124 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 126 valueString: type: string mustSupport: true choiceOf: value index: 127 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 127} numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 128 elements: value: {mustSupport: true, index: 129} unit: {mustSupport: true, index: 130} system: {mustSupport: true, index: 131} code: {mustSupport: true, index: 132} required: [code, system, value] denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 133 elements: value: {mustSupport: true, index: 134} unit: {mustSupport: true, index: 135} system: {mustSupport: true, index: 136} code: {mustSupport: true, index: 137} required: [code, system, value] required: [numerator] status: {short: Status of Medication Information, mustSupport: true, index: 53} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 32 elements: coding: mustSupport: true index: 33 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: pzn: match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} _required: true type: Coding index: 34 elements: system: {mustSupport: true, index: 35} version: {mustSupport: true, index: 36} code: {mustSupport: true, index: 37} display: {mustSupport: true, index: 38} required: [code, system] atc-de: match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'} array: true type: Coding index: 39 elements: system: {mustSupport: true, index: 40} code: {mustSupport: true, index: 41} display: {mustSupport: true, index: 42} required: [code, system] ask: match: {system: 'http://fhir.de/CodeSystem/ask'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ask'} array: true type: Coding index: 43 elements: system: {mustSupport: true, index: 44} code: {mustSupport: true, index: 45} display: {mustSupport: true, index: 46} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 47 elements: system: {mustSupport: true, index: 48} version: {mustSupport: true, index: 49} code: {mustSupport: true, index: 50} display: {mustSupport: true, index: 51} required: [code, system] text: {mustSupport: true, index: 52} required: [coding] identifier: index: 29 slicing: rules: open ordered: false discriminator: - {path: $this, type: pattern} min: null slices: EPAMedicationUniqueIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier'} index: 30 min: 0 max: 1 RxOriginatorProcessIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} index: 31 min: 0 max: 1 manufacturer: short: Manufacturer of the Medication mustSupport: true index: 54 elements: display: {mustSupport: true, index: 55} required: [display] form: short: Form of Dispensing mustSupport: true index: 56 elements: coding: mustSupport: true index: 57 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: edqm: match: {system: 'http://standardterms.edqm.eu'} schema: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'} mustSupport: true pattern: type: Coding value: {system: 'http://standardterms.edqm.eu'} array: true type: Coding index: 58 elements: system: {mustSupport: true, index: 59} code: {mustSupport: true, index: 60} display: {mustSupport: true, index: 61} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 62 elements: system: {mustSupport: true, index: 63} version: {mustSupport: true, index: 64} code: {mustSupport: true, index: 65} display: {mustSupport: true, index: 66} required: [code, system] kbvDarreichungsform: match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} schema: binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM'} mustSupport: true pattern: type: Coding value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} array: true type: Coding index: 67 elements: system: {mustSupport: true, index: 68} code: {mustSupport: true, index: 69} display: {mustSupport: true, index: 70} required: [code, system] package_version: 1.0.3 extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 4} isVaccine: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension type: Extension mustSupport: true index: 5 elements: value: mustSupport: true choices: [valueBoolean] index: 7 slicing: slices: valueBoolean: match: {} schema: mustSupport: true choices: [valueBoolean] index: 7 valueBoolean: type: boolean mustSupport: true choiceOf: value index: 8 slicing: slices: valueBoolean: match: {} schema: {type: boolean, mustSupport: true, choiceOf: value, index: 8} drugCategory: url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension type: Extension mustSupport: true index: 9 elements: value: mustSupport: true choices: [valueCoding] index: 11 slicing: slices: valueCoding: match: {} schema: mustSupport: true choices: [valueCoding] index: 11 valueCoding: type: Coding mustSupport: true choiceOf: value index: 12 slicing: slices: valueCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: value, index: 12} value[x]: elements: system: {mustSupport: true, index: 13} code: {mustSupport: true, index: 14} normSizeCode: url: http://fhir.de/StructureDefinition/normgroesse short: Package size according to N-designation type: Extension mustSupport: true index: 15 elements: value: mustSupport: true choices: [] index: 17 packaging: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension type: Extension mustSupport: true index: 18 elements: value: mustSupport: true choices: [valueString] index: 20 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 20 valueString: type: string mustSupport: true choiceOf: value index: 21 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 21} manufacturingInstructions: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension type: Extension mustSupport: true index: 22 elements: value: mustSupport: true choices: [valueString] index: 24 slicing: slices: valueString: match: {} schema: mustSupport: true choices: [valueString] index: 24 valueString: type: string mustSupport: true choiceOf: value index: 25 slicing: slices: valueString: match: {} schema: {type: string, mustSupport: true, choiceOf: value, index: 25} type: url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension type: Extension mustSupport: true index: 26 elements: value: choices: [] index: 28 class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.0.3