PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.sdoh@clinicalcare-2.2.0
    http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-TaskForReferralManagement
description: Profile for tasks requesting fulfillment of an SDOHCC ServiceRequest (i.e. referral for service) and subsequently tracking and managing the fulfillment of that referral.
package_name: hl7.fhir.us.sdoh
derivation: constraint
name: SDOHCCTaskForReferralManagement
type: Task
elements:
  statusReason:
    mustSupport: true
    index: 3
    elements:
      text: {mustSupport: true, index: 4}
    required: [text]
  authoredOn: {mustSupport: true, index: 10}
  output:
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      - {path: value, type: type}
      min: null
      slices:
        PerformedActivityReference:
          match:
            type:
              coding:
              - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
          schema:
            mustSupport: true
            array: true
            index: 14
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
                index: 15
              value:
                choices: []
                index: 17
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueReference]
                        _required: true
                        index: 19
                      min: 1
                      max: 1
              valueReference:
                refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Procedure']
                type: Reference
                mustSupport: true
                choiceOf: value
                index: 20
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Procedure']
                        type: Reference
                        mustSupport: true
                        _required: true
                        choiceOf: value
                        index: 20
                      min: 1
                      max: 1
            required: [valueReference]
        PerformedActivityCode:
          match:
            type:
              coding:
              - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
          schema:
            mustSupport: true
            array: true
            index: 21
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
                index: 22
              value:
                choices: []
                index: 24
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: [valueCodeableConcept]
                        _required: true
                        index: 26
                      min: 1
                      max: 1
              valueCodeableConcept:
                type: CodeableConcept
                mustSupport: true
                choiceOf: value
                index: 27
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, _required: true, index: 27}
                      min: 1
                      max: 1
            required: [valueCodeableConcept]
  for:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 9
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
    index: 11
  priority: {mustSupport: true, index: 6}
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/sdoh-clinicalcare/ValueSet/SDOHCC-ValueSetReferralTaskStatus'}
    mustSupport: true
    index: 2
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: fulfill, system: 'http://hl7.org/fhir/CodeSystem/task-code'}
    index: 7
  intent:
    short: order
    pattern: {type: Code, value: order}
    index: 5
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ServiceRequest']
    index: 8
  partOf:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        SupportedPartOf:
          match: {}
          schema:
            refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-TaskForReferralManagement']
            type: Reference
            mustSupport: true
            array: true
            index: 1
          min: 0
  owner: {mustSupport: true, index: 12}
package_version: clinicalcare-2.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-TaskForReferralManagement
base: http://hl7.org/fhir/StructureDefinition/Task
version: 2.2.0
required: [authoredOn, requester, focus, for, code]