PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-dhdr@4.0.2-alpha1.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration
description: null
package_name: ca.on.oh-dhdr
derivation: constraint
name: MedicationAdministration
type: MedicationAdministration
elements:
  category:
    binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/dhdr-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
            index: 10
          code:
            pattern: {type: Code, value: drug}
            mustSupport: true
            index: 11
          display: {mustSupport: true, index: 12}
        required: [display, system, code]
    required: [coding]
  request:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest']
    index: 29
    elements:
      reference: {mustSupport: true, index: 30}
    required: [reference]
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
    required: [profile, source]
  dosage:
    mustSupport: true
    index: 33
    elements:
      text: {mustSupport: true, index: 34}
      route:
        mustSupport: true
        index: 35
        elements:
          coding:
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
            mustSupport: true
            index: 36
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                index: 37
              code: {mustSupport: true, index: 38}
              display: {mustSupport: true, index: 39}
            required: [display, system, code]
      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: [display, system, code]
          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: [value, unit]
      rate:
        mustSupport: true
        choices: [rateRatio, rateQuantity]
        index: 51
      rateRatio: {type: Ratio, mustSupport: true, choiceOf: rate, index: 52}
      rateQuantity: {type: Quantity, mustSupport: true, choiceOf: rate, index: 53}
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  note:
    mustSupport: true
    index: 31
    elements:
      text: {mustSupport: true, index: 32}
  effective[x]:
    elements:
      start: {mustSupport: true, index: 24}
      end: {mustSupport: true, index: 25}
    required: [start]
  status: {mustSupport: true, index: 7}
  effective:
    mustSupport: true
    choices: [effectivePeriod]
    index: 22
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 4
    elements:
      system: {mustSupport: true, index: 5}
      value: {mustSupport: true, index: 6}
    required: [value, system]
  context:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Encounter']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication']
    index: 15
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient']
    index: 17
    elements:
      reference: {mustSupport: true, index: 18}
    required: [reference]
  performer:
    mustSupport: true
    index: 26
    elements:
      actor:
        type: Reference
        mustSupport: true
        refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole']
        index: 27
        elements:
          reference: {mustSupport: true, index: 28}
        required: [reference]
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 23}
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 14
package_version: 4.0.2-alpha1.0.1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationAdministration
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 4.0.1
required: [context, request, identifier, meta, category]