ISPatientProblemLoadParams.DescriptionLoadKind

Description

This parameter property is used to determine search mode for loading patient problems by problem description.

Syntax

object.DescriptionLoadKind

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

Return Value

TSStringFieldLoadKind

Example

Display the number of the patient problems loaded on the basis of the selected parameter, their codes, descriptions and the full names of the patients who have the loaded problems.

Dim aParams
Dim aProblems
Dim aProblem
Dim aMessage

Set aParams = Profile.MakePatientProblemLoadParams
aParams.Description = "Asthma" 
aParams.DescriptionLoadKind = 4 'sflkContains
set aProblems = Profile.LoadPatientProblems(aParams)

aMessage = "Problems Count = " & aProblems.Count & vbNewLine
for i = 0 to aProblems.Count - 1
  set aProblem = aProblems.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " &_ 
    aProblem.Patient.SurnameFirstName & " suffers or suffered from " &_ 
    aProblem.DxCode & " (Description: " & aProblem.DxDescription & ")" 
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 Description can be found in Clinical > Medical Record > Problems > Open Problem > General > Description field, in Clinical > Clinical Details > Problems > Open Problem > General > Description field or in Patient > Cases > Clinical > Problems > Open Problem > General > Description field.

Version information

Added in v7.8.0