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: 64 elements: numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 65 extensions: packagingSize: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension type: Extension index: 66 elements: value: mustSupport: true choices: [] index: 68 totalQuantity: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension type: Extension index: 69 elements: value: mustSupport: true choices: [] index: 71 elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 66 slicing: slices: packagingSize: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 66 elements: value: mustSupport: true choices: [] index: 68 totalQuantity: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension index: 69 elements: value: mustSupport: true choices: [] index: 71 value: {mustSupport: true, index: 72} unit: {mustSupport: true, index: 73} system: {mustSupport: true, index: 74} code: {mustSupport: true, index: 75} denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 76 elements: value: {mustSupport: true, index: 77} unit: {mustSupport: true, index: 78} system: {mustSupport: true, index: 79} code: {mustSupport: true, index: 80} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} batch: short: Batch Information mustSupport: true index: 126 elements: lotNumber: {short: Batch Number, mustSupport: true, index: 127} 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 isVaccine: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension index: 5 elements: value: mustSupport: true choices: [] index: 7 drugCategory: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension index: 8 elements: value: mustSupport: true choices: [] index: 10 value[x]: elements: system: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} required: [code, system] normSizeCode: match: {} schema: type: Extension short: Package size according to N-designation url: http://fhir.de/StructureDefinition/normgroesse index: 13 elements: value: mustSupport: true choices: [] index: 15 packaging: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension index: 16 elements: value: mustSupport: true choices: [] index: 18 manufacturingInstructions: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension index: 19 elements: value: mustSupport: true choices: [] index: 21 type: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', index: 22} 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: Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs. mustSupport: true index: 81 extensions: darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 82} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension index: 82 slicing: slices: darreichungsform: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 82} min: 0 max: 1 item: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 109 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 109 min: 0 max: 1 itemCodeableConcept: short: Encoded description of the substance or component. type: CodeableConcept mustSupport: true choiceOf: item index: 87 slicing: slices: itemCodeableConcept: match: {} schema: {short: Encoded description of the substance or component., type: CodeableConcept, mustSupport: true, choiceOf: item, index: 87} min: 0 max: 1 item[x]: elements: coding: mustSupport: true index: 88 slicing: rules: open discriminator: - {path: $this, type: value} 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: 89 elements: system: {mustSupport: true, index: 90} code: {mustSupport: true, index: 91} display: {mustSupport: true, index: 92} 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: 93 elements: system: {mustSupport: true, index: 94} version: {index: 95} code: {mustSupport: true, index: 96} display: {mustSupport: true, index: 97} required: [code, system, version] snomed: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-substance-snomed-ct-vs'} pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 98 elements: system: {mustSupport: true, index: 99} version: {mustSupport: true, index: 100} code: {mustSupport: true, index: 101} display: {mustSupport: true, index: 102} required: [code, system] pzn: match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'} array: true type: Coding index: 103 elements: system: {mustSupport: true, index: 104} code: {mustSupport: true, index: 105} display: {mustSupport: true, index: 106} required: [code, system] text: {mustSupport: true, index: 107} itemReference: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 110 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 110 min: 0 max: 1 isActive: {short: 'Is it an active ingredient?', index: 111} strength: short: Strength mustSupport: true index: 112 extensions: amountText: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension type: Extension index: 113 elements: value: mustSupport: true choices: [] index: 115 elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 113 slicing: slices: amountText: match: {} schema: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 113 elements: value: mustSupport: true choices: [] index: 115 numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 116 elements: value: {mustSupport: true, index: 117} unit: {mustSupport: true, index: 118} system: {mustSupport: true, index: 119} code: {mustSupport: true, index: 120} required: [value] denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 121 elements: value: {mustSupport: true, index: 122} unit: {mustSupport: true, index: 123} system: {mustSupport: true, index: 124} code: {mustSupport: true, index: 125} required: [value] status: {short: Status of Medication Information, mustSupport: true, index: 46} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 26 elements: coding: mustSupport: true index: 27 slicing: rules: open discriminator: - {path: $this, type: value} 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: 28 elements: system: {mustSupport: true, index: 29} code: {mustSupport: true, index: 30} display: {mustSupport: true, index: 31} 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: 32 elements: system: {mustSupport: true, index: 33} version: {index: 34} code: {mustSupport: true, index: 35} display: {mustSupport: true, index: 36} required: [code, system, version] 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: 37 elements: system: {mustSupport: true, index: 38} code: {mustSupport: true, index: 39} display: {mustSupport: true, index: 40} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: extensible, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medication-snomed-ct-vs'} pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 41 elements: system: {mustSupport: true, index: 42} code: {mustSupport: true, index: 43} display: {mustSupport: true, index: 44} required: [code, system] text: {mustSupport: true, index: 45} identifier: index: 23 slicing: rules: open discriminator: - {path: $this, type: value} 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: 24 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: 25 min: 0 max: 1 manufacturer: short: Manufacturer of the Medication mustSupport: true index: 47 elements: display: {mustSupport: true, index: 48} required: [display] form: short: Form of Dispensing mustSupport: true index: 49 elements: coding: mustSupport: true index: 50 slicing: rules: open discriminator: - {path: $this, type: value} min: null slices: edqm: match: {system: 'http://standardterms.edqm.eu'} schema: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'} pattern: type: Coding value: {system: 'http://standardterms.edqm.eu'} array: true type: Coding index: 51 elements: system: {mustSupport: true, index: 52} code: {mustSupport: true, index: 53} display: {mustSupport: true, index: 54} required: [code, system] snomed: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'https://gematik.de/fhir/terminology/ValueSet/ti-medicine-form-snomed-ct-vs'} pattern: type: Coding value: {system: 'http://snomed.info/sct'} array: true type: Coding index: 55 elements: system: {mustSupport: true, index: 56} version: {mustSupport: true, index: 57} code: {mustSupport: true, index: 58} display: {mustSupport: true, index: 59} required: [code, system] kbvDarreichungsform: match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} schema: mustSupport: true array: true binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM'} pattern: type: Coding value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} type: Coding index: 60 elements: system: {mustSupport: true, index: 61} code: {mustSupport: true, index: 62} display: {mustSupport: true, index: 63} required: [code, system] package_version: 1.1.5 extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 4} isVaccine: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension type: Extension index: 5 elements: value: mustSupport: true choices: [] index: 7 drugCategory: url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension type: Extension index: 8 elements: value: mustSupport: true choices: [] index: 10 value[x]: elements: system: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} required: [code, system] normSizeCode: url: http://fhir.de/StructureDefinition/normgroesse type: Extension short: Package size according to N-designation index: 13 elements: value: mustSupport: true choices: [] index: 15 packaging: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension type: Extension index: 16 elements: value: mustSupport: true choices: [] index: 18 manufacturingInstructions: url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension type: Extension index: 19 elements: value: mustSupport: true choices: [] index: 21 type: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 22} class: profile kind: resource url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.1.5