description: Represents the definition of a medication, suitable for use in various contexts package_name: hl7.fhir.uv.crmi derivation: constraint name: CRMIMedicationDefinition type: Medication elements: identifier: {mustSupport: true, index: 0} code: {mustSupport: true, index: 1} status: {mustSupport: true, index: 2} ingredient: mustSupport: true index: 3 elements: item: mustSupport: true choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: itemReference: match: {} schema: mustSupport: true choices: [itemReference] index: 7 min: 0 max: 1 itemReference: refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference mustSupport: true choiceOf: item index: 8 slicing: slices: itemReference: match: {} schema: refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] type: Reference mustSupport: true choiceOf: item index: 8 min: 0 max: 1 item[x]: extensions: nonCanonicalReference: {url: 'http://hl7.org/fhir/StructureDefinition/artifact-uriReference', min: 0, max: 1, type: Extension, mustSupport: true, index: 9} elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/artifact-uriReference index: 9 slicing: slices: nonCanonicalReference: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/artifact-uriReference', index: 9} min: 0 max: 1 batch: {index: 10} package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-medicationdefinition base: http://hl7.org/fhir/StructureDefinition/Medication version: 2.0.0-ballot