description: Custom search parameter definition resource for Aidbox.
package_name: io.health-samurai.core.r3
derivation: specialization
name: Search
type: Search
elements:
param-parser:
type: string
short: Parse value as string, identifier, or reference.
constraint:
enum-372: {human: 'Type must be one of: token, reference', severity: error, expression: '%context.subsetOf(''token'' | ''reference'')'}
index: 7
format: {type: string, short: 'Replaces `?` with the actual value provided in the search query. Useful to use in ILIKE SQL expression.', index: 5}
where: {type: string, short: 'SQL to use in the WHERE expression. Supports `{{table}}` and `{{param}}`.', index: 3}
token-sql:
type: BackboneElement
short: SQL templates for token parameter handling.
index: 9
elements:
text: {type: string, short: SQL template for text search., index: 10}
both: {type: string, short: SQL template when both system and code are provided., index: 11}
only-system: {type: string, short: SQL template when only system is provided., index: 12}
only-code: {type: string, short: SQL template when only code is provided., index: 13}
text-format: {type: string, short: Format for text search., index: 14}
no-system: {type: string, short: SQL template when no system is provided., index: 15}
name: {type: string, short: Name of the search parameter., index: 2}
module: {type: string, short: Module that this search belongs to., index: 6}
multi:
type: string
short: If you set multi = 'array', parameters will be coerced as PostgreSQL array.
constraint:
enum-373: {human: 'Collection must be: array', severity: error, expression: '%context.subsetOf(''array'')'}
index: 8
resource: {type: Reference, short: Reference to the resource type this search applies to. ResourceType is always Entity, index: 1}
order-by: {type: string, short: 'SQL to use in the ORDER BY expression. Supports {{table}} and {{param}}. Note that it is used only when _sort= present in the query.', index: 4}
_source: {type: string, short: System Property. DO NOT USE IT., index: 0}
package_version: 0.2601.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/core/StructureDefinition/Search
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2601.0