ISProfile.GetPatientAuditCollection

Description

This function returns the patient or case audits.

Syntax

object.GetPatientAuditCollection(aFilter)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter In, Required
The object that defines conditions for filtering

Return Value

ISCollection

Returns the patient or 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.

See also

Version information

Added in v7.8.0