description: Recommendation to collect specific information using a particular questionnaire as part of the delivery of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg derivation: constraint name: CPGQuestionnaireTask type: Task elements: code: pattern: type: CodeableConcept value: coding: - {code: collect-information, 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: questionnaire: match: type: coding: - {code: collect-information, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Questionnaire to use mustSupport: true _required: true index: 2 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: collect-information, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 3 value: mustSupport: true choices: [valueCanonical] index: 5 valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 6} output: index: 7 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: questionnaireResponse: match: type: coding: - {code: collect-information, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} schema: short: Response mustSupport: true index: 8 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: collect-information, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs'} index: 9 value: mustSupport: true choices: [valueReference] index: 11 valueReference: type: Reference mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnaireresponse'] index: 12 package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-questionnairetask base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task version: 2.0.0-ballot required: [input]