ID of the patient the approval was created for.
object.PatientId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISApproval interface |
int
Display the number of the approvals loaded on the basis of the selected filter, the dates they were added, the full names of the patients the approvals were created for and their IDs.
Dim aPatient
Dim aFilter
Dim aApproval
Dim aApprovals
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateApprovalsFilter
aFilter.Patient = aPatient
set aApprovals = Profile.LoadApprovals(aFilter)
aMessage = "Approvals Count = " & aApprovals.Count
for i = 0 to aApprovals.Count - 1
set aApproval = aApprovals.Item(i)
aMessage = aMessage & vbNewLine & "The approval for " & aPatient.SurnameFirstName &_
" (ID: " & aApproval.PatientId & ") " & "was added on " & aApproval.DateTimeAdded
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient ID cannot be found, but Approvals can be found in
or in .