PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical-activity.r4b@1.0.0
    http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest
description: Represents orders and referrals for interventions that help to improve or maintain a patient's level of physical activity
package_name: hl7.fhir.us.physical-activity.r4b
derivation: constraint
name: PAServiceRequest
type: ServiceRequest
elements:
  occurrence[x]:
    elements:
      start: {mustSupport: true, index: 28}
      end: {mustSupport: true, index: 29}
  category:
    index: 13
    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: 14
          min: 1
          max: 1
        USCore:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category'}
            array: true
            index: 15
          min: 0
  supportingInfo:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    index: 37
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        SupportedSupportingInfo:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs']
            array: true
            index: 38
          min: 0
  specimen: {index: 39}
  implicitRules: {index: 0}
  reasonCode:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code'}
    mustSupport: true
    index: 33
    elements:
      text: {mustSupport: true, index: 34}
  authoredOn: {mustSupport: true, index: 30}
  occurrenceTiming: {type: Timing, mustSupport: true, choiceOf: occurrence, index: 24}
  note:
    short: Additional details about the service request
    index: 40
    elements:
      author:
        mustSupport: true
        choices: [authorReference]
        index: 42
      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-practitioner']
        index: 43
      time: {mustSupport: true, index: 44}
      text: {mustSupport: true, index: 45}
    required: [author, time, authorReference]
  extension:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        pertainsToGoal:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
            index: 2
            elements:
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal']
                index: 5
        observationFocus:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
            index: 6
            elements:
              value:
                choices: [valueReference]
                index: 8
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson']
                index: 9
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
    index: 31
  priority: {mustSupport: true, index: 16}
  occurrencePeriod:
    type: Period
    mustSupport: true
    choiceOf: occurrence
    index: 27
    slicing:
      slices:
        occurrencePeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: occurrence, index: 27}
          min: 0
          max: 1
  status:
    short: draft | active | on-hold | revoked | completed | entered-in-error
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status'}
    mustSupport: true
    index: 11
  code:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code'}
    mustSupport: true
    index: 18
  doNotPerform: {index: 17}
  intent:
    short: original-order | order | filler-order
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent'}
    mustSupport: true
    index: 12
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 22}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 19
  modifierExtension: {index: 10}
  occurrence:
    mustSupport: true
    choices: [occurrencePeriod]
    index: 26
    slicing:
      slices:
        occurrencePeriod:
          match: {}
          schema:
            mustSupport: true
            choices: [occurrencePeriod]
            index: 26
          min: 0
          max: 1
  performer:
    type: Reference
    mustSupport: true
    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/core/StructureDefinition/us-core-practitionerrole', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson']
    index: 32
  reasonReference:
    index: 35
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        SupportedReasonReference:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition']
            array: true
            index: 36
          min: 0
package_version: 1.0.0
extensions:
  pertainsToGoal:
    url: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
    type: Extension
    mustSupport: true
    index: 2
    elements:
      value:
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal']
        index: 5
  observationFocus:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
    type: Extension
    index: 6
    elements:
      value:
        choices: [valueReference]
        index: 8
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson']
        index: 9
class: profile
kind: resource
url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 1.0.0
required: [authoredOn, requester, category, code]