This property returns patient or case audit for the details.
object.Audit
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientOrCaseAuditDetail interface |
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
if not aPatientAuditDetail.Audit is nothing then
aMessage = aMessage & " Finished: " & aPatientAuditDetail.Audit.Finished &_
vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Patient Audit Details can be found in
.