PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.2-dev
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole
description: null
package_name: uk.nhsdigital.r4
derivation: constraint
name: NHSDigital-PractitionerRole
type: PractitionerRole
elements:
  identifier:
    index: 0
    slicing:
      slices:
        sdsRoleProfileID:
          match: {}
          schema: {_required: true, index: 1}
          min: 1
        nhsbsaSpuriousCode:
          match: {}
          schema:
            index: 2
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code'}
                index: 3
              value: {index: 4}
            required: [value, system]
  practitioner:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner']
    index: 5
    elements:
      reference: {index: 6}
    required: [reference]
  organization:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization']
    index: 7
    elements:
      reference: {index: 8}
    required: [reference]
  code:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SDSJobRoleName'}
    index: 9
    slicing:
      slices:
        sdsJobRoleName:
          match: {}
          schema: {_required: true, index: 10}
          min: 1
  specialty:
    elements:
      coding:
        index: 11
        elements:
          system: {index: 12}
          code: {index: 13}
          display: {index: 14}
        required: [display, system, code]
        slicing:
          rules: open
          min: 1
          slices:
            NHSDataDictionarySpecialty:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'}
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'}
                    index: 16
            SNOMEDSpecialty:
              match: {}
              schema:
                binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 18
    required: [coding]
  healthcareService:
    type: Reference
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService']
    index: 19
  telecom:
    elements:
      value: {index: 20}
      use: {index: 21}
    required: [value, use]
package_version: 2.1.2-dev
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole
version: null
required: [practitioner, identifier, organization, code]