description: Defines the medication resource for the Medication Service in the TI ecosystem. package_name: de.gematik.ti derivation: constraint name: TIMedicationDgMP type: Medication elements: amount: mustSupport: true index: 51 elements: numerator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 52 extensions: packagingSize: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 53} totalQuantity: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 54} elements: extension: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension index: 53 slicing: slices: packagingSize: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', index: 53} min: 0 max: 1 totalQuantity: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension', index: 54} min: 0 max: 1 denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 55 elements: value: {mustSupport: true, index: 56} unit: {mustSupport: true, index: 57} system: {mustSupport: true, index: 58} code: {mustSupport: true, index: 59} meta: mustSupport: true index: 0 elements: versionId: {mustSupport: true, index: 1} lastUpdated: {mustSupport: true, index: 2} batch: mustSupport: true index: 99 elements: lotNumber: {mustSupport: true, index: 100} extension: index: 4 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: context: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', index: 5} min: 0 max: 1 rxPrescriptionProcessIdentifier: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 6} min: 0 max: 1 isVaccine: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', index: 7} min: 0 max: 1 drugCategory: match: {url: null} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension index: 8 elements: value[x]: elements: system: {mustSupport: true, index: 9} code: {mustSupport: true, index: 10} required: [system, code] normSizeCode: match: {url: null} schema: short: Package size according to N-designation type: Extension mustSupport: true url: http://fhir.de/StructureDefinition/normgroesse index: 11 elements: value: mustSupport: true choices: [] index: 13 packaging: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', index: 14} min: 0 max: 1 manufacturingInstructions: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', index: 15} min: 0 max: 1 type: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', index: 16} min: 0 max: 1 contained: {type: Medication, short: Enthält PZN-Bestandteile für Rezepturen sowie pharmazeutische Produkte im Falle einer 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: 60 extensions: darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 62} elements: extension: index: 61 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: darreichungsform: match: {url: null} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 62} min: 0 max: 1 item: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 84 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only mustSupport: true choices: [itemReference] index: 84 min: 0 max: 1 itemCodeableConcept: short: Encoded description of the substance or component. type: CodeableConcept mustSupport: true choiceOf: item index: 67 slicing: slices: itemCodeableConcept: match: {} schema: {short: Encoded description of the substance or component., type: CodeableConcept, mustSupport: true, choiceOf: item, index: 67} min: 0 max: 1 item[x]: elements: coding: mustSupport: true index: 68 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 index: 69 elements: system: {mustSupport: true, index: 70} code: {mustSupport: true, index: 71} display: {mustSupport: true, index: 72} required: [system, code] 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 index: 73 elements: system: {mustSupport: true, index: 74} version: {index: 75} code: {mustSupport: true, index: 76} display: {mustSupport: true, index: 77} required: [version, system, code] 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 index: 78 elements: system: {mustSupport: true, index: 79} code: {mustSupport: true, index: 80} display: {mustSupport: true, index: 81} required: [system, code] text: {mustSupport: true, index: 82} itemReference: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 85 slicing: slices: itemReference: match: {} schema: short: Restricted EPAMedicationPZNIngredient & EPAMedicationPharmaceuticalProduct only refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: item index: 85 min: 0 max: 1 isActive: {short: 'Is it an active ingredient?', index: 86} strength: short: Strength mustSupport: true index: 87 extensions: amountText: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', min: 0, max: 1, type: Extension, index: 88} elements: extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension index: 88 slicing: slices: amountText: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', index: 88} min: 0 max: 1 numerator: 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} required: [value] denominator: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'} mustSupport: true index: 94 elements: value: {mustSupport: true, index: 95} unit: {mustSupport: true, index: 96} system: {mustSupport: true, index: 97} code: {mustSupport: true, index: 98} required: [value] status: {short: Status of Medication Information, mustSupport: true, index: 35} code: short: Medication in coded form or as free text if necessary mustSupport: true index: 19 elements: coding: mustSupport: true index: 20 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'} index: 21 elements: system: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} display: {mustSupport: true, index: 24} required: [system, code] 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 index: 25 elements: system: {mustSupport: true, index: 26} version: {index: 27} code: {mustSupport: true, index: 28} display: {mustSupport: true, index: 29} required: [version, system, code] ask: match: {system: 'http://fhir.de/CodeSystem/ask'} schema: mustSupport: true pattern: type: Coding value: {system: 'http://fhir.de/CodeSystem/ask'} array: true index: 30 elements: system: {mustSupport: true, index: 31} code: {mustSupport: true, index: 32} display: {mustSupport: true, index: 33} required: [system, code] text: {mustSupport: true, index: 34} identifier: index: 17 slicing: rules: open discriminator: - {path: $this, type: value} min: null slices: 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: 18 min: 0 max: 1 manufacturer: short: Manufacturer of the Medication mustSupport: true index: 36 elements: display: {mustSupport: true, index: 37} required: [display] form: short: Form of Dispensing mustSupport: true index: 38 extensions: dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 40} elements: extension: mustSupport: true index: 39 slicing: slices: dataAbsentReason: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 40} min: 0 max: 1 coding: mustSupport: true index: 41 slicing: rules: open discriminator: - {path: $this, type: value} min: null slices: kbvDarreichungsform: match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} schema: mustSupport: true binding: {strength: required, valueSet: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} pattern: type: Coding value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'} index: 42 elements: system: {mustSupport: true, index: 43} code: {mustSupport: true, index: 44} display: {mustSupport: true, index: 45} required: [system, code] ifaDarreichungsform: match: {system: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'} schema: binding: {strength: required, valueSet: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'} mustSupport: true pattern: type: Coding value: {system: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'} index: 46 elements: system: {mustSupport: true, index: 47} code: {mustSupport: true, index: 48} display: {mustSupport: true, index: 49} required: [system, code] text: {mustSupport: true, index: 50} package_version: 1.4.0-ballot.2 extensions: context: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 5} rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 6} isVaccine: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 7} drugCategory: url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension type: Extension mustSupport: true index: 8 elements: value[x]: elements: system: {mustSupport: true, index: 9} code: {mustSupport: true, index: 10} required: [system, code] normSizeCode: url: http://fhir.de/StructureDefinition/normgroesse short: Package size according to N-designation type: Extension mustSupport: true index: 11 elements: value: mustSupport: true choices: [] index: 13 packaging: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 14} manufacturingInstructions: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 15} type: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 16} class: profile kind: resource url: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-dgmp base: http://hl7.org/fhir/StructureDefinition/Medication version: 1.4.0