setting version, preparing ubuntu packages and prepping links for release
[openemr.git] / interface / forms / CAMOS / report.php
blob798ecbbc72da8a4235709b4e574b559872bbfccd
1 <?php
2 //------------report.php
3 include_once("../../globals.php");
4 include_once("../../../library/api.inc");
5 include_once("content_parser.php");
6 function CAMOS_report( $pid, $encounter, $cols, $id) {
7 $data = formFetch("form_CAMOS", $id);
8 if ($data) {
9 //echo "(category) ".stripslashes($data['category'])." | ";
10 //echo "(subcategory) ".stripslashes($data['subcategory'])." | ";
11 //echo "(item) ".stripslashes($data['item']);
12 echo "<div class='navigateLink'><a href='" . $GLOBALS['webroot'] .
13 "/interface/forms/CAMOS/rx_print.php?sigline=embossed' target=_new>" . xl('Rx') . "</a>\n";
14 echo " | ";
15 echo "<a href='" . $GLOBALS['webroot'] .
16 "/interface/forms/CAMOS/rx_print.php?sigline=signed' target=_new>" . xl('Signed Rx') . "</a>\n";
17 echo "<br>";
18 echo "<a href='" . $GLOBALS['webroot'] .
19 "/interface/forms/CAMOS/rx_print.php?letterhead=true&signer=patient' target=_new>" . xl('Letterhead that patient signs') . "</a>\n";
20 echo " | ";
21 echo "<a href='" . $GLOBALS['webroot'] .
22 "/interface/forms/CAMOS/rx_print.php?letterhead=true&signer=doctor' target=_new>" . xl('Letterhead that doctor signs') . "</a>\n";
23 echo "<br>";
24 echo "<a href='" . $GLOBALS['webroot'] .
25 "/interface/forms/CAMOS/notegen.php?pid=".$pid."&encounter=".$encounter."' target=_new>" . xl('Print This Encounter') . "</a>\n";
26 echo " | ";
27 echo "<a href='" . $GLOBALS['webroot'] .
28 "/interface/forms/CAMOS/notegen.php' target=_new>" . xl('Print Any Encounter') . "</a></div>\n";
29 // echo "<pre>".wordwrap(stripslashes(content_parser($data['content'])))."</pre><hr>\n";
30 echo "<pre>".wordwrap(stripslashes(replace($pid,$encounter,$data['content'])))."</pre><hr>\n";
33 ?>