BaseSearch

interface BaseSearch

Defines the basic functionality provided by the search including filter, sort and logical operation on filters.

Inheritors

Properties

Link copied to clipboard
abstract var count: Int?

Count of the maximum expected search results.

Link copied to clipboard
abstract var from: Int?

Index from which the matching search results should be returned.

Link copied to clipboard
abstract var operation: Operation

Logical operator between the filters.

Functions

Link copied to clipboard
abstract fun filter(dateParameter: DateClientParam, vararg init: DateParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(numberParameter: NumberClientParam, vararg init: NumberParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(quantityParameter: QuantityClientParam, vararg init: QuantityParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(referenceParameter: ReferenceClientParam, vararg init: ReferenceParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(stringParameter: StringClientParam, vararg init: StringParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(tokenParameter: TokenClientParam, vararg init: TokenParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
abstract fun filter(uriParam: UriClientParam, vararg init: UriParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
Link copied to clipboard
abstract fun sort(parameter: DateClientParam, order: Order)
abstract fun sort(parameter: NumberClientParam, order: Order)

When sorting is applied on a field with repeated values, defined by the value of the repeated values in the resource.

abstract fun sort(parameter: StringClientParam, order: Order)

When sorting is applied on a field with repeated values (e.g. Patient.GIVEN ), the order is defined by the value of the repeated values in the resource (e.g. HumanName.given for Patient).