PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ServiceSearchCriteria-Parameters-1
description: null
package_name: NHSD.Assets.STU3
derivation: constraint
name: eRS-ServiceSearchCriteria-Parameters-1
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        clinicalTerm:
          match: {name: clinicalTerm}
          schema:
            short: The SNOMED Concept ID supported by the Service.
            index: 23
            elements:
              name:
                pattern: {type: String, value: clinicalTerm}
                index: 24
              valueCoding:
                type: Coding
                index: 25
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        _required: true
                        index: 25
                        elements:
                          version: {index: 26}
                          code: {index: 27}
                        required: [code]
              resource: {index: 28}
              part: {index: 29}
            required: [valueCoding]
        organisation:
          match: {name: organisation}
          schema:
            short: The Service Location or Service Provding Organisation for the Service.
            index: 39
            elements:
              name:
                pattern: {type: String, value: organisation}
                index: 40
              valueIdentifier:
                type: Identifier
                index: 41
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        type: Identifier
                        _required: true
                        index: 41
                        elements:
                          use: {index: 42}
                          type: {index: 43}
                          system:
                            pattern: {type: Uri, value: 'https://directory.spineservices.nhs.uk/STU3/Organization/'}
                            index: 44
                          period: {index: 45}
                          assigner: {index: 46}
              resource: {index: 47}
              part: {index: 48}
            required: [valueIdentifier]
        clinicType:
          match: {name: clinicType}
          schema:
            short: The Clinic Type within the Specialty selected.
            index: 16
            elements:
              name:
                pattern: {type: String, value: clinicType}
                index: 17
              valueCoding:
                type: Coding
                index: 18
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        _required: true
                        index: 18
                        elements:
                          version: {index: 19}
                          code: {index: 20}
                        required: [code]
              resource: {index: 21}
              part: {index: 22}
            required: [valueCoding]
        namedClinician:
          match: {name: namedClinician}
          schema:
            short: The Named Clinician for the Service.
            index: 30
            elements:
              name:
                pattern: {type: String, value: namedClinician}
                index: 31
              valueIdentifier:
                type: Identifier
                index: 32
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        type: Identifier
                        _required: true
                        index: 32
                        elements:
                          use: {index: 33}
                          type: {index: 34}
                          period: {index: 35}
                          assigner: {index: 36}
              resource: {index: 37}
              part: {index: 38}
            required: [valueIdentifier]
        specialty:
          match: {name: specialty}
          schema:
            short: Search criteria specialty
            index: 9
            elements:
              name:
                pattern: {type: String, value: specialty}
                index: 10
              valueCoding:
                type: Coding
                index: 11
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        _required: true
                        index: 11
                        elements:
                          version: {index: 12}
                          code: {index: 13}
                        required: [code]
              resource: {index: 14}
              part: {index: 15}
            required: [valueCoding]
        indicativeAppointmentWaitTimeLimit:
          match: {name: indicativeAppointmentWaitTimeLimit}
          schema:
            short: Indicative appointment wait time limit.
            index: 49
            elements:
              name:
                pattern: {type: String, value: indicativeAppointmentWaitTimeLimit}
                index: 50
              valueUnsignedInt:
                type: unsignedInt
                short: 'Range: 0-999 interpreted as ''days''.'
                index: 51
                slicing:
                  slices:
                    valueUnsignedInt:
                      match: {}
                      schema: {type: unsignedInt, short: 'Range: 0-999 interpreted as ''days''.', _required: true, index: 51}
                      min: 1
              resource: {index: 52}
              part: {index: 53}
            required: [valueUnsignedInt]
        commissioningProvisioning:
          match: {name: commissioningProvisioning}
          schema:
            short: This filter allows to select Services that are on the Primary Care/Secondary Care menus, or both.
            _required: true
            index: 69
            elements:
              name:
                pattern: {type: String, value: commissioningProvisioning}
                index: 70
              valueCoding:
                type: Coding
                index: 71
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        _required: true
                        index: 71
                        elements:
                          version: {index: 72}
                          code: {index: 73}
                        required: [code]
              resource: {index: 74}
              part: {index: 75}
            required: [valueCoding]
        postcode:
          match: {name: postcode}
          schema:
            short: Postcode
            index: 54
            elements:
              name:
                pattern: {type: String, value: postcode}
                index: 55
              valueString:
                type: string
                index: 56
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, _required: true, index: 56}
                      min: 1
              resource: {index: 57}
              part: {index: 58}
            required: [valueString]
        priority:
          match: {name: priority}
          schema:
            _required: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: priority}
                index: 2
              valueCoding:
                type: Coding
                short: Search criteria
                index: 3
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        type: Coding
                        short: Search criteria
                        _required: true
                        index: 3
                        elements:
                          version: {index: 4}
                          code: {index: 5}
                          userSelected: {index: 6}
                        required: [code]
              resource: {index: 7}
              part: {index: 8}
            required: [valueCoding]
        distanceLimit:
          match: {name: distanceLimit}
          schema:
            short: Distance limit (in miles).
            index: 59
            elements:
              name:
                pattern: {type: String, value: distanceLimit}
                index: 60
              valueUnsignedInt:
                type: unsignedInt
                index: 61
                slicing:
                  slices:
                    valueUnsignedInt:
                      match: {}
                      schema: {type: unsignedInt, _required: true, index: 61}
                      min: 1
              resource: {index: 62}
              part: {index: 63}
            required: [valueUnsignedInt]
        ageAndGenderAppropriate:
          match: {name: ageAndGenderAppropriate}
          schema:
            short: Filters the Services based on the Gender and Age derived from the Patient Record.
            _required: true
            index: 64
            elements:
              name:
                pattern: {type: String, value: ageAndGenderAppropriate}
                index: 65
              valueBoolean:
                type: boolean
                index: 66
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {type: boolean, _required: true, index: 66}
                      min: 1
              resource: {index: 67}
              part: {index: 68}
            required: [valueBoolean]
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ServiceSearchCriteria-Parameters-1
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0