ISPatientProblem.IsApproximateToDate

Description

This property is True if the exact date starting from which the patient no longer has the problem is unknown.

Syntax

object.IsApproximateToDate

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

Return Value

bool

Example

Display the codes, descriptions of the patient's problems in each category and the approximate dates starting from which the patient no longer has these problems if the exact dates are unknown.

Dim aPatient
Dim aProblemList
Dim aCategories
Dim aCategory
Dim aProblems
Dim 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
    if aProblem.ProblemType = 6 then  'ptPregnancy 
      aMessage = aMessage & "    " &_ 
        "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
        vbNewLine
    else
      aMessage = aMessage & "    " &_ 
        "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription
      if aProblem.IsApproximateToDate then
        aMessage = aMessage & " (approximately to " &_ 
          aProblem.ApproximateToDateText & ")" & vbNewLine  
      else  
        aMessage = aMessage & vbNewLine
      end if
    end if    
  next
next 

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface the Approx checkbox can be checked in Clinical > Medical Record > Problems > Open Problem > General, in Clinical > Clinical Details > Problems > Open Problem > General or in Patient > Cases > Clinical > Problems > Open Problem > General.

Version information

Added in v7.8.0