PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.questionnaires@2.0.7
    http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireProvisioningTask
description: 'A Task resource as used within the Questionnaires (Dutch: Vragenlijsten) information standard. The vl-QuestionnaireProvisioningTask is used to prescribe a Questionnaire to the user of a PHR system and to track the status of fulfillment.'
package_name: nictiz.fhir.nl.stu3.questionnaires
derivation: constraint
name: vl-QuestionnaireProvisioningTask
type: Task
elements:
  restriction:
    elements:
      period: {index: 22}
  description: {index: 14}
  statusReason:
    index: 3
    elements:
      coding: {index: 4}
      text: {index: 5}
  authoredOn: {index: 15}
  output:
    index: 37
    slicing:
      rules: open
      discriminator:
      - {path: type.text, type: value}
      min: null
      max: 1
      slices:
        QuestionnaireResponse:
          match:
            type: {text: QuestionnaireResponse}
          schema:
            index: 38
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: QuestionnaireResponse}
                    index: 39
                required: [text]
              valueReference:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireResponse']
                index: 40
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireResponse']
                        index: 40
                        elements:
                          reference: {index: 41}
                        required: [reference]
  businessStatus: {index: 6}
  requester:
    elements:
      agent:
        type: Reference
        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner']
        index: 17
        extensions:
          practitionerRole: {url: h, max: 1, type: Extension, index: 19}
        elements:
          extension:
            index: 18
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                practitionerRole:
                  match: {url: null}
                  schema: {type: Extension, url: h, index: 19}
                  max: 1
  lastModified: {index: 16}
  status: {index: 2}
  groupIdentifier: {index: 0}
  code:
    index: 8
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            Questionnaire:
              match: {code: 74468-0, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 74468-0, system: 'http://loinc.org'}
                _required: true
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 11
                  code:
                    pattern: {type: Code, value: 74468-0}
                    index: 12
                  display: {defaultValueString: Questionnaire form definition Document, index: 13}
                required: [system, code]
  intent:
    pattern: {type: Code, value: order}
    index: 7
  input:
    index: 23
    slicing:
      rules: closed
      discriminator:
      - {path: type.text, type: value}
      min: 1
      slices:
        Questionnaire:
          match:
            type: {text: Questionnaire}
          schema:
            _required: true
            index: 24
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: Questionnaire}
                    index: 25
                required: [text]
              valueReference:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/vl-Questionnaire']
                index: 26
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://nictiz.nl/fhir/StructureDefinition/vl-Questionnaire']
                        index: 26
                        elements:
                          reference: {index: 27}
                        required: [reference]
        Subject:
          match:
            type: {text: Subject}
          schema:
            index: 28
            elements:
              type:
                elements:
                  text:
                    pattern: {type: String, value: Subject}
                    index: 29
              value:
                short: The subject of the questions
                choices: [valueReference, valueReference, valueReference, valueReference, valueReference]
                index: 31
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: The subject of the questions
                        choices: [valueReference, valueReference, valueReference, valueReference, valueReference]
                        index: 31
              valueReference:
                short: The subject of the questions
                refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
                type: Reference
                choiceOf: value
                index: 32
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: The subject of the questions
                        refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
                        type: Reference
                        choiceOf: value
                        index: 32
  partOf: {index: 1}
  owner:
    type: Reference
    refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient']
    index: 20
    elements:
      reference: {short: Person who received and recorded the answers, index: 21}
package_version: 2.0.7
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/vl-QuestionnaireProvisioningTask
base: http://hl7.org/fhir/StructureDefinition/Task
version: 1.0.1
required: [owner, lastModified, authoredOn, input, code]