PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@cdex-1.1.0-ballot
    http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request
description: This Task profile is based upon the [Da Vinci Hrex Task Data Request](http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request). It adds the following additional constraints for CDEX:\n- A 'meta.tag' element representing work-queue hints.\n- A `Task.input` element slice representing the types of documents to be returned using the extensible LOINC® Document types value set.\n- A `Task.input` element slice representing a flag to indicate whether the requested data requires a signature.\n- A `Task.input` element slice representing the purpose of use for the requested data using an extensible *CDex Purpose of Use Value Set*.
package_name: hl7.fhir.us.davinci
derivation: constraint
name: CDexTaskDataRequest
type: Task
elements:
  meta:
    index: 0
    elements:
      tag:
        index: 1
        elements:
          system: {index: 2}
          code: {index: 3}
        required: [code]
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            work-queue:
              match: {}
              schema:
                short: Work Queue Tag
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-cdex/ValueSet/cdex-work-queue'}
                index: 4
  input:
    index: 5
    slicing:
      slices:
        code:
          match: {}
          schema:
            index: 5
            elements:
              valueCodeableConcept:
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type'}
                index: 6
            required: [valueCodeableConcept]
        signature:
          match: {}
          schema:
            short: Signature flag
            mustSupport: true
            index: 7
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: signature-flag, system: 'http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp'}
                index: 8
              value:
                short: Signature flag value
                mustSupport: true
                choices: [valueBoolean]
                index: 10
              valueBoolean: {type: boolean, short: Signature flag value, mustSupport: true, choiceOf: value, index: 11}
        POU:
          match: {}
          schema:
            short: Purpose of use code
            mustSupport: true
            index: 12
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: purpose-of-use, system: 'http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp'}
                index: 13
              value:
                short: Purpose of use value
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 15
              valueCodeableConcept: {type: CodeableConcept, short: Purpose of use value, mustSupport: true, choiceOf: value, index: 16}
package_version: cdex-1.1.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request
base: http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request
version: 1.1.0-ballot