The relationship between the patient and the holder of the additional address, returned as a code of the short code.
object.RelationshipCode
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISAddresses interface |
string
Display the code of the relationship between the patient and the holder of the 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 & "The relationship code " &_
"for the patient's additional address " &_
aAddresses.AsLine &_
" is " & aAddresses.RelationshipCode
next
Profile.MsgBox (aMessage)In Profile Client v8 on User Interface Relationship can be found in .