This function creates the filter for loading encounters.
object.CreateEncounterFilter()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the encounters and the type description.
Dim aPatient
Dim aFilter
Dim aEncounters
Dim aEncounter
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateEncounterFilter
aFilter.PatientID = aPatient.ID
set aEncounters = Profile.LoadEncounters(aFilter)
aMessage = "Encounters Count = " & aEncounters.Count
for i = 0 to aEncounters.Count - 1
set aEncounter = aEncounters.Item(i)
aMessage = aMessage & vbNewLine & aEncounter.TypeDescription
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Encounters can be found in
.