PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@hrex-0.2.0
    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: 12
    elements:
      text: {mustSupport: true, index: 13}
    required: [text]
  statusReason:
    mustSupport: true
    index: 2
    elements:
      text: {mustSupport: true, index: 3}
    required: [text]
  authoredOn: {mustSupport: true, index: 9}
  output:
    mustSupport: true
    index: 26
    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
            index: 27
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-value, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 28
              value:
                short: data reference
                mustSupport: true
                choices: [valueReference]
                index: 30
              valueReference: {type: Reference, short: data reference, mustSupport: true, choiceOf: value, index: 31}
  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']
    index: 8
  requester:
    type: Reference
    short: Who is asking for data
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner']
    index: 10
  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
  input:
    mustSupport: true
    index: 15
    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: 16
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-query, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 17
              value:
                short: query value
                mustSupport: true
                choices: [valueString]
                index: 19
              valueString: {type: string, short: query value, mustSupport: true, choiceOf: value, index: 20}
        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: 21
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: data-code, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
                index: 22
              value:
                short: query value
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, short: query value, mustSupport: true, choiceOf: value, index: 25}
  basedOn: {short: Also known as Member identifier, mustSupport: true, index: 0}
  owner:
    type: Reference
    short: Who is being asked for data
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner']
    index: 11
  reasonReference:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Claim', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage']
    index: 14
package_version: hrex-0.2.0
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: 0.2.0
required: [owner, authoredOn, requester, for, input, code]