ID of the provider assisting the surgeon during the surgical procedure.
object.AssistantID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProcedure interface |
int
Display the number of the patient's surgical procedures within the collection, their descriptions, dates, start time and the full names of the assistants assigned to them.
Dim aPatient
Dim aProcedureList, aProcedure
Dim i
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProcedureList = aPatient.ProcedureList
aMessage = "Procedures Count = " & aProcedureList.Count & vbNewLine
for i = 0 to aProcedureList.Count - 1
set aProcedure = aProcedureList.Item(i)
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
aProcedure.ProcedureExplanation & " (scheduled date and time: " &_
aProcedure.StartTime & ")" & vbNewLine
if aProcedure.AssistantID <> 0 then
aMessage = aMessage & " -Assistant: " &_
Profile.LoadProviderById(aProcedure.AssistantID).FullName
else
aMessage = aMessage & " -Assistant: not selected" & vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Assistant ID cannot be found, but Assistant can be found in
.