PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical@activity-1.0.0-ballot
    http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal
description: A goal that sets a target for a patient's physical activity level
package_name: hl7.fhir.us.physical
derivation: constraint
name: PAGoal
type: Goal
elements:
  implicitRules: {index: 0}
  modifierExtension: {index: 1}
  achievementStatus: {mustSupport: true, index: 2}
  category:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        PA:
          match:
            coding:
            - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'}
            _required: true
            index: 4
          min: 1
          max: 1
  description:
    elements:
      text: {mustSupport: true, index: 5}
  target:
    elements:
      modifierExtension: {index: 6}
      measure:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-observation-code-evs'}
        mustSupport: true
        index: 7
      detailQuantity: {type: Quantity, mustSupport: true, index: 8}
  addresses:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: $this.resolve(), type: profile}
      min: null
      slices:
        PAIssues:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-condition-low-pa', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-week', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-strength-days-per-week']
            array: true
            index: 10
          min: 0
  note:
    mustSupport: true
    index: 11
    elements:
      author:
        mustSupport: true
        choices: [authorReference]
        index: 13
      authorReference:
        type: Reference
        mustSupport: true
        choiceOf: author
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson']
        index: 14
      time: {mustSupport: true, index: 15}
      text: {mustSupport: true, index: 16}
    required: [author, time, authorReference]
package_version: activity-1.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal
version: 1.0.0-ballot
required: [category]