description: Proposal to enroll the patient in a strategy or pathway as part of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg.r4b derivation: constraint name: CPGEnrollmentTask type: Task elements: modifierExtension: type: Extension mustSupport: true url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment index: 0 slicing: slices: isUnenrollment: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', index: 0} min: 0 max: 1 code: pattern: type: CodeableConcept value: coding: - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 1 input: mustSupport: true index: 2 slicing: rules: open discriminator: - {path: type, type: value} min: 1 slices: pathway: match: type: coding: - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Pathway or Strategy mustSupport: true _required: true index: 3 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 4 value: mustSupport: true choices: [valueCanonical] index: 6 valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 7} output: index: 8 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: case: match: type: coding: - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Response mustSupport: true index: 9 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 10 value: mustSupport: true choices: [valueReference] index: 12 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-case'] index: 13 package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmenttask base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task version: 2.0.0-ballot required: [input]