This function returns the patient by the specified reference ID.
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 |
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
In Profile Client v8 on User Interface Ref ID cannot be found.