The privacy role associated with the patient's intervention.
object.Role
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
Display the privacy role associated with the patient's intervention.
sub main()
Dim aPatient, aRecallPlans, aMessage
set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
for each aPlan in aRecallPlans
aMessage = aMessage & GetVisitCollectionInfo(aPlan.Visits)
next
Profile.MsgBox(aMessage)
end sub
function GetVisitCollectionInfo(aVisits)
for each aVisit in aVisits
set aRole = aVisit.Role
if aRole is nothing then
info = info & vbNewLine & " For the intervention '" & aVisit.Description &_
"' - There are no roles!"
else
info = info & vbNewLine & "The privacy role for the intervention '" &_
aVisit.Description & "' is " & aRole.RoleName
end if
next
GetVisitCollectionInfo = info & vbNewLine
end function
In Profile Client v8 on User Interface Role can be found in
.