description: null package_name: uk.nhsdigital.r4 derivation: constraint name: NHSDigital-PractitionerRole type: PractitionerRole elements: identifier: mustSupport: true 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 constraint: nhsd-2: {human: PractitionerRole.practitioner - An identifier reference plus a display name or resource reference must be provided, source: 'https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole', severity: error, expression: (reference.exists() or (identifier.exists() and display.exists()))} mustSupport: true refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner'] index: 5 organization: type: Reference constraint: nhsd-1: {human: PractitionerRole.organization - A display name should be provided, source: 'https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole', severity: warning, expression: (display.exists())} mustSupport: true refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization'] index: 6 elements: identifier: index: 7 elements: system: {index: 8} value: {index: 9} required: [value, system] required: [identifier] code: binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SDSJobRoleName'} index: 10 slicing: slices: sdsJobRoleName: match: {} schema: {_required: true, index: 11} min: 1 specialty: elements: coding: index: 12 elements: system: {index: 13} code: {index: 14} display: {index: 15} required: [display, system, code] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: NHSDataDictionarySpecialty: match: {system: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'} schema: binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDataModelAndDictionary-clinical-specialty'} index: 16 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'} index: 17 SNOMEDSpecialty: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'} index: 18 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 19 required: [coding] location: type: Reference constraint: nhsd-3: {human: PractitionerRole.location - An identifier or resource reference must be provided, source: 'https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole', severity: error, expression: (reference.exists() or identifier.exists())} mustSupport: false refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location'] index: 20 elements: identifier: elements: system: {index: 21} value: {index: 22} required: [value, system] healthcareService: type: Reference constraint: nhsd-4: {human: PractitionerRole.healthcareService - A dispay name should be provided, source: 'https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole', severity: warning, expression: (display.exists())} mustSupport: true refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService'] index: 23 elements: identifier: index: 24 elements: system: {index: 25} value: {index: 26} required: [value, system] required: [identifier] telecom: mustSupport: true index: 27 elements: value: {index: 28} use: {index: 29} required: [value, use] package_version: 2.1.19-discovery 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]