The configuration for getting clinic information.
The interface to use to access clinic data.
Optional
locationService?: defaultThis is required if data.sortByDistance
is true
.
The service provides the users location.
Optional
searchColumn?: stringThe column to search for searchValue
in.
Ignored unless searchValue
is set. If null, all columns are searched.
Optional
searchValue?: stringValue to search for in the list of clinics. If null or an empty string, it gets all of the clinics.
Optional
sortByDistance?: BooleanIf set to true
then the clinics are sorted
by their distance to the user, false
by default. If true
the locationService
parameter
must be set.
Optional
url?: stringThe URL to retrieve the JSON formatted clinic data from. If null, only retrieves files stored on device.
Object representing the current status of clinic data loading, containing:
Retrieves clinic data.