supporting data peculiar to ippf issue types
[openemr.git] / interface / patient_file / encounter / dbc_diagnose_as4.php
blob462e7f358c26ee1cfcc89e0a1864e78e6be0cbad
1 <?php include_once("../../../interface/globals.php");?>
3 <html><head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <script type="text/javascript" src="../../../library/js/jquery.js"></script>
8 <script type="text/javascript">
9 function win() {
10 window.opener.location.reload(true);
11 self.close();
13 </script>
15 <?php
16 if ( isset($_POST['saveas']) ) {
17 // only one level records for as = 4
18 $as = $_POST['box1'];
19 $_SESSION['as4'] = $as;
23 </head>
25 <body onunload="win();" bgcolor="#A4FF8B">
26 <p>Choose your AS IV diagnose</p>
28 <form method="post" target="_self">
29 <table border=0 cellspacing=0 cellpadding=0 >
30 <tr>
31 <td width='1%' nowrap>
32 <select name="box1" id="box1">
33 <?php
34 $rlvone = records_level1('as4');
35 foreach ($rlvone as $rlv) {
36 echo '<option value=\'' .$rlv['cl_diagnose_code']. '\'>' .substr($rlv['cl_diagnose_element'], 0, 70). '</option>';
37 } ?>
38 </select>
39 </td></tr>
40 </table>
41 <input type="submit" value="Choose" name="saveas"/>
42 <input type="button" value="Close" onclick="window.close();" />
43 </form>
46 </body>
47 </html>