ISPatientProblemLoadParams.LoadState

Description

This parameter property is used to load the collection of patient problems by the selected problem status (state).

Syntax

object.LoadState

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

Return Value

TSPatientProblemLoadState

Example

Display the number of the patient problems loaded on the basis of the selected parameter, their codes, descriptions and statuses.

Dim aParams
Dim aProblems, aProblem
Dim aMessage

Set aParams = Profile.MakePatientProblemLoadParams
aParams.LoadState = 1 'pplsActive
set aProblems = Profile.LoadPatientProblems(aParams)

aMessage = "Problems Count = " & aProblems.Count
for i = 0 to aProblems.Count - 1
  set aProblem = aProblems.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & "Code: " & aProblem.DxCode &_
    " (Description: " & aProblem.DxDescription & "), Status: " & aProblem.Status
next      

Profile.MsgBox(aMessage)  
Note: If no other problem types are specified, only problems of 'Diagnosis' type will be loaded on the basis of the selected parameter.

In Profile Client v8 on User Interface State can be found in Clinical > Medical Record > Problems > Open Problem > General > Status field, in Clinical > Clinical Details > Problems > Open Problem > General > Status field or in Patient > Cases > Clinical > Problems > Open Problem > General > Status field.

Version information

Added in v7.8.0