PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot4
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationAdministration
description: null
package_name: ca.on.ehr.r4
derivation: constraint
name: MedicationAdministrationEHR
type: MedicationAdministration
elements:
  category:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/dispense-category'}
    mustSupport: true
    index: 8
    elements:
      coding:
        index: 9
        elements:
          system: {index: 10}
        required: [system]
    required: [coding]
  request:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationRequest']
    index: 29
    elements:
      reference: {mustSupport: true, index: 30}
    required: [reference]
  meta:
    mustSupport: true
    index: 0
    elements:
      source: {mustSupport: true, index: 1}
    required: [source]
  dosage:
    mustSupport: true
    index: 33
    elements:
      text: {mustSupport: true, index: 34}
      route:
        type: CodeableConcept
        mustSupport: true
        index: 35
        elements:
          coding:
            binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
            mustSupport: true
            index: 36
            elements:
              system: {index: 37}
            required: [system]
      method:
        type: CodeableConcept
        mustSupport: true
        index: 38
        elements:
          coding:
            index: 39
            elements:
              system: {index: 40}
            required: [system]
      dose:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondosequantityunit'}
        mustSupport: true
        index: 41
        elements:
          value: {mustSupport: true, index: 42}
          unit: {mustSupport: true, index: 43}
          system: {mustSupport: true, index: 44}
        required: [value, unit]
      rate:
        mustSupport: true
        choices: [rateQuantity]
        index: 61
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [rateQuantity]
                index: 61
              min: 0
              max: 1
      rateRatio:
        type: Ratio
        mustSupport: true
        choiceOf: rate
        index: 49
        slicing:
          slices:
            rateRatio:
              match: {}
              schema: {type: Ratio, mustSupport: true, choiceOf: rate, index: 49}
              min: 0
              max: 1
      rate[x]:
        elements:
          value: {mustSupport: true, index: 63}
          unit: {mustSupport: true, index: 64}
          system: {mustSupport: true, index: 65}
          code: {mustSupport: true, index: 66}
      rateQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: rate
        index: 62
        slicing:
          slices:
            rateQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: rate, index: 62}
              min: 0
              max: 1
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 18
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 18}
          min: 0
          max: 1
  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
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    required: [value, system]
  medicationReference:
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medication']
    type: Reference
    mustSupport: true
    choiceOf: medication
    index: 15
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medication']
            type: Reference
            mustSupport: true
            choiceOf: medication
            index: 15
          min: 0
          max: 1
  partOf:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationAdministration']
    index: 5
    elements:
      reference: {mustSupport: true, index: 6}
    required: [reference]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  performer:
    mustSupport: true
    index: 26
    elements:
      actor:
        type: Reference
        mustSupport: true
        refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
        index: 27
        elements:
          reference: {mustSupport: true, index: 28}
        required: [reference]
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 23}
  medication:
    choices: [medicationCodeableConcept]
    index: 17
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 17
          min: 0
          max: 1
package_version: 1.0.0-snapshot4
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-medicationAdministration
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 1.0.0
required: [request, identifier, meta, category]