PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@hrex-1.1.0-ballot
    http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request
description: This Task profile is used to solicit information from a system when direct query is not possible and human intervention might be required
package_name: hl7.fhir.us.davinci
derivation: constraint
name: HRexTaskDataRequest
type: Task
elements:
  reasonCode:
    mustSupport: true
    index: 13
    elements:
      text: {mustSupport: true, index: 14}
    required: [text]
  statusReason:
    mustSupport: true
    index: 2
    elements:
      text: {mustSupport: true, index: 3}
    required: [text]
  authoredOn: {mustSupport: true, index: 10}
  output:
    mustSupport: true
    index: 27
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        data:
          match:
            type:
              coding:
              - {code: data-value, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
          schema:
            short: Requested data
            mustSupport: true
            array: true
            index: 28
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-value, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 29
              value:
                short: data reference
                mustSupport: true
                choices: [valueReference]
                index: 31
              valueReference: {type: Reference, short: data reference, mustSupport: true, choiceOf: value, index: 32}
  businessStatus:
    short: E.g. 'waiting on internal review'
    mustSupport: true
    index: 4
    elements:
      text: {mustSupport: true, index: 5}
    required: [text]
  for:
    type: Reference
    short: Member being queried
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|6.1.0']
    index: 9
  requester:
    type: Reference
    short: Who is asking for data
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner']
    index: 11
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-hrex/ValueSet/hrex-task-status'}
    mustSupport: true
    index: 1
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: data-request, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
    index: 7
  intent:
    pattern: {type: Code, value: order}
    mustSupport: true
    index: 6
  focus: {index: 8}
  input:
    mustSupport: true
    index: 16
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        query:
          match:
            type:
              coding:
              - {code: data-query, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
          schema:
            short: Requested query
            mustSupport: true
            index: 17
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-query, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 18
              value:
                short: query value
                mustSupport: true
                choices: [valueString]
                index: 20
              valueString: {type: string, short: query value, mustSupport: true, choiceOf: value, index: 21}
        code:
          match:
            type:
              coding:
              - {code: data-code, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
          schema:
            short: Requested data code
            mustSupport: true
            index: 22
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-code, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 23
              value:
                short: query value
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 25
              valueCodeableConcept: {type: CodeableConcept, short: query value, mustSupport: true, choiceOf: value, index: 26}
  basedOn: {short: Authorization for data request, mustSupport: true, index: 0}
  owner:
    type: Reference
    short: Who is being asked for data
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner']
    index: 12
  reasonReference:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Claim', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage']
    index: 15
package_version: hrex-1.1.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request
base: http://hl7.org/fhir/StructureDefinition/Task
version: 1.1.0-ballot
required: [owner, authoredOn, requester, for, input, code]