ISPatientProblem.PartitionId

Description

ID of the partition the patient's problem has been created in.

Syntax

object.PartitionId

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 of the patient's problems in each category and IDs of the partitions these problems have been created in.

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 & "; Description: " & aProblem.DxDescription &_ 
      "; Partition ID: " & aProblem.PartitionId & vbNewLine  
  next
next 

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Partition Id cannot be found.

Version information

Added in v7.8.0