The external provider for the patient's intervention.
object.ExtProvider
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
Display the full name of the external provider for 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 aExtProvider = aVisit.ExtProvider
if aExtProvider is nothing then
info = info & vbNewLine & " For the intervention '" & aVisit.Description &_
"' - There is no external provider!"
else
info = info & vbNewLine & "The external provider for the intervention '" &_
aVisit.Description & "' is " & aExtProvider.FullName
end if
next
GetVisitCollectionInfo = info & vbNewLine
end function
In Profile Client v8 on User Interface External Provider can be found in
.