ISFamilyProblems.Items

Description

Each of the patient's family problems within the collection.

Syntax

object.Items(aIndex)

Part Attribute Type Description
object Required
The object always implements the ISFamilyProblems interface
aIndex In, Required
int
The index of the family problem
Restriction: This property is readonly.

Return Value

ISFamilyProblem

Example

Display each of the patient's family problems within the collection and their Dx Description.

Dim aPatient
Dim aFilter
Dim aFamilyProblems, aFamilyProblem
Dim aMessage

Set aPatient = Profile.SelectPatient
set aFilter = Profile.CreateFamilyProblemFilter
aFilter.PatientID = aPatient.ID
set aFamilyProblems = aFilter.Load

aMessage = "Family Problems Count: "  & aFamilyProblems.Count

for i = 0 to aFamilyProblems.Count - 1 
  set aFamilyProblem = aFamilyProblems.Items(i)
  aMessage = aMessage & vbNewLine & aFamilyProblem.DxDescription
next 

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Family Problems can be found in Clinical > Clinical Details > Family > Social History.

Version information

Added in v8.4.0