ISPatient.GetPreferredEMail

Description

This function returns Email, preferred by the patient for communication.

Syntax

object.GetPreferredEMail()

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

Return Value

string

Returns the patient's preferred email.

Example

Display the patient's preferred email.

Dim aPatient  
Dim aPreferredEMail
Dim aMessage

Set aPatient = Profile.SelectPatient
aPreferredEMail = aPatient.GetPreferredEMail
Profile.MsgBox (aPreferredEMail)    
Note:

In Profile Client v8 on User Interface Preferred EMail can be found in Patient > Alter Patient > General > Preferred E-Mail field.

Version information

Added in v7.8.0