This filter is used to load the collection of the patient audit records starting from the audit with the specified index.
object.StartIndex
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientAuditFilter interface |
int
Display the number of the patient audit records loaded on the basis of the selected filter and some information they contain.
Dim aPatient
Dim aFilter
Dim aAuditColl
Dim aAudit
Dim aProvider
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePatientAuditFilter
aFilter.PatientId = aPatient.Id
aFilter.StartIndex = 0
aFilter.MaxCount = 100
aFilter.StartDate = #01/01/2019#
aFilter.EndDate = #01/01/2020#
set aAuditColl = Profile.GetPatientAuditCollection(aFilter)
aMessage = "Audit Collection Items count = " & aAuditColl.Count
for each aAudit in aAuditColl 'ISPatientOrCaseAudit
set aProvider = Profile.LoadProviderById(aAudit.AccessedBy)
aMessage = aMessage & vbNewLine & "---------------------------" & vbNewLine &_
" Accessed By: " & aProvider.FullName & vbNewLine &_
" Computer Name: '" & aAudit.ComputerName & "'" & vbNewLine &_
" Started: " & aAudit.Started & vbNewLine &_
" Finished: " & aAudit.Finished & vbNewLine &_
" IP: " & aAudit.IP
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient Audit can be found in
.