description: null package_name: telus.dw.emr.extract-1-1-26 derivation: constraint name: DwMedicationStatement type: MedicationStatement elements: meta: elements: lastUpdated: {index: 1} source: {index: 2} required: [lastUpdated, source] dosage: mustSupport: true index: 33 elements: sequence: {mustSupport: true, index: 34} text: {mustSupport: true, index: 35} additionalInstruction: {mustSupport: true, index: 36} patientInstruction: {mustSupport: true, index: 37} timing: mustSupport: true index: 38 elements: repeat: {mustSupport: false, index: 39} code: mustSupport: true index: 40 elements: text: {mustSupport: true, index: 41} asNeeded: mustSupport: true choices: [] index: 43 route: mustSupport: true index: 44 elements: coding: index: 45 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: routeSCTCA: match: {system: null} schema: binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'} array: true index: 46 elements: system: {mustSupport: true, index: 47} code: {mustSupport: true, index: 48} display: {mustSupport: true, index: 49} routeEMR: match: {system: null} schema: mustSupport: true array: true index: 50 elements: system: {mustSupport: true, index: 51} code: {mustSupport: true, index: 52} display: {mustSupport: true, index: 53} text: {mustSupport: true, index: 54} doseAndRate: elements: dose: mustSupport: true choices: [] index: 56 medication[x]: elements: coding: elements: system: {mustSupport: true, index: 21} code: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} text: {mustSupport: true, index: 24} reasonCode: {mustSupport: true, index: 30} medicationCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: medication index: 20 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 20} min: 0 max: 1 statusReason: {mustSupport: true, index: 12} note: {mustSupport: true, index: 32} extension: index: 4 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: RenderedDosageInstruction: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 5} min: 0 max: 1 status: {mustSupport: true, index: 11} effective: mustSupport: true choices: [] index: 28 id: {mustSupport: true, index: 0} identifier: mustSupport: true index: 6 elements: system: {index: 7} value: {index: 8} required: [value, system] context: type: Reference mustSupport: true refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwEncounter'] index: 26 dateAsserted: {mustSupport: true, index: 29} basedOn: type: Reference short: Fulfills plan, proposal or order refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationRequest'] index: 9 medicationReference: refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedication'] type: Reference mustSupport: true choiceOf: medication index: 17 slicing: slices: medicationReference: match: {} schema: refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedication'] type: Reference mustSupport: true choiceOf: medication index: 17 min: 0 max: 1 partOf: type: Reference mustSupport: true refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationAdministration', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationStatement', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwObservationResults', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwProcedure'] index: 10 subject: type: Reference refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient'] index: 25 medication: mustSupport: true choices: [medicationCodeableConcept] index: 19 slicing: slices: medicationCodeableConcept: match: {} schema: mustSupport: true choices: [medicationCodeableConcept] index: 19 min: 0 max: 1 reasonReference: type: Reference mustSupport: true refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwCondition', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwDiagnosticReport', 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwObservationResults'] index: 31 text: {mustSupport: true, index: 3} package_version: 1.1.26 extensions: RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', min: 0, max: 1, type: Extension, mustSupport: true, index: 5} class: profile kind: resource url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationStatement base: http://hl7.org/fhir/StructureDefinition/MedicationStatement version: 2.0.0 required: [id, text, identifier, effective]