Skip to main content

core.searchrequest

Home > @medplum/core > SearchRequest

SearchRequest interface

Signature:

export interface SearchRequest<T extends Resource = Resource> 

Properties

Property

Modifiers

Type

Description

count?

number

(Optional)

cursor?

string

(Optional)

fields?

string[]

(Optional)

filters?

Filter[]

(Optional)

format?

string

(Optional)

include?

IncludeTarget[]

(Optional)

name?

string

(Optional)

offset?

number

(Optional)

pretty?

boolean

(Optional)

resourceType

readonly

T['resourceType']

revInclude?

IncludeTarget[]

(Optional)

sortRules?

SortRule[]

(Optional)

summary?

'true' | 'text' | 'data'

(Optional)

total?

'none' | 'estimate' | 'accurate'

(Optional)

types?

T['resourceType'][]

(Optional)