3 // +-----------------------------------------------------------------------------+
4 // Copyright (C) 2015 Z&H Consultancy Services Private Limited <sam@zhservices.com>
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
19 // A copy of the GNU General Public License is included along with this program:
20 // openemr/interface/login/GnuGPL.html
21 // For more information write to the Free Software
22 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 // Author: Jacob Paul <jacob@zhservices.com>
26 // +------------------------------------------------------------------------------+
28 include_once(dirname(__FILE__
).'/../../globals.php');
29 include_once($GLOBALS["srcdir"]."/api.inc");
30 function clinical_instructions_report($pid, $encounter, $cols, $id)
33 $data = formFetch("form_clinical_instructions", $id);
36 <table style
='border-collapse:collapse;border-spacing:0;width: 100%;'>
38 <td align
='center' style
='border:1px solid #ccc;padding:4px;'><span
class=bold
><?php
echo xlt('Instructions'); ?
></span
></td
>
41 <td style
='border:1px solid #ccc;padding:4px;'><span
class=text
><?php
echo nl2br(text($data['instruction'])); ?
></span
></td
>