description: SFM Medication derived from no-basis-Medication. package_name: sfm.030521 derivation: constraint name: SfmMedication type: Medication elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: prescriptiongroup: match: {url: null} schema: {mustSupport: true, index: 1} medicationdetails: match: {url: null} schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-medicationdetails', index: 2} code: mustSupport: true index: 3 elements: coding: index: 4 slicing: slices: FEST-Medication: match: {} schema: {index: 4} type: match: {} schema: index: 5 elements: system: short: Medicationtype pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7424'} index: 6 code: {index: 7} display: {index: 8} required: [display, system, code] status: {mustSupport: true, index: 9} manufacturer: {mustSupport: true, index: 10} form: {mustSupport: true, index: 11} amount: mustSupport: true index: 12 extensions: quantity: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-amountText', max: 1, type: Extension, index: 14} elements: extension: index: 13 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: quantity: match: {url: null} schema: {type: Extension, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-amountText', index: 14} max: 1 batch: {mustSupport: true, index: 15} package_version: 1.0.1 extensions: prescriptiongroup: {url: null, mustSupport: true, index: 1} medicationdetails: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-medicationdetails', type: Extension, index: 2} class: profile kind: resource url: http://ehelse.no/fhir/StructureDefinition/sfm-Medication base: http://hl7.no/fhir/StructureDefinition/no-basis-Medication version: '1.0'