getWaitTimeAvailability

abstract fun getWaitTimeAvailability(regionCodes: List<String>? = null, assignmentQualifiers: List<VirtualVisitAssignmentQualifier>? = null, visitTypeNames: List<VirtualVisitTypeName>? = null, practiceId: String? = null, homeMarket: String? = null): DataObserver<List<WaitTimeAvailability>>

Fetches the wait times and availabilities for all regions within all practices. The results can optionally be filtered down.

If no extra parameters are passed in to filter on, all WaitTimeAvailability are returned, including any that are currently not available.

Return

The list of wait times and availability.

Parameters

regionCodes

An optional array of region codes to filter the results on.

assignmentQualifiers

An optional array of VirtualVisitAssignmentQualifier to filter the results on. You can get available assignment qualifiers via the VirtualService.getAssignmentQualifiers() call

visitTypeNames

An optional array of VirtualVisitTypeName representing the type of virtual visit to filter the results on. See DefaultVirtualVisitTypes.

practiceId

A VirtualPractice.practiceId to filter the results on.

homeMarket

A home market to filter the results on.