PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.0.15-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:
        manufacturingOrganisation:
          match: {url: null}
          schema: {type: Extension, short: Manufacturing or managing organisation providing an Accredited System, mustSupport: true, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-ManufacturingOrganisation', index: 1}
          min: 1
        nhsServiceInteractionId:
          match: {url: null}
          schema: {type: Extension, short: Service Interaction Id, url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-NhsServiceInteractionId', index: 2}
          min: 1
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        NhsSpineASID:
          match: {system: null}
          schema:
            short: NHS Spine Accredited System Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value: {value: 'https://fhir.nhs.uk/Id/nhsSpineASID'}
            _required: true
            index: 4
          min: 1
          max: 1
        NhsMhsPartyKey:
          match: {system: null}
          schema:
            short: Nhs Mhs Party Key
            mustSupport: true
            pattern:
              type: Identifier
              value: {value: 'https://fhir.nhs.uk/Id/nhsMhsPartyKey'}
            _required: true
            index: 5
          min: 1
          max: 1
  owner: {mustSupport: true, index: 6}
  contact:
    constraint:
      cpt-2: {human: A system is required if a value is provided., source: 'http://hl7.org/fhir/StructureDefinition/ContactDetail', severity: error}
    index: 7
package_version: 2.0.15-dev
extensions:
  manufacturingOrganisation: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-ManufacturingOrganisation', min: 1, type: Extension, short: Manufacturing or managing organisation providing an Accredited System, mustSupport: true, index: 1}
  nhsServiceInteractionId: {url: 'https://fhir.nhs.uk/StructureDefinition/Extension-SDS-NhsServiceInteractionId', min: 1, type: Extension, short: Service Interaction Id, index: 2}
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]