2 include_once("../globals.php");
3 include_once("$srcdir/acl.inc");
5 $ie_auth = ((acl_check('encounters', 'notes') == 'write' ||
6 acl_check('encounters', 'notes_a') == 'write') &&
7 acl_check('patients', 'med') == 'write');
11 <?php
html_header_show();?
>
12 <title
><?php
xl('Navigation','e'); ?
></title
>
13 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
14 <script type
="text/javascript" src
="../../library/dialog.js"></script
>
15 <script language
="JavaScript">
16 // This is invoked to pop up some window when a popup item is selected.
17 function selpopup(selobj
) {
18 var i
= selobj
.selectedIndex
;
19 var opt
= selobj
.options
[i
];
23 if (opt
.text
== 'Export' || opt
.text
== 'Import') {
27 else if (opt
.text
== 'Refer') {
31 dlgopen(opt
.value
, '_blank', width
, height
);
33 selobj
.selectedIndex
= 0;
38 <body
class="body_nav">
40 <div id
="nav_topmenu">
42 <table border
="0" cellspacing
="0" cellpadding
="0" width
="100%" height
="100%">
44 <td align
="center" valign
="middle">
45 <a href
="javascript:top.restoreSession();parent.Title.location.href='<?php echo $rootdir;?>/patient_file/summary/summary_title.php';parent.Main.location.href='<?php echo $rootdir;?>/patient_file/summary/patient_summary.php'" target
="Main" class="menu"><?php
xl('Summary','e'); ?
></a
>
47 <td align
="center" valign
="middle">
48 <a href
="javascript:top.restoreSession();parent.Title.location.href='<?php echo $rootdir;?>/patient_file/history/history_title.php';parent.Main.location.href='<?php echo $rootdir;?>/patient_file/history/patient_history.php'" target
="Main" class="menu"><?php
xl('History','e'); ?
></a
>
50 <td align
="center" valign
="middle">
51 <a href
="javascript:top.restoreSession();parent.Title.location.href='<?php echo $rootdir;?>/patient_file/encounter/encounter_title.php';parent.Main.location.href='<?php echo $rootdir;?>/patient_file/encounter/patient_encounter.php?mode=new'" target
="Main" class="menu"><?php
xl('Encounter','e'); ?
></a
>
53 <td align
="center" valign
="middle">
54 <a href
="javascript:top.restoreSession();parent.Title.location.href='<?php echo $rootdir;?>/patient_file/transaction/transaction_title.php';parent.Main.location.href='<?php echo $rootdir;?>/patient_file/transaction/patient_transaction.php'" target
="Main" class="menu"><?php
xl('Transaction','e'); ?
></a
>
56 <td align
="center" valign
="middle">
57 <a href
="<?php echo $GLOBALS['web_root'];?>/controller.php?document&list&patient_id=<?=$pid?>"
58 target
="Main" class="menu" onclick
="top.restoreSession()"><?php
xl('Documents','e'); ?
></a
>
60 <td align
="center" valign
="middle">
61 <a href
="javascript:top.restoreSession();parent.Title.location.href='<?php echo $rootdir;?>/patient_file/report/report_title.php';parent.Main.location.href='<?php echo $rootdir;?>/patient_file/report/patient_report.php'" target
="Main" class="menu"><?php
xl('Report','e'); ?
></a
>
63 <td align
="center" align
="right" valign
="middle">
64 <a href
="../main/main_screen.php" target
="_top" class="logout" onclick
="top.restoreSession()"><?php
xl('Close','e'); ?
></a
> 
; 
;
66 <td align
="right" valign
="middle">
67 <select onchange
='selpopup(this)' style
='background-color:transparent'>
68 <option value
=''><?php
xl('Popups','e'); ?
></option
>
69 <?php
if ($ie_auth) { ?
>
70 <option value
='problem_encounter.php'><?php
xl('Issues','e'); ?
></option
>
72 <option value
='../../custom/export_xml.php'><?php
xl('Export','e'); ?
></option
>
73 <option value
='../../custom/import_xml.php'><?php
xl('Import','e'); ?
></option
>
74 <?php
if ($GLOBALS['athletic_team']) { ?
>
75 <option value
='../reports/players_report.php'><?php
xl('Roster','e'); ?
></option
>
77 <option value
='../reports/appointments_report.php?patient=<?php echo $pid ?>'><?php
xl('Appts','e'); ?
></option
>
78 <?php
if (file_exists("$webserver_root/custom/refer.php")) { ?
>
79 <option value
='../../custom/refer.php'><?php
xl('Refer','e'); ?
></option
>
81 <?php
if (file_exists("$webserver_root/custom/fee_sheet_codes.php")) { ?
>
82 <option value
='printed_fee_sheet.php'><?php
xl('Superbill','e'); ?
></option
>
84 <?php
if ($GLOBALS['inhouse_pharmacy']) { ?
>
85 <option value
='front_payment.php'><?php
xl('Prepay','e'); ?
></option
>
86 <option value
='pos_checkout.php'><?php
xl('Checkout','e'); ?
></option
>
88 <option value
='front_payment.php'><?php
xl('Payment','e'); ?
></option
>
90 <option value
='letter.php'><?php
xl('Letter','e'); ?
></option
>