description: Recommendation to report a flag as part of the delivery of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg.r4b derivation: constraint name: CPGReportFlagTask type: Task elements: code: pattern: type: CodeableConcept value: coding: - {code: report-flag, 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: 1 slices: flag: match: type: coding: - {code: report-flag, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Reported flag mustSupport: true _required: true index: 2 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: report-flag, 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-flag'] index: 6 package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportflagtask base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task version: 2.0.0-ballot required: [input]