This filter property is used to load the appointments by ID of the provider.
object.ProviderID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISAppointmentFilter interface |
int
Display the number of appointments filtered by ID of the specified provider.
Dim aProvider
Dim aFilter
Dim aAppointments
Dim aFirstAppointment
Set aPatient = Profile.SelectPatient
set aProvider = Profile.LoadProvider("PROV")
set aFilter = Profile.CreateAppointmentFilter
aFilter.ProviderID = aProvider.Id
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)
In Profile Client v8 on User Interface Provider ID cannot be found.