PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.2-dev
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService
description: null
package_name: uk.nhsdigital.r4
derivation: constraint
name: NHSDigital-HealthcareService
type: HealthcareService
elements:
  identifier:
    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
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
    index: 4
  type:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-CareSettingType'}
    index: 5
  specialty:
    elements:
      coding:
        index: 6
        elements:
          system: {index: 7}
          code: {index: 8}
          display: {index: 9}
        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: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty'}
                    index: 11
            SNOMEDPracticeCode:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/c80-practice-codes'}
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
  location:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location']
    index: 14
    elements:
      reference: {index: 15}
    required: [reference]
  telecom:
    index: 16
    elements:
      value: {index: 17}
      use: {index: 18}
    required: [value, use]
package_version: 2.1.2-dev
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-HealthcareService
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: null
required: [identifier, telecom]