PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical-activity.r4b@1.0.0
    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-activity.r4b
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-goal-target-measure'}
        mustSupport: true
        index: 7
      detail:
        choices: []
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            detailQuantity:
              match: {}
              schema:
                mustSupport: true
                choices: [detailQuantity]
                _required: true
                index: 11
              min: 1
              max: 1
      detailQuantity:
        type: Quantity
        mustSupport: true
        choiceOf: detail
        index: 12
        slicing:
          slices:
            detailQuantity:
              match: {}
              schema: {type: Quantity, mustSupport: true, choiceOf: detail, _required: true, index: 12}
              min: 1
              max: 1
      detail[x]:
        elements:
          value: {mustSupport: true, index: 13}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            mustSupport: true
            index: 14
          code: {mustSupport: true, index: 15}
    required: [detailQuantity, detail]
  addresses:
    mustSupport: true
    index: 16
    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: 17
          min: 0
  note:
    mustSupport: true
    index: 18
    elements:
      author:
        mustSupport: true
        choices: [authorReference]
        index: 20
      authorReference:
        type: Reference
        mustSupport: true
        choiceOf: author
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', '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: 21
      time: {mustSupport: true, index: 22}
      text: {mustSupport: true, index: 23}
    required: [author, time, authorReference]
package_version: 1.0.0
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
required: [category]