PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient-summary@0.11.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationstatement
description: This profile defines a set of constraints to the FHIR MedicationStatement resource for use in Ontario Patient Summaries (PS-ON).  It refines constraints applied to the MedicationStatement resource by the PS-CA project to represent a record of a medication statement in the patient summary. It is informed by the constraints of the [MedicationStatement-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-MedicationStatement-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationstatement.html) to allow for cross-border and cross-jurisdiction sharing of Medication Summary information.
package_name: ca.on.oh.patient-summary
derivation: constraint
name: MedicationStatementPSON
type: MedicationStatement
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  dosage:
    mustSupport: true
    index: 17
    elements:
      text: {mustSupport: true, index: 18}
      timing: {mustSupport: true, index: 19}
      route:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        index: 20
        elements:
          coding:
            type: Coding
            mustSupport: true
            index: 21
            slicing:
              rules: open
              description: Discriminated by value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                routeSCTCA:
                  match: {}
                  schema:
                    short: Optional slice for representing SNOMED CT Canadian edition routes of administration
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
                    index: 22
  medicationCodeableConcept:
    short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 11
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available, type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 11}
          min: 0
          max: 1
  effective[x]:
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', max: 1, type: Extension, short: 'effective[x] absence reason', mustSupport: true, index: 16}
    elements:
      extension:
        type: Extension
        short: effective[x] absence reason
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 16
        slicing:
          slices:
            data-absent-reason:
              match: {}
              schema: {type: Extension, short: 'effective[x] absence reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 16}
              max: 1
  extension:
    type: Extension
    short: Extension for representing rendered dosage instruction.
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction
    index: 2
    slicing:
      slices:
        RenderedDosageInstruction:
          match: {}
          schema: {type: Extension, short: Extension for representing rendered dosage instruction., url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 2}
          max: 1
  status: {mustSupport: true, index: 3}
  effective:
    mustSupport: true
    choices: []
    index: 15
  medicationReference:
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication']
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 8
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medication']
            type: Reference
            mustSupport: true
            choiceOf: medication
            index: 8
          min: 0
          max: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  medication:
    short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 10
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            short: Code for absent or unknown medication - or for supplying a codeableConcept when no information other than a simple code is available
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 10
          min: 0
          max: 1
package_version: 0.11.0
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', max: 1, type: Extension, short: Extension for representing rendered dosage instruction., index: 2}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationstatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 0.10.0
required: [meta, effective]