description: Recommendation to administer a specific medication as part of the delivery of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg.r4 derivation: constraint name: CPGAdministerMedicationTask type: Task elements: code: pattern: type: CodeableConcept value: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 0 input: mustSupport: true index: 1 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: medicationRequest: match: type: coding: - {code: order-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Medication to dispense mustSupport: true index: 2 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: order-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 3 value: mustSupport: true choices: [valueReference] index: 5 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest'] index: 6 medicationDispense: match: type: coding: - {code: dispense-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Medication to dispense mustSupport: true index: 7 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: dispense-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 8 value: mustSupport: true choices: [valueReference] index: 10 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationdispense'] index: 11 output: index: 12 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: medicationAdministration: match: type: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Medication that was administered mustSupport: true index: 13 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 14 value: mustSupport: true choices: [valueReference] index: 16 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationadministration'] index: 17 package_version: 2.0.0 class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-administermedicationtask base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task version: 2.0.0