ISPatientProblem.Emphasis

Description

The significance level of the patient's problem.

Syntax

object.Emphasis

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

Return Value

TSProblemEmphasis

Example

Display the codes, descriptions and significance levels of the patient's problems in each category.

sub main()
  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 &_ 
          " (Emphasis = " & GetEmphasisDescr(aProblem.Emphasis) & ")" & vbNewLine
      end if  
    next
  next 

  Profile.MsgBox(aMessage)
end sub 

function GetEmphasisDescr(ByVal aEmphasis)
  Dim aResult

  Select Case aEmphasis
    Case 0
      aResult = "Low"
    Case 1
      aResult = "Medium"
    Case 2
      aResult = "High"       
  End Select
  
  GetEmphasisDescr = aResult
end function   
Note:

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

Version information

Added in v8.2.0