This function returns additional addresses of the patient.
object.LoadAddresses(
[aActiveOnly = false])
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
|
aActiveOnly |
In, Optional Default value is
false |
bool |
If aActiveOnly = True, the function returns only
active additional addresses of the patient. Otherwise, all the
patient's additional addresses are returned. |
Display the number and the type of all additional addresses of the patient.
Dim aPatient
Dim aAddresses, aAddress
Dim aActiveOnly
Dim i
Dim aMessage
Set aPatient = Profile.SelectPatient
aActiveOnly = False
set aAddresses = aPatient.LoadAddresses(aActiveOnly)
aMessage = "Addresses Count = " & aAddresses.Count & vbNewLine
for i = 0 to aAddresses.Count - 1
set aAddress = aAddresses.Item(i)
aMessage = aMessage & aAddress.AddressType.Description & ": " &_
aAddress.AsLine & vbNewLine
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Additional Address can be found in
.