change eligibility batch from ssn to policy number, minor fix to filename with extra...
[openemr.git] / library / ajax / plan_setting.php
blobbcec7a74d1540d5988a4615daab3534069f8ee79
1 <?php
2 // Copyright (C) 2011 Brady Miller <brady.g.miller@gmail.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
16 require_once(dirname(__FILE__) . "/../../interface/globals.php");
17 require_once(dirname(__FILE__) . "/../clinical_rules.php");
19 //set the rule setting for patient (ensure all variables exist)
20 if ($_POST['plan'] && $_POST['type'] && $_POST['setting'] && $_POST['patient_id']) {
21 set_plan_activity_patient($_POST['plan'], $_POST['type'], $_POST['setting'], $_POST['patient_id']);