This function returns the list of the provider's recent patients.
object.GetRecentPatients()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProvider interface |
Display the list of the provider's recent patients.
sub main()
Dim aProvider
Dim aMessage
Set aProvider = Profile.LoadProvider("PROV")
aMessage = "Provider's Recent patient(s):" & GetProvidersRecentPatients(aProvider)
Profile.MsgBox (aMessage)
end sub
function GetProvidersRecentPatients(aProvider)
Dim aMessage
Dim aPatients, aPatient
aMessage = ""
set aPatients = aProvider.GetRecentPatients
for i = 0 to aPatients.Count - 1
set aPatient = aPatients.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
aPatient.FirstName & " " & aPatient.LastName
next
GetProvidersRecentPatients = aMessage
end function
In Profile Client v8 on User Interface Recent Patients can be found in
.