ISPatientOrCaseAuditDetail.UserText

Description

Some additional text information of the audit detail.

Syntax

object.UserText

Part Attribute Type Description
object Required
The object always implements the ISPatientOrCaseAuditDetail interface
Restriction: This property is readonly.

Return Value

string

Example

Display the number of the patient audit details loaded on the basis of the selected filter and some information about them.

Dim aPatient
Dim aFilter 
Dim aPatientAuditDetail
Dim aPatientAuditDetails
Dim aProvider
Dim aMessage 
Dim i

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePatientAuditFilter
aFilter.PatientId = aPatient.Id 
set aPatientAuditDetails = Profile.GetPatientAuditDetailsCollection(aFilter)

aMessage = "Patient Audit Details Count = " & Profile.GetPatientAuditDetailCount(aFilter)
for i = 0 to aPatientAuditDetails.Count - 1
  set aPatientAuditDetail = aPatientAuditDetails.Item(i)
  set aProvider = Profile.LoadProviderById(aPatientAuditDetail.AccessedBy)
  aMessage = aMessage & vbNewLine &_
    "Computer Name: " & aPatientAuditDetail.ComputerName & vbNewLine &_
    "Accessed By: " & aProvider.FullName & vbNewLine &_
    "Date: " & aPatientAuditDetail.Date & vbNewLine &_
    "Detail Description: " & aPatientAuditDetail.DetailDescription & vbNewLine &_
    "IP: " & aPatientAuditDetail.IP & vbNewLine &_
    "Master ID: " & aPatientAuditDetail.MasterID & vbNewLine &_
    "Person Info: " & aPatientAuditDetail.PersonInfo & vbNewLine &_
    "User Text: " & aPatientAuditDetail.UserText & vbNewLine 
next      
                                
Profile.MsgBox(aMessage)      
Note:

In Profile Client v8 on User Interface Patient Audit Details can be found in Case Admin > General > Audit > Extended Case Audit.

Version information

Added in v7.8.0