description: This profile specifies constraints on the Task resource to support requests for form (Questionnaire) completion. package_name: hl7.fhir.us.davinci derivation: constraint name: TaskQuestionnaire type: Task elements: encounter: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter'] index: 4 reasonCode: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/taskReason'} index: 7 for: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 3 requester: type: Reference short: Payer requesting form completion refers: ['http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization'] index: 5 status: pattern: {type: Code, value: ready} index: 1 intent: pattern: {type: Code, value: order} index: 2 input: index: 8 slicing: slices: afterCompletion: match: {} schema: mustSupport: true array: true min: 1 _required: true index: 9 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: after-completion-action, system: 'http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp'} index: 10 value: choices: [] index: 12 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: mustSupport: true choices: [valueCodeableConcept] index: 14 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 15 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 15} min: 0 max: 1 basedOn: {mustSupport: true, index: 0} owner: type: Reference refers: ['http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner'] index: 6 package_version: crd-2.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-taskquestionnaire base: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task version: 2.0.0 required: [for, input]