description: null package_name: uk.nhsdigital.r4 derivation: constraint name: NHSDigital-HealthcareService type: HealthcareService elements: identifier: mustSupport: true index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: odsCode: match: {system: 'https://fhir.nhs.uk/Id/ods-organization-code'} schema: _required: true index: 1 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'} index: 2 value: {index: 3} required: [value, system] providedBy: type: Reference constraint: nhsd-7: {human: providedBy - a display name should be provided, severity: warning, expression: (display.exists())} refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization'] index: 4 elements: identifier: index: 5 elements: system: {index: 6} value: {index: 7} required: [value, system] required: [identifier] type: binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-CareSettingType'} index: 8 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: null 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 SNOMEDPracticeCode: 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 location: type: Reference constraint: nhsd-8: {human: location - An identifier reference plus display name or resource reference must be provided, severity: error, expression: (reference.exists() or (identifier.exists() and display.exists()))} refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location'] index: 17 elements: identifier: elements: system: {index: 18} value: {index: 19} required: [value, system] name: {mustSupport: true, index: 20} telecom: mustSupport: true index: 21 elements: value: {index: 22} use: {index: 23} required: [value, use] package_version: 2.1.17-discovery class: profile kind: resource url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService base: http://hl7.org/fhir/StructureDefinition/HealthcareService version: null required: [name, identifier, telecom]