http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task|4.0.0-ballot

Defines how Task is used to ask for a Questionnaire to be completed
description: Defines how Task is used to ask for a Questionnaire to be completed
derivation: constraint
name: SDCTaskQuestionnaire
type: Task
elements:
  reasonCode: {mustSupport: true, index: 8}
  authoredOn: {mustSupport: true, index: 5}
  output:
    mustSupport: true
    index: 18
    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: 19
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: questionnaire-response, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'}
                index: 20
              value:
                short: url
                mustSupport: true
                choices: []
                index: 22
  for: {short: Patient or other Questionnaire is for, mustSupport: true, index: 4}
  requester: {mustSupport: true, index: 6}
  status: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/sdc/ValueSet/task-code'}
    index: 2
  intent: {mustSupport: true, index: 1}
  focus: {mustSupport: true, 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: []
                index: 13
        responseEndpoint:
          match:
            type:
              coding:
              - {code: response-endpoint, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'}
          schema:
            mustSupport: true
            array: true
            index: 14
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: response-endpoint, system: 'http://hl7.org/fhir/uv/sdc/CodeSystem/temp'}
                index: 15
              value:
                short: url
                mustSupport: true
                choices: []
                index: 17
  owner: {short: Who should complete questionnaire, mustSupport: true, index: 7}
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]