4 * Review of Systems Checks form
7 * @link http://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 require_once(dirname(__FILE__
) . '/../../globals.php');
14 require_once($GLOBALS["srcdir"] . "/api.inc.php");
16 function reviewofs_report($pid, $encounter, $cols, $id)
19 $data = formFetch("form_reviewofs", $id);
22 foreach ($data as $key => $value) {
23 if ($key == "id" ||
$key == "pid" ||
$key == "user" ||
$key == "groupname" ||
$key == "authorized" ||
$key == "activity" ||
$key == "date" ||
$value == "" ||
$value == "0000-00-00 00:00:00") {
31 $key = ucwords(str_replace("_", " ", $key));
33 //modified by BM 07-2009 for internationalization
34 if ($key == "Additional Notes") {
35 print "<td><span class=bold>" . xlt($key) . ": </span><span class=text>" . text($value) . "</span></td>";
37 print "<td><span class=bold>" . xlt($key) . ": </span><span class=text>" . xlt($value) . "</span></td>";
41 if ($count == $cols) {
48 print "</tr></table>";