description: Definition of an activity to enroll or unenroll a patient in a strategy or pathway as part of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg derivation: constraint name: CPGEnrollmentActivity type: ActivityDefinition elements: extension: type: Extension mustSupport: true url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollIn index: 0 slicing: slices: enrollIn: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollIn', index: 0} min: 0 max: 1 isUnenrollment: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', index: 1} min: 0 max: 1 kind: type: code pattern: {type: Code, value: Task} mustSupport: true index: 2 profile: short: At least a CPG Questionnaire Task type: canonical mustSupport: true pattern: {type: Canonical, value: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmenttask'} index: 3 intent: type: code pattern: {type: Code, value: proposal} mustSupport: true index: 4 doNotPerform: {mustSupport: true, index: 5} package_version: 1.0.0 extensions: enrollIn: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollIn', min: 0, max: 1, type: Extension, mustSupport: true, index: 0} isUnenrollment: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmentactivity base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableactivity version: 1.0.0 required: [profile, intent, kind, doNotPerform]