PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@emed-4.0.0
    http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationadministration
description: Definition of the medication administration for the medication dispense document
package_name: ch.fhir.ig.ch
derivation: constraint
name: CHEMEDMedicationAdministration
type: MedicationAdministration
elements:
  dosage:
    index: 20
    elements:
      route:
        short: Route of administration
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-emed/ValueSet/edqm-routeofadministration'}
        index: 21
        elements:
          coding:
            mustSupport: true
            index: 22
            elements:
              system: {index: 23}
              code: {index: 24}
            required: [system, code]
        required: [coding]
      dose: {type: Quantity, short: Amount of medication administered, mustSupport: true, index: 25}
  reasonCode: {short: Treatment reason, index: 19}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        prescription:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication prescription, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', index: 2}
          min: 0
          max: 1
        pharmaceuticalAdvice:
          match: {url: null}
          schema: {type: Extension, short: Reference to the pharmaceutical advice, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice', index: 3}
          min: 0
          max: 1
        treatmentPlan:
          match: {url: null}
          schema: {type: Extension, short: Reference to the medication treatment plan, url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', index: 4}
          min: 0
          max: 1
  contained: {index: 0}
  status:
    pattern: {type: Code, value: completed}
    index: 8
  identifier:
    short: MedicationAdministration Identifier
    index: 5
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        index: 6
      value: {short: Identifier value as UUID, index: 7}
    required: [value, system]
  medicationReference:
    short: Reference to the contained medication
    refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication-medicationdispense']
    type: Reference
    choiceOf: medication
    index: 13
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            short: Reference to the contained medication
            refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medication-medicationdispense']
            type: Reference
            choiceOf: medication
            index: 13
          min: 0
          max: 1
  subject:
    type: Reference
    short: Patient
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    index: 14
    elements:
      reference: {index: 15}
    required: [reference]
  performer:
    index: 16
    elements:
      actor:
        type: Reference
        short: The author of the medical decision, see also 'Guidance - Authorship'
        refers: ['http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-practitionerrole']
        index: 17
        elements:
          reference: {index: 18}
        required: [reference]
  medication:
    choices: []
    index: 10
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            short: Reference to the contained medication
            choices: [medicationReference]
            index: 12
          min: 0
          max: 1
package_version: emed-4.0.0
extensions:
  prescription: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription', min: 0, max: 1, type: Extension, short: Reference to the medication prescription, index: 2}
  pharmaceuticalAdvice: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-pharmaceuticaladvice', min: 0, max: 1, type: Extension, short: Reference to the pharmaceutical advice, index: 3}
  treatmentPlan: {url: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan', min: 0, max: 1, type: Extension, short: Reference to the medication treatment plan, index: 4}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationadministration
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 4.0.0
required: [dosage, identifier, contained, performer]