minor changes to prior commit
[openemr.git] / interface / patient_file / encounter / coding.php
blobd8cd6b3e20bd5a158fb3867c87452f27f4b7a3a3
1 <?php
2 require_once("../../globals.php");
3 require_once("../../../custom/code_types.inc.php");
4 ?>
5 <html>
6 <head>
7 <?php html_header_show();?>
9 <link rel=stylesheet href="<?php echo $css_header;?>" type="text/css">
10 <script type="text/javascript" src="<?php echo $GLOBALS['assets_static_relative']; ?>/manual-added-packages/jquery-min-1-2-2/index.js"></script>
12 <!-- DBC STUFF ================ -->
14 <script type="text/javascript">
15 $(document).ready(function(){
17 $('#closeztn').bind('click', function(){
18 if ( confirm("Do you really want to close the ZTN?") ) {
19 $.ajax({
20 type: 'POST',
21 url: 'as.php',
22 data: 'cztn=1',
23 async: false
24 });
26 window.location.reload(true);
27 });
29 });
30 </script>
32 <script language="JavaScript">
33 <!-- hide from JavaScript-challenged browsers
35 function selas() {
36 popupWin = window.open('dbc_aschoose.php', 'remote', 'width=800,height=700,scrollbars');
39 function selcl() {
40 popupWin = window.open('dbc_close.php', 'remote', 'width=960,height=630,left=200,top=100,scrollbars');
43 function selfl() {
44 popupWin = window.open('dbc_showfollowup.php', 'remote', 'width=500,height=270,left=200,top=100,scrollbars');
46 // done hiding --></script>
49 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
50 </head>
51 <body class="body_bottom">
54 <?php
55 $pres = "prescription";
58 <dl>
59 <dt><span href="coding.php" class="title"><?php echo xlt('Coding'); ?></span></dt>
61 <dd><a class="text" href="superbill_codes.php"
62 target="_parent"
63 onclick="top.restoreSession()">
64 <?php echo xlt('Superbill'); ?></a></dd>
66 <?php foreach ($code_types as $key => $value) { ?>
67 <dd><a class="text" href="search_code.php?type=<?php echo attr(urlencode($key)); ?>"
68 target="Codes" onclick="top.restoreSession()">
69 <?php echo $key; ?> <?php echo xlt('Search'); ?></a></dd>
70 <?php } ?>
72 <dd><a class="text" href="copay.php" target="Codes" onclick="top.restoreSession()"><?php echo xlt('Copay'); ?></a></dd>
73 <dd><a class="text" href="other.php" target="Codes" onclick="top.restoreSession()"><?php echo xlt('Other'); ?></a></dd><br />
75 <?php if (!$GLOBALS['disable_prescriptions']) { ?>
76 <dt><span href="coding.php" class="title"><?php echo xlt('Prescriptions'); ?></span></dt>
77 <dd><a class="text" href="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo attr(urlencode($pres)); ?>&list&id=<?php echo attr(urlencode($pid)); ?>"
78 target="Codes" onclick="top.restoreSession()"><?php echo xlt('List Prescriptions'); ?></a></dd>
79 <dd><a class="text" href="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo attr(urlencode($pres)); ?>&edit&id=&pid=<?php echo attr(urlencode($pid)); ?>"
80 target="Codes" onclick="top.restoreSession()"><?php echo xlt('Add Prescription'); ?></a></dd>
81 <?php }; // if (!$GLOBALS['disable_prescriptions']) ?>
82 </dl>
84 </body>
85 </html>