The Reminders API
From OpenEMR Project Wiki
Using the Reminders API
The Reminders API is a series of functions for handling simple messages attached to a 'due date'. These may be sent to onesself, or to other users in OpenEMR.
Access Controls
The Reminders API requires no priviledge levels in OpenEMR. Anyone who can login can use the interface to message anyone else.
Functions Available
GetDueReminderCount
This function is used to get a count of the number of reminders due for a specified user.
Arguments
- $days_to_show: the number of days back for which to return results.
- $today: today's date, EG: the output of strtotime(date('Y/m/d')).
- $userID: an optional user. defaults to the current logged in user.
Returns
returns a count of the reminders due.