ISAppointmentFilter.Provider

Description

This filter property is used to load the appointments by the provider.

Syntax

object.Provider

Part Attribute Type Description
object Required
The object always implements the ISAppointmentFilter interface

Return Value

string

Example

Display the number of the appointments filtered by the specified provider.

Dim aProvider
Dim aFilter 
Dim aAppointments
Dim aFirstAppointment

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateAppointmentFilter

aFilter.Provider = "PROV"
aFilter.PatientId = aPatient.Id
aFilter.DateFrom = #13/12/2018#
aFilter.DateTo = #14/12/2018#

set aAppointments = Profile.LoadAppointments(aFilter)

Profile.MsgBox("The number of appointments is " & aAppointments.Count)  
Note:

In Profile Client v8 on User Interface Provider can be found in Appointment Window > Booking > Provider field.

Version information

Added in v7.8.0