This function returns the patient's versions loaded on the basis of the selected filter.
object.FindVersions(aFilter)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aFilter |
In, Required | The object that defines conditions for filtering
|
Display the full name of the patient in each of the patient's versions loaded on the basis of the selected filter.
Dim aPatient
Dim aVersions
Dim aVersion
Dim aFilter
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateVersionFilter
aFilter.FromDate = #01/01/2018#
set aVersions = aPatient.FindVersions(aFilter)
aMessage = "Versions Count = " & aVersions.Count
for i = 0 to aVersions.Count - 1
set aVersion = aVersions.Item(i)
aMessage = aMessage & vbNewLine & aVersion.LastName & ", " & aVersion.FirstName
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Versions can be found in
.