ISProblemList.Categories

Description

The categories the patient problems are linked to.

Syntax

object.Categories

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

Return Value

ISProblemCategories

Example

Display the codes, descriptions and statuses of the patient's problems in each category.

Dim aPatient
Dim aProblemList
Dim aCategories, aCategory
Dim aProblems, 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
    aMessage = aMessage & "    " &_ 
      "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
      " (Status = " & aProblem.Status & ")" & vbNewLine  
  next
next 

Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Problem Categories can be found in Clinical > Medical Record > Problems, in Clinical > Clinical Details > Problems or in Patient > Cases > Clinical > Problems, Pregnancy Category can be found in Clinical > Medical Record > Obstetric, in Clinical > Clinical Details > Obstetric History or in Patient > Cases > Clinical > Obstetric.

Version information

Added in v7.8.0