ISAddresses.WorkPhone

Description

The patient's work phone for the additional address.

Syntax

object.WorkPhone

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

Return Value

string

Example

Display the patient's work phone for 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 work phone of the patient's " &_
    "additional address (" & aAddress.AsLine & ") is " & aAddresses.WorkPhone 
next 
Profile.MsgBox (aMessage) 
Note:

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

Version information

Added in v7.8.0