PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical@activity-1.0.0-ballot
    http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-task-for-referral-management
description: Represents a request for fulfillment of a physical activity-related referral or order and supports management of the same.
package_name: hl7.fhir.us.physical
derivation: constraint
name: PATaskForReferralManagement
type: Task
elements:
  implicitRules: {index: 0}
  statusReason:
    mustSupport: true
    index: 3
    elements:
      text: {mustSupport: true, index: 4}
  authoredOn: {mustSupport: true, index: 12}
  output:
    index: 20
    elements:
      modifierExtension: {index: 21}
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      - {path: value, type: type}
      min: null
      slices:
        PerformedActivity:
          match:
            type:
              coding:
              - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
          schema:
            mustSupport: true
            array: true
            index: 22
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: resulting-activity, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
                index: 23
              value:
                mustSupport: true
                choices: [valueCodeableConcept, valueReference]
                index: 25
              valueCodeableConcept:
                type: CodeableConcept
                mustSupport: true
                index: 28
                elements:
                  text: {mustSupport: true, index: 29}
                required: [text]
              valueReference:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport']
                index: 30
  businessStatus:
    index: 5
    elements:
      text: {mustSupport: true, index: 6}
    required: [text]
  note:
    mustSupport: true
    index: 14
    elements:
      author:
        mustSupport: true
        choices: [authorReference]
        index: 16
      authorReference:
        type: Reference
        mustSupport: true
        choiceOf: author
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner']
        index: 17
      time: {mustSupport: true, index: 18}
      text: {mustSupport: true, index: 19}
    required: [author, time, authorReference]
  for:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 11
  priority: {mustSupport: true, index: 8}
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-task-status'}
    mustSupport: true
    index: 2
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: fulfill, system: 'http://hl7.org/fhir/CodeSystem/task-code'}
    index: 9
  intent:
    short: order
    pattern: {type: Code, value: order}
    index: 7
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest']
    index: 10
  modifierExtension: {index: 1}
  owner:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
    index: 13
package_version: activity-1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-task-for-referral-management
base: http://hl7.org/fhir/StructureDefinition/Task
version: 1.0.0-ballot
required: [authoredOn, focus, for]