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: 45 elements: numerator: 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} denominator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 51 elements: value: {mustSupport: true, index: 52} unit: {mustSupport: true, index: 53} system: {mustSupport: true, index: 54} code: {mustSupport: true, index: 55} batch: short: Batch Information mustSupport: true index: 99 elements: lotNumber: {short: Batch Number, mustSupport: true, index: 100} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: rxPrescriptionProcessIdentifier: match: {url: null} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 1} min: 0 max: 1 ingredient: short: Information on Components (Rezeptur) mustSupport: true index: 56 elements: item: short: Component (reference to another medication) choices: [itemReference] index: 85 slicing: slices: itemReference: match: {} schema: short: Component (reference to another medication) choices: [itemReference] index: 85 min: 0 max: 1 itemCodeableConcept: short: Component in coded form or, if necessary, as free text type: CodeableConcept mustSupport: true choiceOf: item index: 61 slicing: slices: itemCodeableConcept: match: {} schema: {short: 'Component in coded form or, if necessary, as free text', type: CodeableConcept, mustSupport: true, choiceOf: item, index: 61} min: 0 max: 1 item[x]: elements: coding: mustSupport: true index: 62 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: 63 elements: system: {mustSupport: true, index: 64} code: {mustSupport: true, index: 65} display: {mustSupport: true, index: 66} 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: 67 elements: system: {mustSupport: true, index: 68} code: {mustSupport: true, index: 69} display: {mustSupport: true, index: 70} 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: 71 elements: system: {mustSupport: true, index: 72} code: {mustSupport: true, index: 73} display: {mustSupport: true, index: 74} required: [code, system] wg14: match: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} schema: pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} array: true type: Coding index: 75 elements: system: {mustSupport: true, index: 76} code: {mustSupport: true, index: 77} display: {mustSupport: true, index: 78} 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: 79 elements: system: {mustSupport: true, index: 80} code: {mustSupport: true, index: 81} display: {mustSupport: true, index: 82} required: [code, system] text: {mustSupport: true, index: 83} itemReference: short: Component (reference to another medication) refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference choiceOf: item index: 86 slicing: slices: itemReference: match: {} schema: short: Component (reference to another medication) refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference choiceOf: item index: 86 min: 0 max: 1 isActive: {short: 'Is it an active ingredient?', index: 87} strength: short: Strength mustSupport: true index: 88 elements: numerator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 89 elements: value: {mustSupport: true, index: 90} unit: {mustSupport: true, index: 91} system: {mustSupport: true, index: 92} code: {mustSupport: true, index: 93} required: [code, system, value] denominator: mustSupport: true pattern: type: Quantity value: {system: 'http://unitsofmeasure.org'} type: Quantity index: 94 elements: value: {mustSupport: true, index: 95} unit: {mustSupport: true, index: 96} system: {mustSupport: true, index: 97} code: {mustSupport: true, index: 98} required: [code, system, value] required: [numerator] status: {short: Status of Medication Information, mustSupport: true, index: 28} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 5 elements: coding: mustSupport: true index: 6 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: 7 elements: system: {mustSupport: true, index: 8} code: {mustSupport: true, index: 9} display: {mustSupport: true, index: 10} 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: 11 elements: system: {mustSupport: true, index: 12} code: {mustSupport: true, index: 13} display: {mustSupport: true, index: 14} 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: 15 elements: system: {mustSupport: true, index: 16} code: {mustSupport: true, index: 17} display: {mustSupport: true, index: 18} required: [code, system] wg14: match: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} schema: pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/abdata/wg14'} array: true type: Coding index: 19 elements: system: {mustSupport: true, index: 20} code: {mustSupport: true, index: 21} display: {mustSupport: true, index: 22} 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: 23 elements: system: {mustSupport: true, index: 24} code: {mustSupport: true, index: 25} display: {mustSupport: true, index: 26} required: [code, system] text: {mustSupport: true, index: 27} identifier: index: 2 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: 3 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: 4 min: 0 max: 1 manufacturer: short: Manufacturer of the Medication mustSupport: true index: 29 elements: display: {mustSupport: true, index: 30} required: [display] form: short: Form of Dispensing mustSupport: true index: 31 elements: coding: mustSupport: true index: 32 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: 33 elements: system: {mustSupport: true, index: 34} code: {mustSupport: true, index: 35} display: {mustSupport: true, index: 36} 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: 37 elements: system: {mustSupport: true, index: 38} code: {mustSupport: true, index: 39} display: {mustSupport: true, index: 40} 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/CodeSystem/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: 41 elements: system: {mustSupport: true, index: 42} code: {mustSupport: true, index: 43} display: {mustSupport: true, index: 44} required: [code, system] package_version: 1.0.0-RC extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, 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