2 // Copyright (C) 2006 Rod Roark <rod@sunsetsystems.com>
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");
13 // Call this to get the URL for form submission.
14 function coding_form_action() {
15 return $GLOBALS['rootdir'] . "/patient_file/encounter/coding_popup.php";
18 // Call this to generate JavaScript that will close the window.
20 function terminate_coding() {
22 echo "<script language='JavaScript'>\n";
23 if ($info_msg) echo " alert('$info_msg');\n";
24 echo " window.close();\n";
25 echo " if (opener.refreshme) opener.refreshme();\n";
26 echo "</script></body></html>\n";
32 <?php
html_header_show();?
>
34 <link rel
="stylesheet" href
='<?php echo $css_header ?>' type
='text/css'>
35 <script language
='JavaScript'>
42 <body
class="body_top">
44 // This has all the interesting stuff.
45 include_once("$srcdir/coding.inc.php");