The entity in the external system associated with the patient's intervention.
object.ExternalEntity
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISPatientRecallVisit interface |
Display the Globally Unique Identifier of the entity in the external system.
sub main()
Dim aPatient, aRecallVisits, aMessage
set aPatient = Profile.SelectPatient
set aRecallPlans = aPatient.RecallPlans
aMessage = aMessage & GetPlanCollectionInfo(aRecallPlans)
Profile.MsgBox(aMessage)
end sub
function GetPlanCollectionInfo(aRecallPlans)
for each aPlan in aRecallPlans
info = aPlan.Description & vbNewLine
set aVisits = aPlan.Visits
for each aVisit in aVisits
info = info & " - " & aVisit.Description & vbNewLine
set aEntity = aVisit.ExternalEntity
if aEntity is nothing then
info = info & "There is no external entity" & vbNewLine
else
info = info & "The external entity has GUID = " & aEntity.GUID
end if
next
next
GetPlanCollectionInfo = info
end function
In Profile Client v8 on User Interface External Entity cannot be found.