ISPatientProblem.ApproximateIndicationDateText

Description

The approximate date when the issue that the patient's procedure is addressing started.

Syntax

object.ApproximateIndicationDateText

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

Return Value

string

Example

Display the codes, descriptions, indications for the patient's problems of 'Procedures' type and the exact or approximate dates when the issues that the procedures are addressing started.

Dim aPatient
Dim aProblemList
Dim aCategory
Dim aProblems
Dim aProblem
Dim aMessage

Set aPatient = Profile.SelectPatient

set aProblemList = aPatient.ProblemList
set aCategory = aProblemList.Categories.Item(2) 'Procedures  
aMessage = aMessage & vbNewLine &_ 
  "---------" & aCategory.Description & "---------"  & vbNewLine & vbNewLine 
set aProblems = aCategory.Problems
if aProblems.Count = 0 then 
  aMessage = aMessage & "No procedures"
else
  for each aProblem in aProblems
    if aProblem.IndicationId = 0 then
      aMessage = aMessage & "    " & "Code: " & aProblem.DxCode &_ 
        "; Description: " & aProblem.DxDescription & "; No Indication " & vbNewLine
    else  
      if aProblem.IsIndicationDateApproximate then
        aMessage = aMessage & "    " &_ 
          "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
          "; Indication: " & aProblem.IndicationDescription &_ 
          " (approximately from " & aProblem.ApproximateIndicationDateText &_ 
          ")" & vbNewLine  
      else  
        aMessage = aMessage & "    " &_ 
          "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
          "; Indication: " & aProblem.IndicationDescription & " (" &_ 
          aProblem.IndicationDate & ")" & vbNewLine
      end if
    end if      
  next 
end if
Profile.MsgBox(aMessage)   
Note: This property is only used for the patient's problems of 'Procedures' type.

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

Version information

Added in v7.8.0