Fixed php short tags
[openemr.git] / contrib / forms / ippf_srh / report.php
blob71b6b74796f3830749125d7154b5424ae7ba11df
1 <?php
2 // Copyright (C) 2009 Rod Roark <rod@sunsetsystems.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.
9 include_once("../../globals.php");
10 include_once($GLOBALS["srcdir"] . "/api.inc");
12 // This function is invoked from printPatientForms in report.inc
13 // when viewing a "comprehensive patient report". Also from
14 // interface/patient_file/encounter/forms.php.
16 function ippf_srh_report($pid, $encounter, $cols, $id) {
17 require_once($GLOBALS["srcdir"] . "/options.inc.php");
18 echo "<table>\n";
19 display_layout_rows('SRH', sqlQuery("SELECT * FROM form_ippf_srh WHERE id = '$id'"));
20 echo "</table>\n";