ISFamilyProblem.Status

Description

The patient's status for the family problem.

Null 0
Alive 1
Deceased 2

Syntax

object.Status

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

Return Value

int

Example

Display some information about the family problems loaded on the basis of the selected filter including the patient's statuses.

sub main()

  Dim aPatient
  Dim aFilter  
  Dim aFamilyProblems, aFamilyProblem
  Dim aMessage
  Dim i

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

  aMessage = "Family Problems Count: "  & aFamilyProblems.Count & vbNewLine &_
    "#" & vbTab & "Age" & vbTab & "Date" & vbTab & vbTab & "Dx Description" &_
    vbTab & "Status" & vbTab & "Status As String" 

  for i = 0 to aFamilyProblems.Count - 1 
    set aFamilyProblem = aFamilyProblems.Items(i)
    aMessage = aMessage & vbNewLine & (i + 1) & vbTab &_
      aFamilyProblem.Age & vbTab &_
      aFamilyProblem.Date & vbTab & aFamilyProblem.DxDescription & vbTab &_
      vbTab & aFamilyProblem.Status & vbTab & aFamilyProblem.StatusAsString  
  next 

  Profile.MsgBox(aMessage)
end sub   
Note:

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

Version information

Added in v7.8.0