PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.25-discovery
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location
description: null
package_name: uk.nhsdigital.r4
derivation: constraint
name: NHSDigital-Location
type: Location
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        odsCode:
          match: {system: 'https://fhir.nhs.uk/Id/ods-organization-code'}
          schema:
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'}
                index: 2
              value: {index: 3}
            required: [value, system]
  address: {mustSupport: true, index: 4}
  managingOrganization:
    type: Reference
    constraint:
      nhds-10: {human: managingOrganization - a display name should be provided, severity: warning, expression: (display.exists())}
    refers: ['https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization']
    index: 5
    elements:
      identifier:
        index: 6
        elements:
          system: {index: 7}
          value: {index: 8}
        required: [value, system]
    required: [identifier]
  partOf:
    constraint:
      nhsd-9: {human: partOf - display name should be provided, severity: warning, expression: (display.exists())}
    index: 9
    elements:
      identifier:
        index: 10
        elements:
          system: {index: 11}
          value: {index: 12}
        required: [value, system]
    required: [identifier]
package_version: 2.1.25-discovery
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location
version: null
required: [address]