ID of the patient to which the NES Enrolment applies.
object.PatientId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientEnrolment interface |
int
Display the number of the patient's NES Enrolments, the date and time of their creation and ID of the enrolled patient.
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 &_
", ID of the patient: " & aEnrolment.PatientId
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient ID cannot be found.