2 include_once("../../globals.php");
3 include_once("../../../custom/code_types.inc.php");
7 <?php
html_header_show();?
>
9 <link rel
=stylesheet href
="<?echo $css_header;?>" type
="text/css">
10 <script type
="text/javascript" src
="../../../library/js/jquery.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?") ) {
26 window
.location
.reload(true);
32 <script language
="JavaScript">
33 <!-- hide from JavaScript
-challenged browsers
36 popupWin
= window
.open('dbc_aschoose.php', 'remote', 'width=800,height=700,scrollbars');
40 popupWin
= window
.open('dbc_close.php', 'remote', 'width=960,height=630,left=200,top=100,scrollbars');
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">
51 <body
class="body_bottom">
55 if ( LANGUAGE
== 5 ) $pres = "prescriptiondutch";
56 else $pres = "prescription";
60 <dt
><span href
="coding.php" class="title"><?php
xl('Coding','e'); ?
></span
></dt
>
63 if ( !$GLOBALS['dutchpc'] ) { ?
>
65 <dd
><a
class="text" href
="superbill_codes.php"
66 target
="<?php echo $GLOBALS['concurrent_layout'] ? '_parent' : 'Main'; ?>"
67 onclick
="top.restoreSession()">
68 <?php
xl('Superbill','e'); ?
></a
></dd
>
70 <?php
foreach ($code_types as $key => $value) { ?
>
71 <dd
><a
class="text" href
="search_code.php?type=<?php echo $key ?>"
72 target
="Codes" onclick
="top.restoreSession()">
73 <?php
echo $key; ?
> <?php
xl('Search','e'); ?
></a
></dd
>
76 <dd
><a
class="text" href
="copay.php" target
="Codes" onclick
="top.restoreSession()"><?php
xl('Copay','e'); ?
></a
></dd
>
77 <dd
><a
class="text" href
="other.php" target
="Codes" onclick
="top.restoreSession()"><?php
xl('Other','e'); ?
></a
></dd
><br
/>
80 // implement DBC Dutch System
82 if ( !$_SESSION['newdbc'] ||
!isset($_SESSION['newdbc']) ) {
83 $_SESSION['posas'] = 1; // we need these to automatically select first radiobutton in dbc choose
86 $_SESSION['newdbc'] = TRUE;
87 $_SESSION['show_axid'] = FALSE;
89 if ( $_SESSION['save'] ) { // prevent erasing session vars at refresh
90 // reset session variables
91 for ( $i = 1 ; $i <= 5 ; $i++
) {
93 if ( isset($_SESSION[$varr]) ) {
94 unset($_SESSION[$varr]);
98 $_SESSION['save'] = TRUE;
99 $_SESSION['newdbc'] = FALSE;
102 // display the required links, function of ZTN situation
108 <dt
><span href
="coding.php" class="title"><?php
xl('Prescriptions','e'); ?
></span
></dt
>
109 <dd
><a
class="text" href
="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo $pres?>&list&id=<?php echo $pid?>"
110 target
="Codes" onclick
="top.restoreSession()"><?php
xl('List Prescriptions','e'); ?
></a
></dd
>
111 <dd
><a
class="text" href
="<?php echo $GLOBALS['webroot']?>/controller.php?<?php echo $pres?>&edit&id=&pid=<?php echo $pid?>"
112 target
="Codes" onclick
="top.restoreSession()"><?php
xl('Add Prescription','e'); ?
></a
></dd
>