ISProfile.CreateCaseAuditFilter

Description

This function creates the filter for loading case audits.

Syntax

object.CreateCaseAuditFilter()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISCaseAuditFilter

Returns the filter for loading case audits.

Example

Display the number of the case audits loaded on the basis of the selected filter and the IP address of the person who accessed the patient's Medical Record or Case.

Dim aFilter 
Dim aCaseAudits
Dim aCaseAudit
Dim aMessage 

Set aFilter = Profile.CreateCaseAuditFilter
aFilter.StartDate = #09/09/2017#
set aCaseAudits = Profile.GetCaseAuditCollection(aFilter)

aMessage = "Case Audits Count = " & aCaseAudits.Count
for i = 0 to aCaseAudits.Count - 1
  set aCaseAudit = aCaseAudits.Item(i)
  aMessage = aMessage & vbNewLine & aCaseAudit.IP 
next      

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Case Audits can be found in Clinical > Medical Record > Audit.

Version information

Added in v7.8.0