The patient's surgical procedure, loaded from the collection by its ID.
object.ItemByID(aId)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProcedureList interface |
|
aId |
In, Required | int |
ID of the procedure, that should be
loaded |
Display the description, date, start time and ID of the patient's surgical procedure, loaded from the collection by its ID.
Dim aPatient
Dim aProcedureList
Dim aId
Dim aProcedure
Dim aMessage
Set aPatient = Profile.SelectPatient
set aProcedureList = aPatient.ProcedureList
if aProcedureList.Count = 0 then
aMessage = "No procedures"
else
aId = aProcedureList.Item(0).ID
set aProcedure = aProcedureList.ItemByID(aId)
aMessage = aMessage & vbNewLine & "Procedure Explanation is '" &_
aProcedure.ProcedureExplanation & "; ID: " & aProcedure.ID &_
"; Scheduled date and time: " & aProcedure.StartTime
end if
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Procedure ID cannot be found, but Procedure List can be found in
.