ISPatientUtils.HasPatientWithEmail

Description

This function checks if there is a patient with the specified email.

Syntax

object.HasPatientWithEmail(aEMail)

Part Attribute Type Description
object Required
The object always implements the ISPatientUtils interface
aEMail In, Required
string
The email of the patient

Return Value

bool

Returns True if there is a patient with the specified Email.

Example

Display HasPatientWithEmail for the patient utils.

Dim aPatientUtils
Dim aEmail
Dim aMessage
 
Set aPatientUtils = Profile.PatientUtils
aEmail = "820624@mail.ru"

aMessage = "There is a patient with Email '" & aEmail & "': " &_
  aPatientUtils.HasPatientWithEmail(aEmail)

Profile.MsgBox(aMessage)  
Note:

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

Version information

Added in v7.8.0