description: Recommendation to administer a specific medication as part of the delivery of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg derivation: constraint name: CPGAdministerMedicationTask type: Task elements: code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} index: 0 input: mustSupport: true array: true index: 1 slicing: rules: open discriminator: - {path: type, type: value} min: 0 slices: medicationRequest: match: type: coding: - {code: order-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} schema: short: Medication to dispense mustSupport: true index: 2 elements: type: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: order-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} 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'} schema: short: Medication to dispense mustSupport: true index: 7 elements: type: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: dispense-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} 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: mustSupport: true array: true index: 12 slicing: rules: open discriminator: - {path: type, type: value} min: 0 slices: medicationAdministration: match: type: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} schema: short: Medication that was administered mustSupport: true index: 13 elements: type: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: administer-medication, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'} 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: 1.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: 1.0.0