PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ServiceSearch-ListItem-1
description: null
package_name: NHSD.Assets.STU3
derivation: constraint
name: Extension-eRS-ServiceSearch-ListItem-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        distance:
          match: {url: distance}
          schema:
            short: Distance (in miles) between Service and Place provided. This is therefore specific to each search.
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: distance}
                index: 2
              valueUnsignedInt:
                type: unsignedInt
                index: 3
                slicing:
                  slices:
                    valueUnsignedInt:
                      match: {}
                      schema: {type: unsignedInt, _required: true, index: 3}
                      min: 1
            required: [valueUnsignedInt]
        indicativeAppointmentWaitTime:
          match: {url: indicativeAppointmentWaitTime}
          schema:
            short: Statistical indication of how long Patients can expect to wait (in days) for an available slot.
            _required: true
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: indicativeAppointmentWaitTime}
                index: 5
              value:
                choices: [valueUnsignedInt, valueCoding]
                index: 7
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 8}
              valueCoding: {type: Coding, choiceOf: value, index: 9}
            required: [valueCoding, value, valueUnsignedInt]
        displayProminently:
          match: {url: displayProminently}
          schema:
            short: Whether the service needs to be displayed in a prominent fashion
            _required: true
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: displayProminently}
                index: 11
              valueBoolean:
                type: boolean
                index: 12
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {type: boolean, _required: true, index: 12}
                      min: 1
            required: [valueBoolean]
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ServiceSearch-ListItem-1'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 1.0.0
extensions:
  distance:
    url: distance
    short: Distance (in miles) between Service and Place provided. This is therefore specific to each search.
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: distance}
        index: 2
      valueUnsignedInt:
        type: unsignedInt
        index: 3
        slicing:
          slices:
            valueUnsignedInt:
              match: {}
              schema: {type: unsignedInt, _required: true, index: 3}
              min: 1
    required: [valueUnsignedInt]
  indicativeAppointmentWaitTime:
    url: indicativeAppointmentWaitTime
    short: Statistical indication of how long Patients can expect to wait (in days) for an available slot.
    _required: true
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: indicativeAppointmentWaitTime}
        index: 5
      value:
        choices: [valueUnsignedInt, valueCoding]
        index: 7
      valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 8}
      valueCoding: {type: Coding, choiceOf: value, index: 9}
    required: [valueCoding, value, valueUnsignedInt]
  displayProminently:
    url: displayProminently
    short: Whether the service needs to be displayed in a prominent fashion
    _required: true
    index: 10
    elements:
      url:
        pattern: {type: Uri, value: displayProminently}
        index: 11
      valueBoolean:
        type: boolean
        index: 12
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {type: boolean, _required: true, index: 12}
              min: 1
    required: [valueBoolean]
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ServiceSearch-ListItem-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.2