PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pas@2.1.0
    http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-task
description: PAS constraints on Task resource that is used to request additional documentation for prior authorizations.
package_name: hl7.fhir.us.davinci-pas
derivation: constraint
name: PASTask
type: Task
elements:
  restriction:
    elements:
      period: {mustSupport: true, index: 12}
  reasonCode:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: priorAuthorization, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
    index: 10
  statusReason: {mustSupport: true, index: 2}
  for:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary']
    index: 5
  requester:
    short: Provider ID - only send the identifier
    mustSupport: true
    index: 6
    elements:
      identifier: {mustSupport: true, index: 7}
    required: [identifier]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-hrex/ValueSet/hrex-task-status'}
    mustSupport: true
    index: 1
  code:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pas/ValueSet/PASTaskCodes'}
    mustSupport: true
    index: 4
  identifier: {short: Payers tracking identifier, mustSupport: true, index: 0}
  intent:
    mustSupport: true
    pattern: {type: Code, value: order}
    index: 3
  input:
    mustSupport: true
    array: true
    min: 2
    index: 13
    slicing:
      rules: open
      description: Different slices for identifying different types of information for the Task.
      discriminator:
      - {path: type, type: value}
      min: 2
      slices:
        PayerURL:
          match:
            type:
              coding:
              - {code: payer-url, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            mustSupport: true
            _required: true
            index: 14
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: payer-url, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 15
              value:
                choices: [valueUrl]
                index: 17
              valueUrl: {type: url, choiceOf: value, index: 18}
        AttachmentsNeeded:
          match:
            type:
              coding:
              - {code: attachments-needed, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            mustSupport: true
            array: true
            index: 19
            extensions:
              paLineNumber: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber', min: 1, max: 1, type: Extension, mustSupport: true, index: 21}
            elements:
              extension:
                index: 20
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    paLineNumber:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber', index: 21}
                      min: 1
                      max: 1
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: attachments-needed, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 22
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 25}
            required: [extension]
        QuestionnaireContext:
          match:
            type:
              coding:
              - {code: questionnaire-context, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
          schema:
            mustSupport: true
            array: true
            index: 26
            extensions:
              paLineNumber: {url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber', min: 1, max: 1, type: Extension, mustSupport: true, index: 28}
            elements:
              extension:
                index: 27
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    paLineNumber:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber', index: 28}
                      min: 1
                      max: 1
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: questionnaire-context, system: 'http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes'}
                index: 29
              value:
                mustSupport: true
                choices: [valueString]
                index: 31
              valueString: {type: string, mustSupport: true, choiceOf: value, index: 32}
            required: [extension]
  owner:
    short: Provider ID - only send the identifier
    mustSupport: true
    index: 8
    elements:
      identifier: {mustSupport: true, index: 9}
    required: [identifier]
  reasonReference:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-claim']
    index: 11
package_version: 2.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-task
base: http://hl7.org/fhir/StructureDefinition/Task
version: 2.1.0
required: [for, identifier, reasonCode, code, reasonReference]