PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.psom@1.0.0-rc2
    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:
    type: Extension
    short: Laterality of the PSOM pathway
    isModifier: false
    url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality
    index: 0
    slicing:
      slices:
        pathwayLaterality:
          match: {}
          schema: {type: Extension, short: Laterality of the PSOM pathway, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality', index: 0}
  identifier:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: profile}
      min: 1
      slices:
        referralIdentifier:
          match: {}
          schema: {type: Identifier, _required: true, index: 2}
          min: 1
          max: 1
  category:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        treatmentSpecialty:
          match: {}
          schema:
            short: Treatment Specialty
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
            index: 4
            elements:
              coding:
                elements:
                  code: {short: Treatment Specialty Code, index: 5}
        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:
    type: Reference
    short: Senior Responsible Professional
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner']
    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: reference.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-rc2
extensions:
  pathwayLaterality: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality', type: Extension, short: Laterality of the PSOM pathway, isModifier: false, index: 0}
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: [category, identifier]