description: Defines how Task is used to ask for a Questionnaire to be completed package_name: hl7.fhir.uv.sdc derivation: constraint name: SDCTaskQuestionnaire type: Task elements: reasonCode: {mustSupport: true, index: 8} authoredOn: {mustSupport: true, index: 5} output: mustSupport: true index: 20 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: response: match: type: coding: - {code: questionnaire-response, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} schema: mustSupport: true index: 21 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: questionnaire-response, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} index: 22 value: short: url mustSupport: true choices: [valueReference] index: 24 valueReference: type: Reference short: url mustSupport: true choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse'] index: 25 for: {short: Patient or other Questionnaire is for, mustSupport: true, index: 4} requester: {mustSupport: true, index: 6} status: {mustSupport: true, index: 0} code: binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/sdc/ValueSet/task-code'} mustSupport: true index: 2 intent: {mustSupport: true, index: 1} focus: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest'] index: 3 input: mustSupport: true index: 9 slicing: rules: open discriminator: - {path: type, type: value} min: null slices: questionnaire: match: type: coding: - {code: questionnaire, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} schema: mustSupport: true index: 10 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: questionnaire, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} index: 11 value: short: url mustSupport: true choices: [valueCanonical] index: 13 valueCanonical: {type: canonical, short: url, mustSupport: true, choiceOf: value, index: 14} responseEndpoint: match: type: coding: - {code: response-endpoint, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} schema: mustSupport: true array: true index: 15 elements: type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: response-endpoint, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'} index: 16 value: short: url mustSupport: true choices: [valueUrl] index: 18 valueUrl: {type: url, short: url, mustSupport: true, choiceOf: value, index: 19} owner: {short: Who should complete questionnaire, mustSupport: true, index: 7} package_version: 4.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task base: http://hl7.org/fhir/StructureDefinition/Task version: 4.0.0-ballot required: [authoredOn, requester, code]