PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.ca.baseline@1.1.6-pre
    http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-medication
description: Proposed constraints and extensions on the Medication resource.  Generated as a first step toward creating a set of Canadian Baseline FHIR profiles.
package_name: hl7.fhir.ca.baseline
derivation: constraint
name: MedicationProfile
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        medicationstrength:
          match: {url: null}
          schema: {short: 'Socialized Optional Extension: Medication Strength', type: Extension, mustSupport: false, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', index: 1}
          min: 0
          max: 1
  code:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct'}
    mustSupport: true
    index: 2
    extensions: {}
    elements:
      extension: {index: 3}
      coding:
        mustSupport: true
        index: 4
        extensions:
          isRepresentative: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative', min: 0, max: 1, short: 'Socialized Optional Extension: Code is Representative', type: Extension, mustSupport: false, index: 5}
        elements:
          extension:
            short: 'Socialized Optional Extension: Code is Representative'
            type: Extension
            mustSupport: false
            url: http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative
            index: 5
            slicing:
              slices:
                isRepresentative:
                  match: {}
                  schema: {short: 'Socialized Optional Extension: Code is Representative', type: Extension, mustSupport: false, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative', index: 5}
                  min: 0
                  max: 1
          system: {mustSupport: true, index: 6}
          code: {mustSupport: true, index: 7}
        required: [system, code]
      text: {mustSupport: true, index: 8}
  manufacturer:
    type: Reference
    refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization']
    index: 9
  form:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/dispensabledrugform'}
    index: 10
package_version: 1.1.6-pre
extensions:
  medicationstrength: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description', min: 0, max: 1, short: 'Socialized Optional Extension: Medication Strength', type: Extension, mustSupport: false, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.0.0
required: [code]