description: Defines the medication resource for the Medication Service in the ePA system. package_name: rs/de.gematik.dev.epa.medication derivation: constraint name: EPAMedication type: Medication elements: amount: mustSupport: true index: 66 elements: numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 67 extensions: packagingSize: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension type: Extension index: 68 elements: value: mustSupport: true choices: [] index: 70 totalQuantity: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension type: Extension index: 71 elements: value: mustSupport: true choices: [] index: 73 elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 68 slicing: slices: packagingSize: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 68 elements: value: mustSupport: true choices: [] index: 70 totalQuantity: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension index: 71 elements: value: mustSupport: true choices: [] index: 73 value: {mustSupport: true, index: 74} unit: {mustSupport: true, index: 75} system: {mustSupport: true, index: 76} code: {mustSupport: true, index: 77} denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 78 elements: value: {mustSupport: true, index: 79} unit: {mustSupport: true, index: 80} system: {mustSupport: true, index: 81} code: {mustSupport: true, index: 82} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} batch: short: Batch Information index: 136 elements: lotNumber: {short: Batch Number, index: 137} extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension index: 4 slicing: slices: rxPrescriptionProcessIdentifier: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 4} min: 0 max: 1 epaDispensationIdentifier: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/dispensation-identifier-extension', index: 5} min: 0 max: 1 isVaccine: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension index: 6 elements: value: mustSupport: true choices: [] index: 8 drugCategory: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension index: 9 elements: value: mustSupport: true choices: [] index: 11 value[x]: elements: system: {mustSupport: true, index: 12} code: {mustSupport: true, index: 13} normSizeCode: match: {} schema: type: Extension short: Package size according to N-designation url: http://fhir.de/StructureDefinition/normgroesse index: 14 elements: value: mustSupport: true choices: [] index: 16 packaging: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension index: 17 elements: value: mustSupport: true choices: [] index: 19 manufacturingInstructions: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension index: 20 elements: value: mustSupport: true choices: [] index: 22 type: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', index: 23} min: 0 max: 1 contained: {type: Medication, short: Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung', mustSupport: true, index: 3} ingredient: short: Information on Components (Rezeptur) mustSupport: true index: 83 extensions: darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 84} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension index: 84 slicing: slices: darreichungsform: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 84} min: 0 max: 1 item: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 107 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 107 min: 0 max: 1 itemCodeableConcept: short: Component in coded form or, if necessary, as free text type: CodeableConcept mustSupport: true choiceOf: item index: 89 slicing: slices: itemCodeableConcept: match: {} schema: {short: 'Component in coded form or, if necessary, as free text', type: CodeableConcept, mustSupport: true, choiceOf: item, index: 89} min: 0 max: 1 item[x]: elements: coding: mustSupport: true index: 90 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: 91 elements: system: {mustSupport: true, index: 92} code: {mustSupport: true, index: 93} display: {mustSupport: true, index: 94} 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: 95 elements: system: {mustSupport: true, index: 96} code: {mustSupport: true, index: 97} display: {mustSupport: true, index: 98} 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: 99 elements: system: {mustSupport: true, index: 100} version: {mustSupport: true, index: 101} code: {mustSupport: true, index: 102} display: {mustSupport: true, index: 103} 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: 104 min: 0 max: 0 text: {mustSupport: true, index: 105} itemReference: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 108 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 108 min: 0 max: 1 isActive: {short: 'Is it an active ingredient?', index: 109} strength: short: Strength mustSupport: true index: 110 extensions: amountText: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension type: Extension index: 111 elements: value: mustSupport: true choices: [] index: 113 elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 111 slicing: slices: amountText: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 111 elements: value: mustSupport: true choices: [] index: 113 numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 114 elements: value: {mustSupport: true, index: 115} unit: {mustSupport: true, index: 116} system: mustSupport: true index: 117 extensions: dataAbsentReason: url: http://hl7.org/fhir/StructureDefinition/data-absent-reason type: Extension mustSupport: true index: 118 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 120 elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 118 slicing: slices: dataAbsentReason: match: {} schema: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 118 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 120 code: mustSupport: true index: 121 extensions: dataAbsentReason: url: http://hl7.org/fhir/StructureDefinition/data-absent-reason type: Extension mustSupport: true index: 122 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 124 elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 122 slicing: slices: dataAbsentReason: match: {} schema: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 122 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 124 required: [code, system, value] denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 125 elements: value: {mustSupport: true, index: 126} unit: {mustSupport: true, index: 127} system: mustSupport: true index: 128 extensions: dataAbsentReason: url: http://hl7.org/fhir/StructureDefinition/data-absent-reason type: Extension mustSupport: true index: 129 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 131 elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 129 slicing: slices: dataAbsentReason: match: {} schema: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 129 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 131 code: mustSupport: true index: 132 extensions: dataAbsentReason: url: http://hl7.org/fhir/StructureDefinition/data-absent-reason type: Extension mustSupport: true index: 133 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 135 elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 133 slicing: slices: dataAbsentReason: match: {} schema: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 133 elements: value: pattern: {type: code, value: unknown} choices: [] type: code index: 135 required: [code, system, value] required: [numerator] status: {short: Status of Medication Information, mustSupport: true, index: 48} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 27 elements: coding: mustSupport: true index: 28 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: 29 elements: system: {mustSupport: true, index: 30} version: {mustSupport: true, index: 31} code: {mustSupport: true, index: 32} display: {mustSupport: true, index: 33} 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: 34 elements: system: {mustSupport: true, index: 35} code: {mustSupport: true, index: 36} display: {mustSupport: true, index: 37} 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: 38 elements: system: {mustSupport: true, index: 39} code: {mustSupport: true, index: 40} display: {mustSupport: true, index: 41} 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: 42 elements: system: {mustSupport: true, index: 43} version: {mustSupport: true, index: 44} code: {mustSupport: true, index: 45} display: {mustSupport: true, index: 46} required: [code, system] text: {mustSupport: true, index: 47} identifier: index: 24 slicing: rules: open 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: 25 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: 26 min: 0 max: 1 manufacturer: short: Manufacturer of the Medication mustSupport: true index: 49 elements: display: {mustSupport: true, index: 50} required: [display] form: short: Form of Dispensing mustSupport: true index: 51 elements: coding: mustSupport: true index: 52 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: 53 elements: system: {mustSupport: true, index: 54} code: {mustSupport: true, index: 55} display: {mustSupport: true, index: 56} 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: 57 elements: system: {mustSupport: true, index: 58} version: {mustSupport: true, index: 59} code: {mustSupport: true, index: 60} display: {mustSupport: true, index: 61} 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: 62 elements: system: {mustSupport: true, index: 63} code: {mustSupport: true, index: 64} display: {mustSupport: true, index: 65} required: [code, system] package_version: 1.1.0-alpha.6 extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 4} epaDispensationIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/dispensation-identifier-extension', min: 0, max: 1, type: Extension, index: 5} isVaccine: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension type: Extension index: 6 elements: value: mustSupport: true choices: [] index: 8 drugCategory: url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension type: Extension index: 9 elements: value: mustSupport: true choices: [] index: 11 value[x]: elements: system: {mustSupport: true, index: 12} code: {mustSupport: true, index: 13} normSizeCode: url: http://fhir.de/StructureDefinition/normgroesse type: Extension short: Package size according to N-designation index: 14 elements: value: mustSupport: true choices: [] index: 16 packaging: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension type: Extension index: 17 elements: value: mustSupport: true choices: [] index: 19 manufacturingInstructions: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension type: Extension index: 20 elements: value: mustSupport: true choices: [] index: 22 type: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 23} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.1.0