ISAppointmentFilter.PosID

Description

This filter property is used to load the appointments by ID of the place of service.

Syntax

object.PosID

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

Return Value

int

Example

Display the number of the appointments filtered by ID of the place of service.

Dim aProvider
Dim aFilter 
Dim aAppointments
Dim aFirstAppointment
Dim aPos

Set aPos = Profile.LoadProvider("LONSDALE") 
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#
aFilter.PosID = aPos.Id

set aAppointments = Profile.LoadAppointments(aFilter)

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

In Profile Client v8 on User Interface POS ID cannot be found.

Version information

Added in v7.8.0