PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@0.2.2-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthprogramparticipation
description: This profile sets minimum expectations for an Observation resource to record, search, and fetch information about a patient’s participation in a health program. It is based on the [AU Base Health Program Participation Summary](http://hl7.org.au/fhir/StructureDefinition/au-healthprogramparticipation) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Observation when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCoreHealthProgramParticipationSummary
type: Observation
elements:
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 0
  category:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        hPCat:
          match:
            coding:
            - {code: program, system: 'http://terminology.hl7.org.au/CodeSystem/observation-category'}
          schema:
            short: Health program
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: program, system: 'http://terminology.hl7.org.au/CodeSystem/observation-category'}
            _required: true
            index: 2
          min: 1
          max: 1
  code:
    binding: {strength: extensible, valueSet: 'https://healthterminologies.gov.au/fhir/ValueSet/participation-in-health-program-1'}
    mustSupport: true
    index: 3
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 4
  effective:
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthprogramparticipation', severity: error, expression: toString().length() >= 10}
    mustSupport: true
    choices: [effectiveDateTime]
    index: 6
  effectiveDateTime:
    type: dateTime
    constraint:
      au-core-obs-01: {human: Date shall be at least to day, source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthprogramparticipation', severity: error, expression: toString().length() >= 10}
    mustSupport: true
    choiceOf: effective
    index: 7
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson']
    index: 8
  component:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        participationStatus:
          match: {code: null}
          schema:
            mustSupport: true
            index: 10
            elements:
              code: {mustSupport: true, index: 11}
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 13
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
        participationStatusPeriod:
          match: {code: null}
          schema:
            mustSupport: true
            index: 15
            elements:
              code: {mustSupport: true, index: 16}
              value:
                mustSupport: true
                choices: [valueDateTime, valuePeriod]
                index: 18
              valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 19}
              valuePeriod: {type: Period, mustSupport: true, choiceOf: value, index: 20}
        notParticipantStatusReason:
          match: {code: null}
          schema:
            mustSupport: true
            index: 21
            elements:
              code: {mustSupport: true, index: 22}
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 24
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 25}
package_version: 0.2.2-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthprogramparticipation
base: http://hl7.org.au/fhir/StructureDefinition/au-healthprogramparticipation
version: 0.2.2-preview
required: [effectiveDateTime, component, category, effective]