ISPatientLookupItem.DetailLoaded

Description

Returns True if the details about the patients were loaded on the basis of the selected Lookup Parameter.

Syntax

object.DetailLoaded

Part Attribute Type Description
object Required
The object always implements the ISPatientLookupItem interface
Restriction: This property is readonly.

Return Value

bool

Example

Display the number of the patients loaded on the basis of the selected Lookup Parameter and check whether these patients' details were loaded.

Dim aParam
Dim aList
Dim aPatientLookupItem
Dim aLookupType   
Dim aMessage 

Set aParam = Profile.MakePatientLookupParam 'ISPatientLookupParam
aParam.Index = 1 'smppiFileNum
aParam.Value = 9108
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 &_
    "Details: " & aPatientLookupItem.Detail & vbNewLine &_
    "Details loaded: " & aPatientLookupItem.DetailLoaded & vbNewLine & vbNewLine
  
next
  
Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Detail can be found in Patient > Alter Patient at the bottom of the Select Patient.

Version information

Added in v7.8.0