description: This profile defines a set of constraints to the FHIR Medication resource for use in Ontario Patient Summaries (PS-ON). It refines constraints applied to the Medication resource by the PS-CA project to represent a medication in the patient summary. It is informed by the constraints of the [Medication-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Medication-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medication.html) to allow for cross-border and cross-jurisdiction sharing of Medication Summary information. package_name: ca.on.oh-setp derivation: constraint name: MedicationPSON type: Medication elements: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] extension: type: Extension short: Extension for representing overall medication strength. url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description index: 2 slicing: slices: strength: match: {} schema: {type: Extension, short: Extension for representing overall medication strength., url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 2} max: 1 code: short: Medication that was administered or was to be administered (medication code from any code system) type: CodeableConcept mustSupport: true binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'} index: 3 elements: coding: mustSupport: true index: 4 elements: display: extensions: translation: url: null index: 5 extensions: {} elements: extension: {array: true, min: 2, index: 6} elements: extension: index: 5 slicing: slices: translation: match: {} schema: index: 5 extensions: {} elements: extension: {array: true, min: 2, index: 6} slicing: rules: open description: Discriminated by value set discriminator: - {path: $this, type: pattern} min: null slices: atcClass: match: {} schema: short: Optional slice for representing WHO ATC classification binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips'} index: 7 elements: display: extensions: translation: url: null index: 8 extensions: {} elements: extension: {array: true, min: 2, index: 9} elements: extension: index: 8 slicing: slices: translation: match: {} schema: index: 8 extensions: {} elements: extension: {array: true, min: 2, index: 9} codeSCT: match: {} schema: short: Optional slice for representing SNOMED CT medications binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medication-snomed-uv-ips'} index: 10 elements: display: extensions: translation: url: null index: 11 extensions: {} elements: extension: {array: true, min: 2, index: 12} elements: extension: index: 11 slicing: slices: translation: match: {} schema: index: 11 extensions: {} elements: extension: {array: true, min: 2, index: 12} codeCCDD: match: {} schema: short: Slice for representing Canadian Clinical Drug Data Set codes binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'} mustSupport: true index: 13 elements: display: extensions: translation: url: null index: 14 extensions: {} elements: extension: {array: true, min: 2, index: 15} elements: extension: index: 14 slicing: slices: translation: match: {} schema: index: 14 extensions: {} elements: extension: {array: true, min: 2, index: 15} codeLNHP: match: {} schema: short: Optional slice for representing NPN and DIN-HM codes in the Licensed Natural Health Products Database binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/LicensedNaturalHealthProducts'} index: 16 elements: display: extensions: translation: url: null index: 17 extensions: {} elements: extension: {array: true, min: 2, index: 18} elements: extension: index: 17 slicing: slices: translation: match: {} schema: index: 17 extensions: {} elements: extension: {array: true, min: 2, index: 18} form: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'} mustSupport: true index: 19 elements: coding: mustSupport: true index: 20 elements: display: extensions: translation: url: null index: 21 extensions: {} elements: extension: {array: true, min: 2, index: 22} elements: extension: index: 21 slicing: slices: translation: match: {} schema: index: 21 extensions: {} elements: extension: {array: true, min: 2, index: 22} slicing: rules: open description: Discriminated by value set discriminator: - {path: $this, type: pattern} min: null slices: formSCTCA: match: {} schema: short: Optional slice for representing SNOMED CT Canadian edition dose forms binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'} index: 23 elements: display: extensions: translation: url: null index: 24 extensions: {} elements: extension: {array: true, min: 2, index: 25} elements: extension: index: 24 slicing: slices: translation: match: {} schema: index: 24 extensions: {} elements: extension: {array: true, min: 2, index: 25} ingredient: mustSupport: true index: 26 elements: item: choices: [] index: 28 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: itemCodeableConcept: match: {} schema: mustSupport: true choices: [itemCodeableConcept] index: 30 itemCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: item index: 31 slicing: slices: itemCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 31} item[x]: elements: coding: mustSupport: true index: 32 elements: display: extensions: translation: url: null index: 33 extensions: {} elements: extension: {array: true, min: 2, index: 34} elements: extension: index: 33 slicing: slices: translation: match: {} schema: index: 33 extensions: {} elements: extension: {array: true, min: 2, index: 34} slicing: rules: open description: Discriminated by value set discriminator: - {path: $this, type: pattern} min: null slices: ingredientSCTCA: match: {} schema: short: Optional slice for representing SNOMED CT Canadian edition drug active substances binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode'} mustSupport: true index: 35 elements: display: extensions: translation: url: null index: 36 extensions: {} elements: extension: {array: true, min: 2, index: 37} elements: extension: index: 36 slicing: slices: translation: match: {} schema: index: 36 extensions: {} elements: extension: {array: true, min: 2, index: 37} strength: {type: Ratio, mustSupport: true, index: 38} package_version: 1.0.36 extensions: strength: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', max: 1, type: Extension, short: Extension for representing overall medication strength., index: 2} class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication base: http://hl7.org/fhir/StructureDefinition/Medication version: 0.11.0 required: [meta, code]