ISAddresses.Comment

Description

Any comments for the patient's additional addresses.

Syntax

object.Comment

Part Attribute Type Description
object Required
The object always implements the ISAddresses interface

Return Value

string

Example

Display the content of the Comment field for the patient's additional address.

Dim aPatient  
Dim aAddresses, aAddress
Dim i
Dim aMessage   
Dim aAddressCollection

Set aPatient = Profile.SelectPatient 

set aAddressCollection = aPatient.LoadAddresses

for i = 0 to aAddressCollection.Count - 1
  set aAddress = aAddressCollection.Item(i)  
  set aAddresses = Profile.LoadAdditionalAddress(aAddress.Id)
    
  aMessage = aMessage & vbNewLine &_
    "PATIENT'S ADDITIONAL ADDRESS: " & aAddresses.AsLine & vbNewLine &_
    "COMMENT TO THE ADDRESS: " & aAddresses.Comment & vbNewLine
next 
Profile.MsgBox (aMessage) 
Note:

In Profile Client v8 on User Interface Comment can be found in Patient > Alter Patient > Personal > Additional Addresses > Edit Address > Other > Comment field.

Version information

Added in v7.8.0