description: Magistrell medicaiton based on medication. package_name: sfm.030521 derivation: constraint name: SfmMagistrellMedication type: Medication elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: prescriptiongroup: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup', index: 1} max: 1 name: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-name', index: 2} min: 1 max: 1 packing: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-packing', index: 3} max: 1 recipe: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-recipe', index: 4} max: 1 code: short: Codes that identify type of medication mustSupport: true index: 5 elements: coding: index: 6 elements: system: pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7424'} index: 7 manufacturer: {index: 8} form: mustSupport: true index: 9 elements: coding: elements: system: pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7448'} index: 10 amount: mustSupport: true index: 11 elements: numerator: elements: system: pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'} index: 12 ingredient: mustSupport: true index: 13 extensions: adqs: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-adqs', max: 1, type: Extension, mustSupport: true, index: 15} elements: extension: index: 14 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: adqs: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://ehelse.no/fhir/StructureDefinition/sfm-adqs', index: 15} max: 1 item: choices: [itemReference] index: 17 itemReference: type: Reference choiceOf: item refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Excipient', 'http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Substance'] index: 18 strength: elements: numerator: elements: system: pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.9090'} index: 19 denominator: elements: system: pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.9090'} index: 20 package_version: 1.0.1 extensions: prescriptiongroup: {url: 'http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup', max: 1, type: Extension, mustSupport: true, index: 1} name: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-name', min: 1, max: 1, type: Extension, mustSupport: true, index: 2} packing: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-packing', max: 1, type: Extension, mustSupport: true, index: 3} recipe: {url: 'http://ehelse.no/fhir/StructureDefinition/sfm-recipe', max: 1, type: Extension, mustSupport: true, index: 4} class: profile kind: resource url: http://ehelse.no/fhir/StructureDefinition/sfm-Magistrell-Medication base: http://hl7.org/fhir/StructureDefinition/Medication version: '1.0' required: [form, amount]