PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.dhdr.r4@4.0.3-snapshot2
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration-submission
description: null
package_name: rs/ca.on.dhdr.r4
derivation: constraint
name: MedicationAdministrationDHDRSubmission
type: MedicationAdministration
elements:
  category:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/dispense-category'}
    mustSupport: true
    index: 9
    elements:
      coding:
        mustSupport: true
        index: 10
        elements:
          system:
            pattern: {type: uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/dispense-category'}
            mustSupport: true
            type: uri
            index: 11
          code:
            pattern: {type: code, value: drug}
            mustSupport: true
            type: code
            index: 12
          display: {mustSupport: true, index: 13}
        required: [code, display, system]
    required: [coding]
  request:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission']
    index: 28
    elements:
      reference: {mustSupport: true, index: 29}
    required: [reference]
  meta:
    mustSupport: true
    index: 0
    elements:
      source: {mustSupport: true, index: 1}
      profile: {mustSupport: true, index: 2}
    required: [profile, source]
  dosage:
    mustSupport: true
    index: 32
    elements:
      text: {mustSupport: true, index: 33}
      route:
        mustSupport: true
        index: 34
        elements:
          coding:
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
            mustSupport: true
            index: 35
            elements:
              system:
                pattern: {type: uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                type: uri
                index: 36
              code: {mustSupport: true, index: 37}
              display: {mustSupport: true, index: 38}
            required: [code, display, system]
          text: {mustSupport: true, index: 39}
      method:
        mustSupport: true
        index: 40
        elements:
          coding:
            mustSupport: true
            index: 41
            elements:
              system: {mustSupport: true, index: 42}
              code: {mustSupport: true, index: 43}
              display: {mustSupport: true, index: 44}
            required: [code, display, system]
          text: {mustSupport: true, index: 45}
      dose:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit'}
        mustSupport: true
        index: 46
        elements:
          value: {mustSupport: true, index: 47}
          unit: {mustSupport: true, index: 48}
          system: {mustSupport: true, index: 49}
        required: [unit, value]
      rate:
        mustSupport: true
        choices: [rateQuantity]
        index: 66
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [rateQuantity]
                index: 66
              min: 0
              max: 1
      rateRatio:
        type: Ratio
        mustSupport: true
        choiceOf: rate
        index: 54
        slicing:
          slices:
            rateRatio:
              match: {}
              schema: {type: Ratio, mustSupport: true, choiceOf: rate, index: 54}
              min: 0
              max: 1
      rate[x]:
        elements:
          value: {mustSupport: true, index: 68}
          unit: {mustSupport: true, index: 69}
          system: {mustSupport: true, index: 70}
          code: {mustSupport: true, index: 71}
      rateQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: rate
        index: 67
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: rate, index: 67}
              min: 0
              max: 1
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 17}
    required: [reference]
  note:
    mustSupport: true
    index: 30
    elements:
      text: {mustSupport: true, index: 31}
  effective[x]:
    elements:
      start: {mustSupport: true, index: 23}
      end: {mustSupport: true, index: 24}
    required: [start]
  status: {mustSupport: true, index: 8}
  effective:
    mustSupport: true
    choices: [effectivePeriod]
    index: 21
  identifier:
    mustSupport: true
    index: 3
    elements:
      system: {mustSupport: true, index: 4}
      value: {mustSupport: true, index: 5}
    required: [system, value]
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission']
    index: 16
  partOf:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration-submission']
    index: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission']
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
    required: [reference]
  performer:
    mustSupport: true
    index: 25
    elements:
      actor:
        type: Reference
        mustSupport: true
        refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-submission', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole-submission']
        index: 26
        elements:
          reference: {mustSupport: true, index: 27}
        required: [reference]
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 22}
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 15
package_version: 4.0.3-snapshot2
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration-submission
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 4.0.2
required: [category, identifier, meta, request]