PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@1.0.1-dft-preballot
    http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core
description: This profile applies constraints to the Medication resource for CA Core+ to support representation of medication products in the pan-Canadian context.
package_name: ca.infoway.io.core
derivation: constraint
name: MedicationCACore
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        strengthDescription:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 1}
          min: 0
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        elements:
          system: {mustSupport: true, index: 4}
          code: {mustSupport: true, index: 5}
          display: {mustSupport: true, index: 6}
        required: [code, system]
      text: {index: 7}
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    mustSupport: true
    index: 8
  ingredient:
    elements:
      item:
        choices: []
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 12
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 13
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 13}
              min: 0
              max: 1
package_version: 1.0.1-dft-preballot
extensions:
  strengthDescription: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', min: 0, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.0.0
required: [code]