Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDR module to add per patient gui for plan:
At patient summary screen for edit button of clinical reminders widget. Can set per patient plans off/on/default in Admin tab. These settings are used to create the plans output in the Plans tab of this same script.
- Loading branch information
1 parent
bd8e23a
commit 816cf8b
Showing
3 changed files
with
145 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
// Copyright (C) 2011 Brady Miller <brady@sparmy.com> | ||
// | ||
// This program is free software; you can redistribute it and/or | ||
// modify it under the terms of the GNU General Public License | ||
// as published by the Free Software Foundation; either version 2 | ||
// of the License, or (at your option) any later version. | ||
// | ||
// | ||
// This file contains functions that manage custom user | ||
// settings | ||
// | ||
|
||
//SANITIZE ALL ESCAPES | ||
$sanitize_all_escapes=true; | ||
// | ||
|
||
//STOP FAKE REGISTER GLOBALS | ||
$fake_register_globals=false; | ||
// | ||
|
||
require_once(dirname(__FILE__) . "/../../interface/globals.php"); | ||
require_once(dirname(__FILE__) . "/../clinical_rules.php"); | ||
|
||
//set the rule setting for patient (ensure all variables exist) | ||
if ($_POST['plan'] && $_POST['type'] && $_POST['setting'] && $_POST['patient_id']) { | ||
set_plan_activity_patient($_POST['plan'], $_POST['type'], $_POST['setting'], $_POST['patient_id']); | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters