PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical-activity.r4b@1.0.0
    http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport
description: Conveys a summary of the interventions and patient interactions that have occurred over the course of the services delivered by a Service Provider, typically in response to a referral
package_name: hl7.fhir.us.physical-activity.r4b
derivation: constraint
name: PADiagnosticReport
type: DiagnosticReport
elements:
  category:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        PA:
          match:
            coding:
            - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'}
          schema:
            short: Additional category indicating that the service category is related to physical activity
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: PhysicalActivity, system: 'http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes'}
            _required: true
            index: 6
          min: 1
          max: 1
  encounter: {index: 8}
  implicitRules: {index: 0}
  status:
    short: partial | preliminary | final | amended | corrected | appended | entered-in-error
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-status'}
    index: 4
  result:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        SupportedResult:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-group', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-measure', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs', 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-time-measure']
            array: true
            index: 10
          min: 0
  code:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-type'}
    index: 7
  presentedForm:
    constraint:
      pa-dr-1: {human: At least one of data and url must be present., source: 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport', severity: error, expression: data.exists() or url.exists()}
    index: 11
    elements:
      contentType:
        pattern: {type: Code, value: application/pdf}
        index: 12
      data: {mustSupport: true, index: 13}
      url: {mustSupport: true, index: 14}
  basedOn:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        SupportedBasedOn:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest']
            array: true
            index: 3
          min: 0
  modifierExtension: {index: 1}
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note
version: 1.0.0