PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient@summary-0.12.5
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication
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.patient
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
            elements:
              url:
                pattern: {type: Uri, value: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description'}
                index: 3
  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: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 6
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 7}
            elements:
              extension:
                index: 6
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 6
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 7}
        slicing:
          rules: open
          description: Discriminated by value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            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: 8
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 9
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 10}
                    elements:
                      extension:
                        index: 9
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 9
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 10}
            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: 11
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 12
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 13}
                    elements:
                      extension:
                        index: 12
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 12
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 13}
            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: 14
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 15
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 16}
                    elements:
                      extension:
                        index: 15
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 15
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 16}
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    mustSupport: true
    index: 17
    elements:
      coding:
        mustSupport: true
        index: 18
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 19
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 20}
            elements:
              extension:
                index: 19
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 19
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 20}
        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: 21
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 22
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 23}
                    elements:
                      extension:
                        index: 22
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 22
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 23}
  ingredient:
    mustSupport: true
    index: 24
    elements:
      item:
        choices: []
        index: 26
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [itemCodeableConcept]
                index: 28
      itemCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 29
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 29}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 30
            elements:
              display:
                extensions:
                  translation:
                    url: null
                    index: 31
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 32}
                elements:
                  extension:
                    index: 31
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 31
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 32}
            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: 33
                    elements:
                      display:
                        extensions:
                          translation:
                            url: null
                            index: 34
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 35}
                        elements:
                          extension:
                            index: 34
                            slicing:
                              slices:
                                translation:
                                  match: {}
                                  schema:
                                    index: 34
                                    extensions: {}
                                    elements:
                                      extension: {array: true, min: 2, index: 35}
      strength: {type: Ratio, mustSupport: true, index: 36}
package_version: summary-0.12.5
extensions:
  strength:
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description
    type: Extension
    short: Extension for representing overall medication strength.
    index: 2
    elements:
      url:
        pattern: {type: Uri, value: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description'}
        index: 3
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]