3 * This file contains functions that manage custom user
7 * @link https://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2011-2018 Brady Miller <brady.g.miller@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 require_once(dirname(__FILE__
) . "/../../interface/globals.php");
15 require_once(dirname(__FILE__
) . "/../clinical_rules.php");
17 if (!verifyCsrfToken($_POST["csrf_token_form"])) {
21 //set the rule setting for patient (ensure all variables exist)
22 if ($_POST['plan'] && $_POST['type'] && $_POST['setting'] && $_POST['patient_id']) {
23 set_plan_activity_patient($_POST['plan'], $_POST['type'], $_POST['setting'], $_POST['patient_id']);