ISProblemCategory.Problems

Description

Problems associated with the selected patient.

Syntax

object.Problems

Part Attribute Type Description
object Required
The object always implements the ISProblemCategory interface
Restriction: This property is readonly.

Return Value

ISProblemList

Example

Display the number of the problems associated with the selected patient, their descriptions and statuses.

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 & aCategory.Description &_ 
    " (ID = " & aCategory.Id & ")" & vbNewLine  
  set aProblems = aCategory.Problems
  aMessage = aMessage & "Problems Count = " & aProblems.Count & vbNewLine
  for each aProblem in aProblems
    aMessage = aMessage & "    " &_ 
      aProblem.DxDescription & " (Status = " & aProblem.Status & ")" & vbNewLine 
  next
next 

Profile.MsgBox(aMessage)
Note:

In Profile Client v8 on User Interface Problems can be found in Clinical > Problems or Clinical > Medical Record > Problems.

Version information

Added in v7.8.0