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