PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.sdoh-clinicalcare@0.1.0
    http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Task-Base-1
description: This profile constrains Tasks that address Social Determinants of Health.
package_name: hl7.fhir.us.sdoh-clinicalcare
derivation: constraint
name: SDOHCC_Task_Base_1
type: Task
elements:
  basedOn: {mustSupport: true, index: 0}
  status: {mustSupport: true, index: 1}
  intent:
    pattern: {type: Code, value: order}
    index: 2
  priority: {mustSupport: true, index: 3}
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: fulfill, system: 'http://hl7.org/fhir/CodeSystem/task-code'}
    index: 4
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ServiceRequest-Base-1']
    index: 5
  for:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 6
  output:
    index: 7
    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-temporary-codes'}
          schema:
            mustSupport: true
            index: 8
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/sdohcc-temporary-codes'}
                index: 9
              value:
                mustSupport: true
                choices: [valueReference]
                index: 11
              valueReference: {type: Reference, mustSupport: true, choiceOf: value, index: 12}
        PerformedActivityCode:
          match:
            type:
              coding:
              - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/sdohcc-temporary-codes'}
          schema:
            mustSupport: true
            index: 13
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/sdohcc-temporary-codes'}
                index: 14
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 16
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 17}
package_version: 0.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Task-Base-1
base: http://hl7.org/fhir/StructureDefinition/Task
version: 0.1.0
required: [focus, for, code]