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.r4b derivation: constraint name: CPGEnrollmentActivity type: ActivityDefinition elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: enrollIn: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollIn', index: 1} min: 0 max: 1 modifierExtension: index: 2 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: isUnenrollment: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', index: 3} min: 0 max: 1 kind: pattern: {type: Code, value: Task} index: 4 profile: short: At least a CPG Questionnaire Task pattern: {type: Canonical, value: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmenttask'} index: 5 intent: pattern: {type: Code, value: proposal} mustSupport: true index: 6 doNotPerform: {mustSupport: true, index: 7} package_version: 2.0.0-ballot extensions: enrollIn: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollIn', 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: 2.0.0-ballot required: [profile, intent, doNotPerform]