The last encounter date from the patient's enrolment record.
object.QualifiedEncounterDate
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientEnrolment interface |
DateTime
Display the number of the patient's NES Enrolments, the date and time of their creation and the date of the patient's last encounter.
Dim aPatient
Dim aEnrolments
Dim aEnrolment
Dim aMessage
Set aPatient = Profile.SelectPatient
set aEnrolments = aPatient.GetEnrolments
aMessage = "Enrolments Count = " & aEnrolments.Count
for i = 0 to aEnrolments.Count - 1
set aEnrolment = aEnrolments.Item(i)
aMessage = aMessage & vbNewLine
aMessage = aMessage & "Created: " & aEnrolment.CreatedDate &_
", last encounter date: " & aEnrolment.QualifiedEncounterDate
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Qualified Encounter Date can be found in
.