ID of the provider who acknowledged the patient's message.
object.AcknowledgedByID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientMessage interface |
int
Display the number of the patient's messages loaded on the basis of the selected filter, their text, the providers who acknowledged them and the participants of the conversation.
Dim aPatient
Dim aProvider
Dim aAckProvider
Dim aFilter
Dim aPatMessages
Dim aPatMessage
Dim aMessage
Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreatePatientMessagesFilter
aFilter.PatientId = aPatient.ID
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
if aPatMessage.AcknowledgedByID > 0 then
set aAckProvider = Profile.LoadProviderById(aPatMessage.AcknowledgedByID)
aMessage = aMessage & "Text: " & vbTab & aPatMessage.Text & " (Acknowledged by " &_
aAckProvider.FullName & ")" & vbNewLine
else
aMessage = aMessage & "Text: " & vbTab & aPatMessage.Text & " (not acknowledged)" &_
vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Acknowledged By ID cannot be found, but the Acknowledged icon near the creation time can be found in
or in .