ISPatientProblem.DXId

Description

ID of the disease code that is linked to the patient's problem.

Syntax

object.DXId

Part Attribute Type Description
object Required
The object always implements the ISPatientProblem interface
Restriction: This property is readonly.

Return Value

int

Example

Display the codes, descriptions and IDs of the disease codes that are linked to 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
  aMessage = aMessage & "    " &_ 
    "Code: " & aProblem.DxCode & " (" & aProblem.DXId & "); Description: " &_ 
    aProblem.DxDescription & vbNewLine     
  next
next 

Profile.MsgBox(aMessage)  
Note:

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

Version information

Added in v7.8.0