PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-PractitionerRole-1
description: The PractitionerRole resource represents a specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time, with further constraints applied to represent the roles to support the Digital Child Health project.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-DCH-PractitionerRole-1
type: PractitionerRole
elements:
  identifier:
    index: 0
    elements:
      use: {index: 1}
      type: {index: 2}
      system: {index: 3}
      value: {index: 4}
      period: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  practitioner:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Practitioner-1']
    index: 7
    elements:
      reference: {index: 8}
    required: [reference]
  organization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
  code:
    index: 11
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: coding.system, type: value}
      min: null
      slices:
        sdsJobRoleName:
          match:
            coding: {system: 'https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1'}
          schema:
            index: 12
            elements:
              coding:
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1'}
                    index: 14
                  version: {index: 15}
                  code: {index: 16}
                  display: {index: 17}
                  userSelected: {index: 18}
                required: [display, system, code]
            required: [coding]
        careProfessionalType:
          match:
            coding: {system: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-ProfessionalType-1'}
          schema:
            index: 19
            elements:
              coding:
                index: 20
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-ProfessionalType-1'}
                    index: 21
                  version: {index: 22}
                  code: {index: 23}
                  display: {index: 24}
                  userSelected: {index: 25}
                required: [display, system, code]
              text: {index: 26}
            required: [coding]
        keyWorkerStatus:
          match:
            coding: {system: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-KeyWorkerStatus-1'}
          schema:
            short: Identifies a person's role as a child's key worker.
            index: 27
            elements:
              coding:
                index: 28
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-KeyWorkerStatus-1'}
                    index: 29
                  version: {index: 30}
                  code: {index: 31}
                  display: {index: 32}
                  userSelected: {index: 33}
                required: [display, system, code]
              text: {index: 34}
            required: [coding]
  specialty:
    index: 35
    elements:
      coding:
        index: 36
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1'}
            index: 37
          version: {index: 38}
          code: {index: 39}
          display: {index: 40}
          userSelected: {index: 41}
        required: [display, system, code]
      text: {index: 42}
    required: [coding]
  location:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1']
    index: 43
  healthcareService:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/DCH-HealthcareService-1']
    index: 44
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-PractitionerRole-1
base: http://hl7.org/fhir/StructureDefinition/PractitionerRole
version: 1.1.0
required: [practitioner, organization]