3 * This simply shows the Clinical Reminder Widget
6 * @link http://www.open-emr.org
7 * @author Brady Miller <brady.g.miller@gmail.com>
8 * @copyright Copyright (c) 2010-2018 Brady Miller <brady.g.miller@gmail.com>
9 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 require_once(dirname(__FILE__
) . "/../../globals.php");
14 require_once("$srcdir/reminders.php");
16 use OpenEMR\Common\Csrf\CsrfUtils
;
18 if (!CsrfUtils
::verifyCsrfToken($_POST["csrf_token_form"])) {
19 CsrfUtils
::csrfNotVerified();
22 //To improve performance and not freeze the session when running this
23 // report, turn off session writing. Note that php session variables
24 // can not be modified after the line below. So, if need to do any php
25 // session work in the future, then will need to remove this line.
26 session_write_close();
28 patient_reminder_widget($pid);