PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.psom@1.0.0-rc3
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan
description: The clinical circumstance for PROMs collection. The CarePlan is used to group Collection Events and provide context to the pathway.
package_name: fhir.r4.wales.psom
derivation: constraint
name: DataStandardsWalesPSOMCarePlan
type: CarePlan
elements:
  extension:
    index: 0
    slicing:
      slices:
        pathwayLaterality:
          match: {}
          schema: {isModifier: false, short: Laterality of the PSOM pathway, type: Extension, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality', index: 1}
          min: 1
          max: 1
  identifier:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: null
      slices:
        referralIdentifier:
          match: {}
          schema: {type: Identifier, index: 3}
  category:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        treatmentSpecialty:
          match: {}
          schema:
            short: Treatment Specialty Code
            _required: true
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
            index: 5
          min: 1
          max: 1
        pathwayType:
          match:
            coding:
            - {system: 'https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayType'}
          schema:
            short: PROMs Pathway Type
            _required: true
            binding: {strength: extensible, valueSet: 'https://fhir.nhs.wales/ValueSet/DataStandardsWales-PSOM-PathwayType'}
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayType'}
            type: CodeableConcept
            index: 6
            elements:
              text: {short: Local PROMs Pathway Type, index: 7}
  subject:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient']
    index: 8
  author:
    short: Reference to Senior Responsible Professional and Originating Organisation
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole']
    type: Reference
    index: 9
  activity:
    index: 10
    elements:
      outcomeReference:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter']
        index: 11
      reference:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/CommunicationRequest', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'http://hl7.org/fhir/StructureDefinition/RequestGroup', 'http://hl7.org/fhir/StructureDefinition/Task', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Appointment', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-ServiceRequest']
        index: 12
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        completeQuestionnaire:
          match: {}
          schema:
            index: 13
            elements:
              outcomeCodeableConcept: {index: 14}
              outcomeReference: {index: 15}
              progress: {index: 16}
              reference:
                type: Reference
                short: PSOM Task reference
                refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task']
                index: 17
              detail: {index: 18}
            required: [reference]
package_version: 1.0.0-rc3
extensions:
  pathwayLaterality: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality', min: 1, max: 1, isModifier: false, short: Laterality of the PSOM pathway, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan
version: null
required: [author, category, extension]