ISPatientProblem.AlertEventTicked

Description

This property is True if the specified alert event is selected in the patient's problem.

Syntax

object.AlertEventTicked(aAlertEvent)

Part Attribute Type Description
object Required
The object always implements the ISPatientProblem interface
aAlertEvent In, Required
The event that triggers an alert

Return Value

bool

Example

Display AlertEventTicked for the patient's problems in each category.

Dim aPatient
Dim aProblemList
Dim aCategories
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage

Set aPatient = Profile.SelectPatient

set aProblemList = aPatient.ProblemList
set aCategories = aProblemList.Categories

for each aCategory in aCategories
  aMessage = aMessage & vbNewLine & "---------" & aCategory.Description &_ 
    "---------"  & vbNewLine & vbNewLine 
  set aProblems = aCategory.Problems
  for each aProblem in aProblems
    if aProblem.ProblemType = 6 then  'ptPregnancy  
      aMessage = aMessage & "    " & "Code: " & aProblem.DxCode &_ 
        "; Description: " & aProblem.DxDescription & vbNewLine
    else 
      aMessage = aMessage & "    " &_ 
        "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
        "; Alert while opening EMR: " & aProblem.AlertEventTicked(14) & vbNewLine  'saeOpenMedicalRecord = 14 
    end if     
  next
next 

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Alert events checkboxes can be checked in Clinical > Medical Record > Problems > Open Problem > General, in Clinical > Clinical Details > Problems > Open Problem > General or in Patient > Cases > Clinical > Problems > Open Problem > General.

Version information

Added in v7.8.0