Privacy role (formerly known as 'compound' role) selected for the patient's problem and used to define privacy against functions.
object.Role
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientProblem interface |
Display the codes, descriptions and privacy 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.Role is nothing then
aMessage = aMessage & " " & "Code: " & aProblem.DxCode &_
"; Description: " & aProblem.DxDescription & vbNewLine
else
aMessage = aMessage & " " &_
"Code: " & aProblem.DxCode & "; Description: " & aProblem.DxDescription &_
" (Role = " & aProblem.Role.RoleName & ")" & vbNewLine
end if
next
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Role can be found in
, in or in .