ISPatient.GetPreferredPhone

Description

This function returns phone number, preferred by the patient for communication.

Syntax

object.GetPreferredPhone()

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

Return Value

string

Returns the patient's preferred phone number.

Example

Display the patient's preferred phone number.

Dim aPatient  
Dim aPreferredPhone
Dim aMessage

Set aPatient = Profile.SelectPatient
aPreferredPhone = aPatient.GetPreferredPhone
Profile.MsgBox (aPreferredPhone)  
Note:

In Profile Client v8 on User Interface Preferred Phone can be found in Patient > Alter Patient > General > Preferred Phone field.

Version information

Added in v7.8.0