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 constraint: nhsd-2: {human: An identifier or resource reference must be provided, severity: error, expression: (reference.exists() or identifier.exists())} refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner'] index: 5 organization: type: Reference constraint: nhsd-1: {human: An identifier or resource reference must be supplied, severity: error, expression: (reference.exists() or identifier.exists())} refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization'] index: 6 code: binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SDSJobRoleName'} index: 7 slicing: slices: sdsJobRoleName: match: {} schema: {_required: true, index: 8} min: 1 specialty: elements: coding: index: 9 elements: system: {index: 10} code: {index: 11} display: {index: 12} 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: 13 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'} index: 14 SNOMEDSpecialty: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'} index: 15 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 16 required: [coding] location: constraint: nhsd-3: {human: An identifier or resource reference must be provided, severity: error, expression: (reference.exists() or identifier.exists())} index: 17 healthcareService: type: Reference constraint: nhsd-4: {human: An identifier or resource reference must be provided, severity: error, expression: (reference.exists() or identifier.exists())} refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService'] index: 18 telecom: elements: value: {index: 19} use: {index: 20} required: [value, use] package_version: 2.1.15-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]