Another fix to upgrade clickoptions in windows
[openemr.git] / contrib / forms / activity_impact / report.php
blobb68b5f26a983cf8d87e58d78b1472ca35942d476
1 <?php
2 // Copyright (C) 2009 Aron Racho <aron@mi-squared.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 //------------Forms generated from formsWiz
8 include_once("../../globals.php");
9 include_once($GLOBALS["srcdir"] . "/api.inc");
10 function activity_impact_report( $pid, $encounter, $cols, $id) {
11 $count = 0;
12 $cols = 2;
13 $data = formFetch("form_activity_impact", $id);
14 $width = 100/$cols;
15 if ($data) {
16 $value = $data['activity_impact'];
17 $value = str_replace( "\n", "<br/>", $value );
18 print "$value";