ID of PPPU.
object.PPPUId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISApprovalForm interface |
int
Display some information about the opened approval form, including PPPU.
Dim aPatientId
Dim aForm
Dim aMessage
Dim aPPPU
aPatientId = Profile.SelectPatient.Id
set aForm = Profile.GetApprovalForm(0, aPatientId)
if aForm is nothing then
Profile.MsgBox("Approval Form is not opened")
exit sub
end if
if aForm.PPPUId <> 0 then
set aPPPU = Profile.LoadProviderById(aForm.PPPUId)
aMessage = aMessage & vbNewLine & "Provider: " & aPPPU.FullName
else
aMessage = aMessage & vbNewLine & "Provider is not assigned"
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface PPPU ID cannot be found, but PPPU Form can be found in
or in .