ISPatientProblem.IndicationId

Description

ID of the disease code that indicates what the procedure is for.

Syntax

object.IndicationId

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

Return Value

int

Example

Display the codes, descriptions and indications for the patient's problems of 'Procedures' type.

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
    aMessage = aMessage & "    " & "Code: " & aProblem.DxCode &_ 
      "; Description: " & aProblem.DxDescription
    if aProblem.IndicationId = 0 then
      aMessage = aMessage & "; No Indication " & vbNewLine
    else  
      aMessage = aMessage & "; Indication: " &_ 
        Profile.LoadDiseaseById(aProblem.IndicationId).Description & vbNewLine
    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 Indication Id cannot be found, but Indication can be found in Clinical > Medical Record > Problems > Open Problem > General > Indication field, in Clinical > Clinical Details > Problems > Open Problem > General > Indication field or in Patient > Cases > Clinical > Problems > Open Problem > General > Indication field.

Version information

Added in v7.8.0