Highway to PSR2
[openemr.git] / interface / patient_file / encounter / coding.php
blobf0426e344aabb2c9d1b52f84919bde3c2e4d4008
1 <?php
2 include_once("../../globals.php");
3 include_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']; ?>/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 xl('Coding', 'e'); ?></span></dt>
61 <dd><a class="text" href="superbill_codes.php"
62 target="_parent"
63 onclick="top.restoreSession()">
64 <?php xl('Superbill', 'e'); ?></a></dd>
66 <?php foreach ($code_types as $key => $value) { ?>
67 <dd><a class="text" href="search_code.php?type=<?php echo $key ?>"
68 target="Codes" onclick="top.restoreSession()">
69 <?php echo $key; ?> <?php xl('Search', 'e'); ?></a></dd>
70 <?php } ?>
72 <dd><a class="text" href="copay.php" target="Codes" onclick="top.restoreSession()"><?php xl('Copay', 'e'); ?></a></dd>
73 <dd><a class="text" href="other.php" target="Codes" onclick="top.restoreSession()"><?php xl('Other', 'e'); ?></a></dd><br />
75 <?php if (!$GLOBALS['disable_prescriptions']) { ?>
76 <dt><span href="coding.php" class="title"><?php xl('Prescriptions', 'e'); ?></span></dt>
77 <dd><a class="text" href="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo $pres?>&list&id=<?php echo $pid?>"
78 target="Codes" onclick="top.restoreSession()"><?php xl('List Prescriptions', 'e'); ?></a></dd>
79 <dd><a class="text" href="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo $pres?>&edit&id=&pid=<?php echo $pid?>"
80 target="Codes" onclick="top.restoreSession()"><?php xl('Add Prescription', 'e'); ?></a></dd>
81 <?php }; // if (!$GLOBALS['disable_prescriptions']) ?>
82 </dl>
84 </body>
85 </html>