ISPatientMessagesFilter.Acknowledged

Description

This filter property is used to load the collection of the acknowledged patient messages.

Syntax

object.Acknowledged

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

Return Value

TS3State

Example

Display the number of the patient's messages loaded on the basis of the selected filter, their text and the participants of the conversation..

Dim aPatient
Dim aProvider
Dim aFilter
Dim aPatMessages
Dim aPatMessage
Dim aMessage 

Set aFilter = Profile.CreatePatientMessagesFilter 
aFilter.Acknowledged = True
 
set aPatMessages = Profile.LoadPatientMessages(aFilter)

aMessage = "Patient Messages Count = " & aPatMessages.Count & vbNewLine  

for i = 0 to aPatMessages.Count - 1
  set aPatMessage = aPatMessages.Item(i)
  
  if aPatMessage.PatientId > 0 then
    set aPatient = Profile.LoadPatient(aPatMessage.PatientId)
    aMessage = aMessage & "Patient: " & vbTab & aPatient.SurnameFirstname & vbTab
  else
    aMessage = aMessage & "Patient: " & vbTab & "    -      " & vbTab        
  end if  
  
  if aPatMessage.ProviderId > 0 then 
    set aProvider = Profile.LoadProviderById(aPatMessage.ProviderId)
    aMessage = aMessage & "Prov: " & vbTab & aProvider.FullName & vbTab
  else
    aMessage = aMessage & "Prov: " & vbTab & "    -      " & vbTab    
  end if

  aMessage = aMessage & "Text: " & vbTab & aPatMessage.Text & " (Acknowledged: " &_ 
    aPatMessage.Acknowledged & ")" & vbNewLine

next
  
Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface the Acknowledged icon near the creation time can be found in Clinical > Medical Record > Messages or in Organisation > Work Centre > Communication > Conversations.

Version information

Added in v8.2.0