description: null package_name: uk.nhsdigital.r4.test derivation: constraint name: NHSDigitalHealthcareService type: HealthcareService elements: availableTime: {mustSupport: true, index: 43} specialty: mustSupport: true index: 17 elements: coding: index: 18 elements: system: {index: 19} code: {index: 20} required: [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'} mustSupport: true index: 21 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'} index: 22 SNOMEDPracticeCode: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'} mustSupport: true index: 23 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 24 eRSSpecialty: match: {system: 'https://fhir.nhs.uk/CodeSystem/eRS-Specialty'} schema: binding: {strength: preferred, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDigital-eRS-Specialty'} mustSupport: true index: 25 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/eRS-Specialty'} index: 26 name: {mustSupport: true, index: 30} providedBy: type: Reference mustSupport: true refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization'] index: 7 elements: identifier: index: 8 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'} index: 9 value: {index: 10} required: [value, system] required: [identifier] type: mustSupport: true index: 11 elements: coding: index: 12 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: UKCoreCareSettingType: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-CareSettingType'} mustSupport: true index: 13 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 14 eRSAppointmentType: match: {system: 'https://fhir.nhs.uk/CodeSystem/eRS-AppointmentType'} schema: short: e-RS Appointment Type mustSupport: true index: 15 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/eRS-AppointmentType'} index: 16 characteristic: index: 38 slicing: rules: open discriminator: - {path: coding.system, type: value} min: null slices: eRS-BookableType: match: coding: {system: 'https://fhir.nhs.uk/CodeSystem/eRS-BookableType'} schema: binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/eRS-BookableType'} index: 39 elements: coding: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/eRS-BookableType'} index: 40 eRS-RequestFlowType: match: coding: {system: 'https://fhir.nhs.uk/CodeSystem/eRS-RequestFlowType'} schema: binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/eRS-RequestFlowType'} index: 41 elements: coding: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/eRS-RequestFlowType'} index: 42 identifier: mustSupport: true index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: ersServiceId: match: {system: 'https://fhir.nhs.uk/Id/ers-service'} schema: mustSupport: true index: 1 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ers-service'} index: 2 value: {index: 3} required: [value, system] dosServiceId: match: {system: 'http://fhir.nhs.uk/Id/dos-service-id'} schema: mustSupport: true index: 4 elements: system: pattern: {type: Uri, value: 'http://fhir.nhs.uk/Id/dos-service-id'} index: 5 value: {index: 6} required: [value, system] serviceProvisionCode: mustSupport: true index: 34 elements: coding: index: 35 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: eRSClinicType: match: {system: 'https://fhir.nhs.uk/CodeSystem/NHSDigital-ClinicType'} schema: binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDigital-eRS-ClinicType'} mustSupport: true index: 36 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDigital-ClinicType'} index: 37 telecom: mustSupport: true index: 31 elements: value: {index: 32} use: {index: 33} required: [value, use] location: type: Reference constraint: nhsd-8: {human: location - An identifier reference or resource reference must be provided, severity: error, expression: (reference.exists() or identifier.exists())} mustSupport: true refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location'] index: 27 elements: identifier: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-site-code'} index: 28 value: {index: 29} required: [value, system] endpoint: mustSupport: true index: 44 elements: identifier: index: 45 elements: system: {index: 46} value: {index: 47} required: [value, system] required: [identifier] slicing: rules: open discriminator: - {path: identifier.system, type: value} min: null slices: nhsMhsPartyKey: match: identifier: {system: 'https://fhir.nhs.uk/Id/nhsMhsPartyKey'} schema: index: 48 elements: identifier: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhsMhsPartyKey'} index: 49 nhsSpineASID: match: identifier: {system: 'https://fhir.nhs.uk/Id/nhsSpineASID'} schema: index: 50 elements: identifier: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhsSpineASID'} index: 51 package_version: 2.8.14-prerelease class: profile kind: resource url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-HealthcareService version: null required: [name]