This lookup parameter property is used to load the collection of patients by their alternative names, maiden names or aliases.
object.IsIncludeAlternatives
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientLookupParam interface |
bool
Display the number of the patients loaded on the basis of the selected Lookup Parameter and their full names.
Dim aParam
Dim aList
Dim aPatientLookupItem
Dim aLookupType
Dim aMessage
Set aParam = Profile.MakePatientLookupParam 'ISPatientLookupParam
aParam.IsIncludeAlternatives = True
aParam.Value = "John"
aParam.MaxCount = 20
aLookupType = 23 'patient lookup
set aList = Profile.LoadLookupList2(aLookupType, aParam) 'ISPatientLookupItem collection
aMessage = "Patients Count = " & aList.Count & vbNewLine & vbNewLine
for each aPatientLookupItem in aList
aMessage = aMessage & "Name: " & aPatientLookupItem.Name & vbNewLine
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface the Incl. Alternatives checkbox can be checked in
, Alternative Names can be found in , Alias Name can be found in , Maiden Name can be found in .