This function returns the patient's last NES Enrolment.
object.GetLastEnrolment()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatient interface |
Display the date and time of the patient's last NES Enrolment.
Dim aPatient
Dim aMessage
Set aPatient = Profile.SelectPatient
if aPatient.GetLastEnrolment is nothing then
aMessage = "There are no enrolments"
else
aMessage = "The last enrolment was created on " & aPatient.GetLastEnrolment.CreatedDate
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface NES Enrolments can be found in
.