PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@1.0.0-dft-preballot-beta2
    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:
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    mustSupport: true
    index: 0
    elements:
      coding:
        mustSupport: true
        index: 1
        elements:
          system: {mustSupport: true, index: 2}
          code: {mustSupport: true, index: 3}
          display: {mustSupport: true, index: 4}
        required: [system, code]
      text: {mustSupport: true, index: 5}
  form:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode'}
    mustSupport: true
    index: 6
    elements:
      text: {mustSupport: true, index: 7}
  ingredient:
    elements:
      item:
        choices: []
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 11
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 12
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 12}
              min: 0
              max: 1
package_version: 1.0.0-dft-preballot-beta2
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medication-ca-core
base: http://hl7.org/fhir/StructureDefinition/Medication
version: null
required: [code]