description: This profile sets minimum expectations for the Medication resource common to most of the use cases.\nThis profile is adapted from the MPD work. package_name: myhealth.eu.fhir.core derivation: constraint name: MedicationMyHealthCore type: Medication elements: language: binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILanguage'} index: 0 extension: short: Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. index: 1 slicing: slices: productName: match: {} schema: {short: 'Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.', index: 1} classification: match: {} schema: index: 2 extensions: {} elements: extension: {index: 3} value: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 7 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 8 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 8} min: 0 max: 1 unitOfPresentation: match: {} schema: index: 9 extensions: {} elements: extension: {index: 10} value: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 14 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 15 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 15} min: 0 max: 1 packageType: match: {} schema: index: 16 elements: value: choices: [] index: 18 device: match: {} schema: index: 19 extensions: device: url: null index: 20 elements: value: choices: [] index: 22 elements: extension: index: 20 slicing: slices: device: match: {} schema: index: 20 elements: value: choices: [] index: 22 code: {short: National product code, index: 23} manufacturer: {short: Manufacturer, index: 24} form: binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm'} index: 25 amount: {type: Ratio, index: 26} ingredient: index: 27 elements: item: choices: [itemCodeableConcept] index: 32 slicing: slices: itemCodeableConcept: match: {} schema: choices: [itemCodeableConcept] index: 32 itemReference: type: Reference choiceOf: item refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core'] index: 30 slicing: slices: itemReference: match: {} schema: type: Reference choiceOf: item refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core'] index: 30 itemCodeableConcept: type: CodeableConcept choiceOf: item index: 33 slicing: slices: itemCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: item, index: 33} strength: type: Ratio index: 34 extensions: basisOfStrengthSubstance: url: null index: 35 extensions: {} elements: extension: {index: 36} value: choices: [] index: 38 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 40 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 41 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 41} min: 0 max: 1 elements: extension: index: 35 slicing: slices: basisOfStrengthSubstance: match: {} schema: index: 35 extensions: {} elements: extension: {index: 36} value: choices: [] index: 38 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 40 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 41 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 41} min: 0 max: 1 package_version: 1.0.0 extensions: productName: {url: null, short: 'Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.', index: 1} classification: url: null index: 2 extensions: {} elements: extension: {index: 3} value: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 7 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 8 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 8} min: 0 max: 1 unitOfPresentation: url: null index: 9 extensions: {} elements: extension: {index: 10} value: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: choices: [valueCodeableConcept] index: 14 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept choiceOf: value index: 15 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: value, index: 15} min: 0 max: 1 packageType: url: null index: 16 elements: value: choices: [] index: 18 device: url: null index: 19 extensions: device: url: null index: 20 elements: value: choices: [] index: 22 elements: extension: index: 20 slicing: slices: device: match: {} schema: index: 20 elements: value: choices: [] index: 22 class: profile kind: resource url: http://fhir.ehdsi.eu/core/StructureDefinition/medication-myhealtheu-core base: http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core version: 1.0.0