description: Defines the medication resource for the Medication Service in the ePA system. package_name: rs/de.gematik.epa.medication derivation: constraint name: EPAMedication type: Medication elements: amount: mustSupport: true index: 40 elements: numerator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 41 elements: value: {mustSupport: true, index: 42} unit: {mustSupport: true, index: 43} system: {mustSupport: true, index: 44} code: {mustSupport: true, index: 45} required: [code, system, value] denominator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 46 elements: value: {mustSupport: true, index: 47} unit: {mustSupport: true, index: 48} system: {mustSupport: true, index: 49} code: {mustSupport: true, index: 50} required: [code, system, value] required: [numerator] batch: short: Angaben zur Charge mustSupport: true index: 91 elements: lotNumber: {short: Chargennummer, mustSupport: true, index: 92} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: RxPrescriptionProcessIdentifier: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 1} min: 1 max: 1 ingredient: short: Informationen zu Bestandteilen (Rezeptur) mustSupport: true index: 51 elements: item: short: Bestandteil (Referenz auf ein anderes Medikament) mustSupport: true choices: [itemReference] index: 76 slicing: slices: itemReference: match: {} schema: short: Bestandteil (Referenz auf ein anderes Medikament) mustSupport: true choices: [itemReference] index: 76 min: 0 max: 1 itemCodeableConcept: short: Bestandteil in codierter Form oder ggf. als Freitext type: CodeableConcept mustSupport: true choiceOf: item index: 56 slicing: slices: itemCodeableConcept: match: {} schema: {short: Bestandteil in codierter Form oder ggf. als Freitext, type: CodeableConcept, mustSupport: true, choiceOf: item, index: 56} min: 0 max: 1 item[x]: elements: reference: {mustSupport: true, index: 78} required: [reference] itemReference: short: Bestandteil (Referenz auf ein anderes Medikament) refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference mustSupport: true choiceOf: item index: 77 slicing: slices: itemReference: match: {} schema: short: Bestandteil (Referenz auf ein anderes Medikament) refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference mustSupport: true choiceOf: item index: 77 min: 0 max: 1 isActive: {short: 'handelt es sich um einen aktiven Bestandteil?', mustSupport: true, index: 79} strength: short: Stärke mustSupport: true index: 80 elements: numerator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 81 elements: value: {mustSupport: true, index: 82} unit: {mustSupport: true, index: 83} system: {mustSupport: true, index: 84} code: {mustSupport: true, index: 85} required: [code, system, value] denominator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 86 elements: value: {mustSupport: true, index: 87} unit: {mustSupport: true, index: 88} system: {mustSupport: true, index: 89} code: {mustSupport: true, index: 90} required: [code, system, value] required: [numerator] status: {short: Status der Medikamenteninformation, mustSupport: true, index: 27} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 4 elements: coding: mustSupport: true index: 5 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: PZN: match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} type: Coding index: 6 elements: system: {mustSupport: true, index: 7} code: {mustSupport: true, index: 8} display: {mustSupport: true, index: 9} 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'} type: Coding index: 10 elements: system: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} display: {mustSupport: true, index: 13} required: [code, system] ASK: match: {system: 'http://fhir.de/CodeSystem/ask'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ask'} type: Coding index: 14 elements: system: {mustSupport: true, index: 15} code: {mustSupport: true, index: 16} display: {mustSupport: true, index: 17} required: [code, system] WG14: match: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} type: Coding index: 18 elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} display: {mustSupport: true, index: 21} required: [code, system] verordnungskategorieCode: match: {} schema: mustSupport: true index: 22 elements: system: {mustSupport: true, index: 23} code: binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/kbv-medication-type-vs'} mustSupport: true index: 24 display: {mustSupport: true, index: 25} required: [code, system] text: {mustSupport: true, index: 26} identifier: mustSupport: true index: 2 slicing: rules: open ordered: false discriminator: - {path: $this, type: pattern} min: 1 slices: ePAMedicationUniqueIdentifier: match: {} schema: {type: Identifier, _required: true, index: 3} min: 1 max: 1 manufacturer: short: Hersteller des Medikaments mustSupport: true index: 28 elements: display: {mustSupport: true, index: 29} required: [display] form: short: Abgabeform mustSupport: true index: 30 elements: coding: mustSupport: true index: 31 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: EDQM: match: {} schema: binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'} mustSupport: true index: 32 elements: system: {mustSupport: true, index: 33} code: {mustSupport: true, index: 34} display: {mustSupport: true, index: 35} required: [code, system] KBVDarreichungsform: match: {} schema: binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/kbv-medication-darreichungsform-vs'} mustSupport: true index: 36 elements: system: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} required: [code, system] package_version: 0.0.3 extensions: RxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 1, max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.0.0 required: [extension, identifier, status]