Get Visits
BetaGets all Visits within a given time range. The return list is ordered by start_time ascending.
Headers
Authorization
OAuth authentication of the form <token>.
Query parameters
page_token
A token that can be used to retrieve the next or previous page of results
limit
sort_field
Defaults to appointment.start_time.
sort_direction
Defaults to ascending.
Allowed values:
filters
A serialized list of filters separated by commas indicating filters to apply. Each filter is of the form ‘path:operator:value’. Example: ‘patient.mrn|eq|12345’. Filters are separated by commas. Example: ‘patient.mrn|eq|12345,appointment.startDate|gt|67890’. All filters are ANDed together. Valid operators are ‘eq’, ‘gt’, ‘lt’, ‘contains’. Path values are camelCase.
Response
This endpoint returns an object.
items
total
next_page_token
A token that can be used to retrieve the next or previous page of results
prev_page_token
A token that can be used to retrieve the next or previous page of results