PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract@1.0.0
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationStatement
description: null
package_name: telus.dw.emr.extract
derivation: constraint
name: DwMedicationStatement
type: MedicationStatement
elements:
  meta:
    index: 1
    elements:
      lastUpdated: {index: 2}
      source: {index: 3}
    required: [lastUpdated, source]
  dosage:
    mustSupport: true
    index: 32
    elements:
      sequence: {mustSupport: true, index: 33}
      text: {mustSupport: true, index: 34}
      additionalInstruction: {mustSupport: true, index: 35}
      patientInstruction: {mustSupport: true, index: 36}
      timing:
        mustSupport: true
        index: 37
        elements:
          repeat: {mustSupport: false, index: 38}
          code:
            mustSupport: true
            index: 39
            elements:
              text: {mustSupport: true, index: 40}
      asNeeded:
        mustSupport: true
        choices: []
        index: 42
      route:
        mustSupport: true
        index: 43
        elements:
          coding:
            index: 44
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                routeSCTCA:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
                    index: 45
                    elements:
                      system: {mustSupport: true, index: 46}
                      code: {mustSupport: true, index: 47}
                      display: {mustSupport: true, index: 48}
                routeEMR:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 49
                    elements:
                      system: {mustSupport: true, index: 50}
                      code: {mustSupport: true, index: 51}
                      display: {mustSupport: true, index: 52}
          text: {mustSupport: true, index: 53}
      doseAndRate:
        elements:
          dose:
            mustSupport: true
            choices: []
            index: 55
  medication[x]:
    elements:
      coding:
        elements:
          system: {mustSupport: true, index: 21}
          code: {mustSupport: true, index: 22}
          display: {mustSupport: true, index: 23}
      text: {mustSupport: true, index: 24}
  reasonCode: {mustSupport: true, index: 29}
  medicationCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: medication
    index: 20
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 20}
  statusReason: {mustSupport: true, index: 12}
  note: {mustSupport: true, index: 31}
  extension:
    type: Extension
    isModifier: false
    mustSupport: true
    url: http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction
    index: 5
    slicing:
      slices:
        RenderedDosageInstruction:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', index: 5}
          max: 1
  status: {mustSupport: true, index: 11}
  effective:
    mustSupport: true
    choices: []
    index: 27
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 6
    elements:
      system: {index: 7}
      value: {index: 8}
    required: [value, system]
  context: {mustSupport: true, index: 25}
  dateAsserted: {mustSupport: true, index: 28}
  basedOn: {short: 'Fulfills plan, proposal or order', index: 9}
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 17
    slicing:
      slices:
        medicationReference:
          match: {}
          schema: {type: Reference, mustSupport: true, choiceOf: medication, index: 17}
  partOf: {mustSupport: true, index: 10}
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 19
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            mustSupport: true
            choices: [medicationCodeableConcept]
            index: 19
  reasonReference: {mustSupport: true, index: 30}
  text: {mustSupport: true, index: 4}
package_version: 1.0.0
extensions:
  RenderedDosageInstruction: {url: 'http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction', max: 1, type: Extension, isModifier: false, mustSupport: true, index: 5}
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationStatement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: null
required: [id, text, identifier, effective]