Bug fix for provider Insurance Numbers
[openemr.git] / library / ajax / rule_setting.php
blob72b663d6d03355157fc28ea7fc53073614367c3e
1 <?php
2 // Copyright (C) 2011 Brady Miller <brady@sparmy.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 //
10 // This file contains functions that manage custom user
11 // settings
14 //SANITIZE ALL ESCAPES
15 $sanitize_all_escapes=true;
18 //STOP FAKE REGISTER GLOBALS
19 $fake_register_globals=false;
22 require_once(dirname(__FILE__) . "/../../interface/globals.php");
23 require_once(dirname(__FILE__) . "/../clinical_rules.php");
25 //set the rule setting for patient (ensure all variables exist)
26 if ($_POST['rule'] && $_POST['type'] && $_POST['setting'] && $_POST['patient_id']) {
27 set_rule_activity_patient($_POST['rule'], $_POST['type'], $_POST['setting'], $_POST['patient_id']);