ISPatient.SetIHNPassword

Description

This function sets a new IHN password for the patient.

Syntax

object.SetIHNPassword(aOldPassword, aNewPassword)

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
aOldPassword In, Required
string
The old password
aNewPassword In, Required
string
The password to set

Return Value

bool

Returns "True" if the specified IHN password was set for the patient successfully.

Example

Set a new IHN password for the patient.

Dim aPatient
Dim aOldPassword
Dim aNewPassword  
Dim aSetPassword

Set aPatient = Profile.SelectPatient
aOldPassword = 1234
aNewPassword = 12345
aSetPassword = aPatient.SetIHNPassword(aOldPassword, aNewPassword)
aPatient.Save

Profile.MsgBox(aSetPassword)    
Note:

In Profile Client v8 on User Interface IHN Password can be set in Patient > Alter Patient > Internet > New IHN Password.

Version information

Added in v7.8.0