This function returns the patient by the code.
object.LoadPatientByCode(aCode)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientUtils interface |
|
aCode |
In, Required | string |
The code of the patient |
Display the full name of the patient loaded by the specified code.
Dim aPatient
Dim aMessage
Set aPatient = Profile.PatientUtils.LoadPatientByCode("36259")
if aPatient is nothing then
aMessage = "There is no patient with the specified code."
else
aMessage = aPatient.SurnameFirstName
end if
Profile.MsgBox (aMessage)
In Profile Client v8 on User Interface Patient Code can be found in
.