Accounts Queries

Interactive examples coming soon...

client :: Client

Lookup a specific client by id

ArgumentTypeDescription
idID!

clients :: [Client]

Get a list of clients at your org

ArgumentTypeDescription
filtersClientFilters
insertedAtEndNaiveDateTime
insertedAtStartNaiveDateTime
limitInt
offsetInt
sortBySortOptions
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

clientsCount :: Int

ArgumentTypeDescription
filtersClientFilters
insertedAtEndNaiveDateTime
insertedAtStartNaiveDateTime
sortBySortOptions

coowners :: [Coowner]

ArgumentTypeDescription
limitInt
offsetInt
updatedAtEndDateTime
updatedAtStartDateTime

countNewClients :: [DateCount]

Count new clients based on filters between a range and segment

ArgumentTypeDescription
endDateTime
segmentTimeSegment!
startDateTime

externalCommPreferences :: ClientExternalCommPreferencesValue

ArgumentTypeDescription
clientIdID!

externalSearch :: [ExternalSearchResult]

ArgumentTypeDescription
inputExternalSearchInput

provider :: Provider

Lookup a specific provider by id

ArgumentTypeDescription
idID!provider's primary id

providerAuthToken :: String

ArgumentTypeDescription
providerIdID!

providers :: [Provider]

No arguments.

searchAccounts :: [ClientResult]

Full-text search for clients or patients at a org

ArgumentTypeDescription
limitInt
orgIdID
queryString!

totalClients :: Int

No arguments.

viewer :: Viewer

Lookup the viewer

No arguments.