PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.dhdr.r4@4.0.3-snapshot3
    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: 8
    elements:
      coding:
        mustSupport: true
        index: 9
        elements:
          system:
            pattern: {type: uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/dispense-category'}
            mustSupport: true
            type: uri
            index: 10
          code:
            pattern: {type: code, value: drug}
            mustSupport: true
            type: code
            index: 11
          display: {mustSupport: true, index: 12}
        required: [code, display, system]
    required: [coding]
  request:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission']
    index: 27
    elements:
      reference: {mustSupport: true, index: 28}
    required: [reference]
  meta:
    mustSupport: true
    index: 0
    elements:
      source: {mustSupport: true, index: 1}
    required: [source]
  dosage:
    mustSupport: true
    index: 31
    elements:
      text: {mustSupport: true, index: 32}
      route:
        mustSupport: true
        index: 33
        elements:
          coding:
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
            mustSupport: true
            index: 34
            elements:
              system:
                pattern: {type: uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                type: uri
                index: 35
              code: {mustSupport: true, index: 36}
              display: {mustSupport: true, index: 37}
            required: [code, display, system]
          text: {mustSupport: true, index: 38}
      method:
        mustSupport: true
        index: 39
        elements:
          coding:
            mustSupport: true
            index: 40
            elements:
              system: {mustSupport: true, index: 41}
              code: {mustSupport: true, index: 42}
              display: {mustSupport: true, index: 43}
            required: [code, display, system]
          text: {mustSupport: true, index: 44}
      dose:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit'}
        mustSupport: true
        index: 45
        elements:
          value: {mustSupport: true, index: 46}
          unit: {mustSupport: true, index: 47}
          system: {mustSupport: true, index: 48}
        required: [unit, value]
      rate:
        mustSupport: true
        choices: [rateQuantity]
        index: 65
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [rateQuantity]
                index: 65
              min: 0
              max: 1
      rateRatio:
        type: Ratio
        mustSupport: true
        choiceOf: rate
        index: 53
        slicing:
          slices:
            rateRatio:
              match: {}
              schema: {type: Ratio, mustSupport: true, choiceOf: rate, index: 53}
              min: 0
              max: 1
      rate[x]:
        elements:
          value: {mustSupport: true, index: 67}
          unit: {mustSupport: true, index: 68}
          system: {mustSupport: true, index: 69}
          code: {mustSupport: true, index: 70}
      rateQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: rate
        index: 66
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: rate, index: 66}
              min: 0
              max: 1
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  note:
    mustSupport: true
    index: 29
    elements:
      text: {mustSupport: true, index: 30}
  effective[x]:
    elements:
      start: {mustSupport: true, index: 22}
      end: {mustSupport: true, index: 23}
    required: [start]
  status: {mustSupport: true, index: 7}
  effective:
    mustSupport: true
    choices: [effectivePeriod]
    index: 20
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    required: [system, value]
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission']
    index: 15
  partOf:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration-submission']
    index: 5
    elements:
      reference: {mustSupport: true, index: 6}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission']
    index: 17
    elements:
      reference: {mustSupport: true, index: 18}
    required: [reference]
  performer:
    mustSupport: true
    index: 24
    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: 25
        elements:
          reference: {mustSupport: true, index: 26}
        required: [reference]
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 21}
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 14
package_version: 4.0.3-snapshot3
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]