Master ID is equal to patient ID if Audit type is Patient or Patient Info. Master ID is equal to Case ID if Audit type is Case.
object.MasterID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientOrCaseAuditDetail interface |
int
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)
In Profile Client v8 on User Interface ID cannot be found, but Patient Audit Details can be found in
.