Search

data class Search(type: <ERROR CLASS>, count: Int?, from: Int?)

Functions

Link copied to clipboard
fun filter(dateParameter: <ERROR CLASS>, vararg init: DateParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(numberParameter: <ERROR CLASS>, vararg init: NumberParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(quantityParameter: <ERROR CLASS>, vararg init: QuantityParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(referenceParameter: <ERROR CLASS>, vararg init: ReferenceParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(stringParameter: <ERROR CLASS>, vararg init: StringParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(tokenParameter: <ERROR CLASS>, vararg init: TokenParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
fun filter(uriParam: <ERROR CLASS>, vararg init: UriParamFilterCriterion.() -> Unit, operation: Operation = Operation.OR)
Link copied to clipboard
fun sort(parameter: <ERROR CLASS>, order: Order)
fun sort(parameter: <ERROR CLASS>, order: Order)
fun sort(parameter: <ERROR CLASS>, order: Order)

Properties

Link copied to clipboard
var count: Int? = null
Link copied to clipboard
var from: Int? = null
Link copied to clipboard
var operation: Operation
Link copied to clipboard
val type: <ERROR CLASS>

Extensions

Link copied to clipboard
fun Search.getQuery(isCount: Boolean = false): SearchQuery
Link copied to clipboard
inline fun <R> Search.has(referenceParam: <ERROR CLASS>, init: Search.() -> Unit)

Provides limited support for the reverse chaining on https://www.hl7.org/fhir/search.html#has. For example: search all Patient that have Condition - Diabetes. This search uses the subject field in the Condition resource. Code snippet: