Each of the appointments within the collection.
object.Item(aIndex)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISAppointments interface |
|
aIndex |
In, Required | int |
The index of the appointment |
Display each of the appointments within the collection.
Dim aPatient
Dim aProvider
Dim aFilter
Dim aAppointment
Dim aAppointments
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProvider = Profile.LoadProvider("PROV")
set aFilter = Profile.CreateAppointmentFilter
aFilter.ProviderID = aProvider.Id
aFilter.PatientId = aPatient.Id
set aAppointments = Profile.LoadAppointments(aFilter)
for i = 0 to aAppointments.Count - 1
set aAppointment = aAppointments.Item(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & "The appointment is on " & aAppointment.Date
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Appointments can be found in
.