PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@1.1.0-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:
        strength:
          match: {url: null}
          schema: {type: Extension, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 1}
          min: 0
          max: 1
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    index: 2
    elements:
      coding:
        elements:
          system: {index: 3}
          display: {index: 4}
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    index: 5
    elements:
      text: {mustSupport: true, index: 6}
  ingredient:
    elements:
      item:
        choices: []
        index: 8
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 10
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 11
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 11}
              min: 0
              max: 1
  batch:
    elements:
      lotNumber: {index: 12}
package_version: 1.1.0-dft-preballot
extensions:
  strength: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', min: 0, max: 1, type: Extension, 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.1.0
required: [code]