ISPatientProblem.LocationConcept

Description

The concept of the patient's problem location.

Syntax

object.LocationConcept

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

Return Value

ISConcept

Example

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

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 
      if aProblem.LocationConcept is nothing then 
        aMessage = aMessage & "    " &_ 
          "Code: " & aProblem.DxCode & "; Description: " &_ 
          aProblem.DxDescription & vbNewLine
      else
        aMessage = aMessage & "    " &_ 
          "Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_ 
          " (Location = " & aProblem.LocationConcept.Name & ")" & vbNewLine
      end if 
    end if    
  next
next 

Profile.MsgBox(aMessage)  
Note: The Location field only appears for the patient's problems of 'Diagnosis' or 'Procedures' types.

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

Version information

Added in v7.8.0