ISPatientUtils.LoadByRefID

Description

This function returns the patient by the specified reference ID.

Syntax

object.LoadByRefID(RefID)

Part Attribute Type Description
object Required
The object always implements the ISPatientUtils interface
RefID In, Required
string
The unique identifier of the patient in the external system

Return Value

ISPatient

Returns the full name of the patient loaded by the specified reference ID.

Example

Display the full name of the patient loaded by the specified reference ID.

Dim aRefID   
Dim aPatient

aRefID = "23437"

Set aPatient = Profile.PatientUtils.LoadByRefID(aRefID) 

if aPatient is nothing then
  Profile.MsgBox("There is no patient with RefId = " & aRefId)
else
  Profile.MsgBox("There is patient " & aPatient.SurnameFirstName &_
    " with RefId = " & aRefId)
end if       
Note:

In Profile Client v8 on User Interface Ref ID cannot be found.

Version information

Added in v7.8.0