Hi
I would like to automatically create a task when certain events occur such as when a patient record has certain values.
Is there a function I can call or is it done directly by inserting a new row to the task table?
Can you share some sample code for creating a task, allocating it to a staff member and setting a reminder and due date?
thanks
Sean