This function is used to create the filter for loading referrals.
object.CreateReferralsFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the referrals loaded on the basis of the selected filter and some information about them.
Dim pFilter
Dim aReferrals
Dim aReferral
Dim aMessage
Set pFilter = Profile.CreateReferralsFilter
pFilter.ReferredToProv = "MM"
set aReferrals = Profile.LoadReferrals(pFilter)
aMessage = "Referrals Count = " & aReferrals.Count
for i = 0 to aReferrals.Count - 1
set aReferral = aReferrals.Item(i)
aMessage = aMessage & vbNewLine & "The patient " &_
aReferral.Patient.SurnameFirstName &_
" with the diagnosis '" & aReferral.DiagnosisDescription &_
"' was refered to " & aReferral.ReferedToAsString
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Referrals can be found in
.