3 // Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 //------------Forms generated from formsWiz
9 require_once("../../globals.php");
10 require_once($GLOBALS["srcdir"] . "/api.inc.php");
11 function nursing_notes_report($pid, $encounter, $cols, $id)
14 $data = formFetch("form_nursing_notes", $id);
17 foreach ($data as $key => $value) {
19 $key == "id" ||
$key == "pid" ||
$key == "user" ||
20 $key == "groupname" ||
$key == "authorized" ||
$key == "activity" ||
21 $key == "date" ||
$value == "" ||
$value == "0000-00-00 00:00:00"
30 $key = ucwords(str_replace("_", " ", $key));
31 print "<td><span class=bold>" . text($key) . ": </span><span class=text>" . text($value) . "</span></td>";
33 if ($count == $cols) {
40 print "</tr></table>";