ISPatient.Tasks

Description

Reminders about actions or activities with the patient, that need to be completed in the future.

Syntax

object.Tasks

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
Restriction: This property is readonly.

Return Value

ISTasksSet

Example

Display description and due date of due tasks for the patient.

Dim aPatient  
Dim aTasks
Dim aTask
Dim aMessage

Set aPatient = Profile.SelectPatient 
set aTasks = aPatient.Tasks
aMessage = "Tasks Count = " & aTasks.Due.Count

for i = 0 to aTasks.Due.Count - 1
  set aTask = aPatient.Tasks.Due.Item(i)
  aMessage = aMessage & vbNewLine
  aMessage = aMessage & " " & aTask.Description & ", " & aTask.DueDate
next 
Profile.MsgBox(aMessage)   
Note:

In Profile Client v8 on User Interface Tasks can be found in Clinical > Medical Record > Tasks.

Version information

Added in v7.8.0