PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.2-dev
    https://fhir.nhs.uk/StructureDefinition/SDS-Device
description: Defines the constraints and extensions on the Device resource to support Spine Directory Services represerntation of Accredited System.
package_name: uk.nhsdigital.r4
derivation: constraint
name: SDSDevice
type: Device
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        managingOrganisation:
          match: {url: null}
          schema: {type: Extension, short: Managing or manufacturing organisation providing an Accredited System, mustSupport: true, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-ManagingOrganisation', index: 1}
          min: 1
  identifier:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        NhsSpineASID:
          match: {system: 'https://fhir.nhs.uk/Id/nhsSpineASID'}
          schema:
            short: NHS Spine Accredited System Identifier
            mustSupport: true
            _required: true
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhsSpineASID'}
                index: 4
        NhsMhsPartyKey:
          match: {system: 'https://fhir.nhs.uk/Id/nhsMhsPartyKey'}
          schema:
            short: Nhs Mhs Party Key
            mustSupport: true
            _required: true
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhsMhsPartyKey'}
                index: 6
        NhsEndpointServiceId:
          match: {system: 'https://fhir.nhs.uk/Id/nhsEndpointServiceId'}
          schema:
            short: NHS Endpoint Service Id
            mustSupport: true
            _required: true
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhsEndpointServiceId'}
                index: 8
  owner: {mustSupport: true, index: 9}
  contact:
    constraint:
      cpt-2: {human: A system is required if a value is provided., source: 'http://hl7.org/fhir/StructureDefinition/ContactDetail', severity: error}
    index: 10
package_version: 2.1.2-dev
extensions:
  managingOrganisation: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-ManagingOrganisation', min: 1, type: Extension, short: Managing or manufacturing organisation providing an Accredited System, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/SDS-Device
base: http://hl7.org/fhir/StructureDefinition/Device
version: 1.0.0
required: [owner]